Dear all I installed new version (from binaries) and I noticed that par(bg="white") which I have in my .Rprofile causes error message on startup But if I issued this command immediately after startup everything worked as expected. I did not see any note in changes file or elsewhere. Should I specify white background in .Rprofile differently? Or is there some other recommended way to set up white background on startup? Everything was OK in 1.8.1 version. Using W2000. Startup example R : Copyright 2004, The R Foundation for Statistical Computing Version 1.9.0 (2004-04-12), ISBN 3-900051-00-3 <snip> Attaching package 'fun': The following object(s) are masked from package:base : interaction Error: couldn't find function "par" [Previously saved workspace restored]> par("bg")[1] "transparent"> par(bg="white") > par("bg")[1] "white">my .Rprofile library(fun) par(bg="white") RNGkind("Mersenne-Twister", "Inversion") data(stand) Thank you Best regards. Petr Pikal petr.pikal at precheza.cz
Hi, it's in the release notes from Peter:>Users may notice that code in .Rprofile is run with only the >new base loaded and so functions may now not be found. For >example, ps.options(horizontal = TRUE) should be preceded by >library(graphics) or called as graphics::ps.options or, >better, set as a hook -- see ?setHook.detlef On Tue, 13 Apr 2004 13:39:20 +0200 "Petr Pikal" <petr.pikal at precheza.cz> wrote:> Dear all > > I installed new version (from binaries) and I noticed that > > par(bg="white") > > which I have in my .Rprofile causes error message on startup > But if I issued this command immediately after startup everything worked as > expected. I did not see any note in changes file or elsewhere.-- Detlef Steuer --- http://fawn.unibw-hamburg.de/steuer.html ***** Encrypted mail preferred ***** "Die herrschenden Ideen sind die Ideen der Herrschenden." --- K. Marx