[R] dotFirst option

From: Ferry <fmi.mlist_at_gmail.com>
Date: Wed, 30 Jul 2008 16:19:42 -0700


Hi,

I want to plot something the R opens. I created .First as follow:

.First <- function() {

      plot(rnorm(100))
      # do other stuff

}

But instead, I got error like below:

Error in .First() : could not find function "plot"

Any idea?

Thanks.

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 30 Jul 2008 - 23:22:58 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 31 Jul 2008 - 00:33:00 GMT.

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

list of date sections of archive