Re: [R] .Rprofile under Windoze.

From: Petr Pikal <petr.pikal_at_precheza.cz>
Date: Thu 31 Aug 2006 - 17:26:23 EST

Hi

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?

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

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@stats.ox.ac.uk>
To:             	Petr Pikal <petr.pikal@precheza.cz>
Copies to:      	r-help@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@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@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@precheza.cz



R-help@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. Received on Thu Aug 31 17:29:53 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 31 Aug 2006 - 18:23:54 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.