On Thu, 14 Oct 2004, Patrick Burns wrote:
> That is equivalent to the first spot in the search list, which is
> specified by pos=1 or where=1 in various functions.
> Patrick Burns
I don't think so. It closer to the session frame, since R does not have
such a frame and the global environment in R is per-session. So, frame=0
seems what is likely to be meant here, but there must be code elsewhere
to create such an object.
Use the session frame for variables just for this session.
Use where=1 for things to be `permanent', that is shared between sessions.
> Urs Wagner wrote:
>
> > S PLUS 62 on WinXP
> >
> > In R there is an environment variable .GlobalEnv. I cannot recognize
> > what this is in S PLUS.
> > Concret I have an code line
> > if (exists(".testLogger", envir = .GlobalEnv)
> > how shall I port this line?
Using ?.GlobalEnv in R would have told you what it was.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
|