On 11-Mar-10 19:19:26, Janko Thyson wrote: > [...] > First of, I'm still confused about Ubuntu's "sudo" way of doing things. > Not knowing how to authorize me as "root" when installing packages from > a R-script, I can't write on "/usr/local/lib/R/site-library" or > "/usr/lib/R/site-library".
On this particular point: If, logged in as a user (whatever user you are), you enter the command into a terminal window: su - and then enter the root password when prompted, you will be logged in as root -- fair and square, and no nonsense. You will also be placed in root's home directory as well (not that of the user you previously were). Thereafter, you can do whatever you are used to doing as root. However, becoming root in the above way limits you to root access solely from the terminal window that you used for "su -" (though you could do the same in more than one terminal). All other windows, and the desktop itself, remain under the influence of the original user. The only way to take over an entire session as root would be to shut down the session (choosing "Restart"), and then log in as root at the initial login window for the new session. Then you would have to shut that down too when you wanted to resume normal life! Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <ted.hard...@manchester.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 11-Mar-10 Time: 19:42:46 ------------------------------ XFMail ------------------------------ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.