Dear listers, Moving from R 1.9.1 to R 2.0.0 today, it happens that the "traditional" .RProfile (located in my home directory: C:\Documents and Settings\Giraudoux) is not read at startup with R 2.0. Any suggestion? Patrick Giraudoux
On Sat, 6 Nov 2004, Patrick Giraudoux wrote:> Moving from R 1.9.1 to R 2.0.0 today, it happens that the "traditional" > .RProfile (located in my home directory: C:\Documents and > Settings\Giraudoux) is not read at startup with R 2.0. > > Any suggestion?Do read the CHANGES file! Probably that is a result of Changed search order for user home directory to use "My Documents" directory after HOME and before HOMEDRIVE/HOMEPATH. To be sure, read the rw-FAQ (as the posting guide asks) Q2.12 and check the advice there. -- 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
Consider setting the environment variable R_USER="c:\Documents and Settings\Giraudoux" MHP At 08:55 AM 11/06/2004, you wrote:>Dear listers, > >Moving from R 1.9.1 to R 2.0.0 today, it happens that the "traditional" >.RProfile (located in my home directory: C:\Documents and >Settings\Giraudoux) is not read at startup with R 2.0. > >Any suggestion? > >Patrick Giraudoux-- Michael Prager, Ph.D. <Mike.Prager at noaa.gov> NOAA Beaufort Laboratory Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/ ***
Thanks for the hint. Having got through the "CHANGES" file as advised by Pr Ripley (I unfortunately checked first the "NEWS" file and forgot that one..) I found it may be more simple (to me) to put the .RProfile file into the "my documents" directory. It works fine now. Setting environment variables is probably easy when one knows exactly which file to manage with and where it is... which is not the case to me yet (even after having read carefully the rw-FAQ 2.13). All the best, Patrick A 09:39 06/11/2004 -0500, vous avez ??crit :>Consider setting the environment variable R_USER="c:\Documents and >Settings\Giraudoux" > >MHP > >At 08:55 AM 11/06/2004, you wrote: >>Dear listers, >> >>Moving from R 1.9.1 to R 2.0.0 today, it happens that the "traditional" >>.RProfile (located in my home directory: C:\Documents and >>Settings\Giraudoux) is not read at startup with R 2.0. >> >>Any suggestion? >> >>Patrick Giraudoux > > >-- >Michael Prager, Ph.D. <Mike.Prager at noaa.gov> >NOAA Beaufort Laboratory >Beaufort, North Carolina 28516 >http://shrimp.ccfhrb.noaa.gov/~mprager/ >***