404 Package Documentation

Hello, I am unable to view package documentation when clicking on a package name in the package pane in Rstudio. When I click on the package name such as dplyr I get the following error.

image

What is the version of RStudio that you are using? Is this RStudio desktop or server? Which operating system?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

I am using Rstudio Server Open Source. Operating System is Ubuntu 18.04. I am using the latest Rstudio Server: rstudio-server-1.3.959-amd64.deb. I am using R Version 3.6.3.

> version
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          3                           
minor          6.3                         
year           2020                        
month          02                          
day            29                          
svn rev        77875                       
language       R                           
version.string R version 3.6.3 (2020-02-29)
nickname       Holding the Windsock   

Looks like the issue was when I added a new version of R to try to have multiple versions on open source rstudio server. I need to reset the LIB_PATH to the correct path.

That sounds slightly unusual to me. Can you expand a little more on what you are doing?

I think all you need to do to point to a different version of R is to set the rsession-which-r configuration setting (see the support article).

I would usually also recommend to have a separate library location for every version of R, so it shouldn't be necessary to modify the library location.

Andrie, it is a little unusual. Unfortunately we cannot utilize different versions of R in the open source version of Rstudio. I will check the support article and let you know if I am able to fix my error. It looks as if it is not able to find the package libraries that are necessary and have the HTML files, hence the 404 Not Found Error.

I was able to fix the issue. The main problem is that 1.) Unable to have multiple versions of R in the open source rstudio server. 2.) When an additional version of R is installed it creates a conflict for the R version and where the package looks for the help files from the package pane in Rstudio Server (Open Source). 3.) Hopefully this becomes an option to do for future releases of Open Source Rstudio Server.

The solution: Uninstall R the r-base-core and rstudio-server and reinstall both and the packages help files will then be reachable.

Thank you for the help Andrie!!!!!

References: https://stackoverflow.com/questions/24118558/complete-remove-and-reinstall-r-including-all-packages