Skip to content
Prev 12459 / 63461 Next

trellis.device in .First (PR#6812)

1) On the first point, please do read the NEWS file for R 1.9.0.

.Rprofile and .First have always been run before the default packages are 
loaded in .First.sys, to allow them to be changed.

So this *is* a documented change in behaviour, not a bug.  If I do

.First <- function() {library(lattice); trellis.device()}

This happens on all platforms.  You need

.First <- function() {library(graphics); library(lattice); trellis.device()}

That is true of starting any graphics device in .Rprofile or .First.


2) The second point is a long known problem with ESS/Emacs on some 
systems.  There is a PR against it already (I saw a few days ago).  Please 
don't add irrelevant issues to a bug report on another issue.

BDR
On Fri, 23 Apr 2004 rmh@temple.edu wrote: