[Rd] .Rprofile not executed completely in 2.5.0

From: Petr Pikal <petr.pikal_at_precheza.cz>
Date: Mon 18 Dec 2006 - 15:13:22 GMT


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@precheza.cz



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Dec 19 05:22:32 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 Mon 18 Dec 2006 - 19:32:20 GMT.

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