[R-SIG-Mac] Use of .FIrst() in R.app

Jonsen, Ian JonsenI at mar.dfo-mpo.gc.ca
Fri Oct 17 16:34:19 CEST 2008


Hi,

I am having problems using .First() with R.app (v 2.7.2 under OS X 10.5.5);
.First appears to be ignored on startup. I would expect .First to be
executes as it resides in .RData. .First() does work in the command-line
version of R under Mac OS X but my specific task requires R.app. I can find
no reference to this issue in the Mac OS X FAQ or in other manuals, does
anyone have a solution for this?

B. Ripley suggested that .First may not exist or does not work in R.app, but
this is not the case as typing .First() in R.app produces the expected
result. 

Thanks,

-- 
Ian Jonsen

Research Scientist
Population Ecology Division
Bedford Institute of Oceanography
Fisheries and Oceans Canada
Box 1006, 1 Challenger Drive
Dartmouth, NS B2Y 4A2 CANADA

1.902.426.9760
jonseni at dfo-mpo.gc.ca
http://www.mathstat.dal.ca/~jonsen



More information about the R-SIG-Mac mailing list