Site icon R-bloggers

R Recipe: RStudio and UNC Paths

[This article was first published on Exegetic Analytics » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

RStudio does not like Uniform Naming Convention (UNC) paths. This can be a problem if, for example, you install it under Citrix. The solution is to create a suitable environment file. This is what worked for me: I created an .Renviron file in my Documents folder on the Citrix remote drive. The file had the following contents:

R_LIBS_USER="H:/myCitrixFiles/Documents/R/win-library/3.1"
R_USER="H:/myCitrixFiles/Documents"

Simple. After that, the flurry of error and warning messages at startup disappeared and I was able install packages without any problems.

The post R Recipe: RStudio and UNC Paths appeared first on Exegetic Analytics.

To leave a comment for the author, please follow the link and comment on their blog: Exegetic Analytics » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.