Esteemed UseRs and DevelopeRs,

Apologies if this question belongs else where, but it does concern R's package installation/maintenance.

How does one start R within Emacs/ESS with root privileges?

I tried without success:

> M-x sudo R

Why i'm motivated to do so:

It seems logical to me, as the only user of the PC, to keep my R library consolidated in the universal library rather than splitting into universal and user libraries. Hence the desire to run R as root.

In addition, it's nice to be able to install packages 'on the fly' when and as needed and not need to launch a separate R session (as root) in the terminal just to install a package.

Migrating from windows, i'm completey new to linux (ubuntu) and am seeing for myself if Emacs/ESS is as good as its purported to be. So maybe my motivation is nonsensical to expereinced ESS/R users. If so i'd really appreciate tips on efficient package installation/maintenance using Emacs/ESS.

TIA,

karl

--
Karl Brand <k.br...@erasmusmc.nl>
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3455 | F +31 (0)10 704 4743 | M +31 (0)642 777 268

______________________________________________
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.

Reply via email to