Skip to content
Prev 101 / 885 Next

installing Rcmdr

Prasenjit Kapat <kapatp at gmail.com> writes:
I think the primary safety provided by granting only root access to
/usr/local/lib/R/site-library is that it prevents random users from
installing R packages. This is important if multiple users are depending
on the correct libraries being properly installed, but I think it's a
non-issue on single-user laptops. I don't think the security of my
system is any less than if I was installing my packages to ~/mylibs/,
which is what I do on my university's cluster. 

In either case, an attack would require someone compromised my machine,
(or the R repositories) and the impact would be limited to the installed
R libraries (and everything else in ~/, of course, but that's the same
either way). Which makes it even more important not to run R as root.

I would welcome any corrections!
On my Debian machine, it's:

drwxrwsr-x 3 root staff   4096 2007-12-01 23:32 R

Cheers,

Tyler