Good afternoon!
I am a system administrator at the university and I am responsible for setting up the images for the computer lab. R is part of the default image, and for the longest time we had only one login for all laboratory users, which allowed us to set the default directory once and then display it on several systems. This has changed, and now we have all users logged in with a personalized login. This leads me to a problem that I ran into R and why I am contacting you.
As you can see, most of you know when R starts for the first time, a dialog box appears asking for a location to save packages, etc. Hit "OK", and this is the user file, but hit something else, and where you put it. The problem is that we locked the systems rather tightly, and access to anything other than a separate user directory is not something we like.
The question I have is this: is there a way to force R when I first run it through a hands-free script, or just set the default value for the user directory on the system to store packages? This would prevent me from giving all users read and write access to the R directory, and it would have less ability to screw in, since they would actually have no choice to change it. If I need to continue granting permissions in this folder, I can, but I would prefer not to.
Thanks!
source share