You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Situation: Vanilla Windows 7, vanilla R (crucially: that has had no additional packages installed on it), fresh install of D7R1. Try to Run an MRDS analysis, which causes Distance to try to install packages.
The problem here is that R cannot write to the Program Files directory. When installing packages in R Windows interactively, at this point, the install.packages function asks the user if they wish to create a library folder in their own local directory -- but when not running interactively it just stops with an error. A workaround is simply to open R in Windows and try to install any package from CRAN using the R GUI menu Packages | Install packages; pick any package and then you get the prompt to create the local library directory. But clearly this is not a good longterm solution. Working out what's best to do is a bit tricky, and will require some thought to come up with a watertight solution. For some starting info, see the R Windows faq item "4.2 I don’t have permission to write to the R-3.3.0\library directory" and also the R help for install.packages.
The text was updated successfully, but these errors were encountered:
Happy with the idea of getting more material online and less associated with software distribution. Could readily make ReadMe into markdown, but not likely before this release.
Situation: Vanilla Windows 7, vanilla R (crucially: that has had no additional packages installed on it), fresh install of D7R1. Try to Run an MRDS analysis, which causes Distance to try to install packages.
Issue: error
The problem here is that R cannot write to the Program Files directory. When installing packages in R Windows interactively, at this point, the install.packages function asks the user if they wish to create a library folder in their own local directory -- but when not running interactively it just stops with an error. A workaround is simply to open R in Windows and try to install any package from CRAN using the R GUI menu Packages | Install packages; pick any package and then you get the prompt to create the local library directory. But clearly this is not a good longterm solution. Working out what's best to do is a bit tricky, and will require some thought to come up with a watertight solution. For some starting info, see the R Windows faq item "4.2 I don’t have permission to write to the R-3.3.0\library directory" and also the R help for install.packages.
The text was updated successfully, but these errors were encountered: