[Rd] .Rprofile not executed completely in 2.5.0
Petr Pikal
petr.pikal at precheza.cz
Mon Dec 18 16:13:22 CET 2006
Dear all
I do not usually post to R-devel, but I started to test R-2.5.0dev
and encountered strange difference from 2.4.0 when loading Rgui under
WXP. Both R builds are from CRAN executables and part of .Rprofile
file is not executed in R-2.5.0.
Here is my .Rprofile file contents
---------------------------
options(chmhelp=TRUE)
require(graphics)
require(utils)
RNGkind("Mersenne-Twister", "Inversion")
par(bg="white") # this is not evaluated
library(fun) # this is not evaluated
data(stand) # this is not evaluated
---------------------------------
Here you can see output from console.
R version 2.4.0 Under development (unstable) (2006-08-02 r38773)
Copyright (C) 2006 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
<snip>
Loading required package: graphics
Loading required package: grDevices
[1] TRUE
Loading required package: utils
[1] TRUE
Attaching package: 'fun'
The following object(s) are masked from package:grDevices :
hcl
The following object(s) are masked from package:base :
interaction
so everything goes OK.
but
R version 2.5.0 Under development (unstable) (2006-12-16 r40209)
Copyright (C) 2006 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
<snip>
Loading required package: graphics
[1] TRUE
Loading required package: utils
[1] TRUE
Error: could not find function "windows"
[Previously saved workspace restored]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When I now issue par(bg="white") or library(fun) after R starts it is
loaded OK.
Is there anything I am doing wrong? I did not found anything in
recent R-devel archives about different startup behaviour of R2.5.0.
Best regards
Petr PikalPetr Pikal
petr.pikal at precheza.cz
More information about the R-devel
mailing list