Help with Rstudio in Anaconda Navigator
1
0
Entering edit mode
4.1 years ago
V ▴ 410

Hello,

I was wondering if someone could help me with an issue im having running R studio through anaconda-navigator (in ubuntu).

I've installed RStudio (in anaconda) and everything is working great. When updating packages through the anaconda-navigator environment panel (which should automatically update Rstudio), this doesnt happen.

I realised that the location Anaconda-navigator is saving the R-packages it downloads is not the same as from where RStudio is reading packages from. Long question short, would anyone know how do I change the directory RStudio is reading packages from (permanently), or the reverse, where is anaconda-navigator (for the current environment) saving the R-packages?

Thank you :)

anaconda RStudio Ubuntu • 2.9k views
ADD COMMENT
0
Entering edit mode

Maybe install R packages from rstudio won't have such problem.

ADD REPLY
0
Entering edit mode

It's easier (for me) to keep things organised using a navigator but thanks for sharing your opinion.

ADD REPLY
0
Entering edit mode
4.1 years ago
V ▴ 410

Ok, I've solved it. I'm posting the response here in case anyone runs into similar issues. I changed the directory using the below in Rstudio:

.libPaths("location of new directory")
ADD COMMENT

Login before adding your answer.

Traffic: 1911 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6