[R] .Rprofile under Windoze.
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Aug 31 09:32:09 CEST 2006
On Thu, 31 Aug 2006, Petr Pikal wrote:
> Well I see your point, but let say I would like to load some of my
> functions, libraries I use, some dataset, and set the lattice theme
> to my preferred version.
> As I work on different problems and each problem has its separate
> directory I used to copy .Rprofile from one directory to another, but
> recently I find more convenient just to copy my Rprofile.site from
> one version of R to newly installed. Then I am sure I have always the
> same startup regardless of problem I am working on. Am I wrong? Is
> there some other recommended way?
I use a .Rprofile in home directory (only): works in all startup
directories and all versions of R (which matters to me as I am forever
rebuilding R from scratch).
> Although I do not have write permission to registry and to some of
> root directories, thank goodness (and Rcore development team :-), I
> am able to install R elsewhere and use it without some sophisticated
> Best regards
> Petr Pikal
> On 31 Aug 2006 at 7:50, Prof Brian Ripley wrote:
> Date sent: Thu, 31 Aug 2006 07:50:44 +0100 (BST)
> From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> To: Petr Pikal <petr.pikal at precheza.cz>
> Copies to: r-help at stat.math.ethz.ch
> Subject: Re: [R] .Rprofile under Windoze.
> > On Thu, 31 Aug 2006, Petr Pikal wrote:
> > > Hi
> > >
> > > or you can change
> > >
> > > Rprofile.site in etc directory to whatever startup commands you want
> > > to execute to have the same profile in all sessions.
> > Please see the warning about this in ?Startup: it is not the same
> > thing as putting .Rprofile in your home directory.
> > Also, many users will not have write permission on R_HOME/etc.
> > > On 30 Aug 2006 at 15:11, BBands wrote:
> > >
> > > > And... If you have/use shortcuts to R, you may also save an
> > > > ".Rprofile" to whatever directory you name in the "Start in:"
> > > > field of the shortcut. This allows one to have many profiles.
> > --
> > Brian D. Ripley, ripley at stats.ox.ac.uk
> > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
> > University of Oxford, Tel: +44 1865 272861 (self) 1 South
> > Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG,
> > UK Fax: +44 1865 272595
> > ______________________________________________
> > R-help at stat.math.ethz.ch 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.
> Petr Pikal
> petr.pikal at precheza.cz
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help