Re: [Rd] environment question

2014-05-17 Thread Mick Jordan
On 5/17/14, 9:02 PM, Simon Urbanek wrote: Thanks, those were exactly the kind of answers that I wanted. More importantly that's not the value forever - note that later there is .GlobalEnv <- globalenv() in base/R/Rprofile which is loaded *after* base/R/*.R which is the value you see when you

Re: [Rd] environment question

2014-05-17 Thread Simon Urbanek
On May 17, 2014, at 7:26 PM, Mick Jordan wrote: > On 5/17/14, 4:00 PM, peter dalgaard wrote: >> On 17 May 2014, at 19:42 , Mick Jordan wrote: >> >>> According to >>> :https://stat.ethz.ch/R-manual/R-devel/library/base/html/environment.html >>> >>> "If |fun| is a function or a formula then |env

Re: [Rd] environment question

2014-05-17 Thread Mick Jordan
On 5/17/14, 4:00 PM, peter dalgaard wrote: On 17 May 2014, at 19:42 , Mick Jordan wrote: According to :https://stat.ethz.ch/R-manual/R-devel/library/base/html/environment.html "If |fun| is a function or a formula then |environment(fun)| returns the environment associated with that function or

Re: [Rd] environment question

2014-05-17 Thread peter dalgaard
On 17 May 2014, at 19:42 , Mick Jordan wrote: > According to > :https://stat.ethz.ch/R-manual/R-devel/library/base/html/environment.html > > "If |fun| is a function or a formula then |environment(fun)| returns the > environment associated with that function or formula. If |fun| is |NULL| > t

[Rd] environment question

2014-05-17 Thread Mick Jordan
According to :https://stat.ethz.ch/R-manual/R-devel/library/base/html/environment.html "If |fun| is a function or a formula then |environment(fun)| returns the environment associated with that function or formula. If |fun| is |NULL| then the current evaluation environment is returned." > envi

Re: [Rd] SEXPTYPEs

2014-05-17 Thread Adrian Dușa
On Fri, May 16, 2014 at 2:15 PM, Prof Brian Ripley wrote: > On 16/05/2014 11:06, Duncan Murdoch wrote: > >> [...] >>> >>> I've looked at all SEXPTYPEs in the R internals, and the only one >>> specific >>> to integer vectors is INTSXP. Can this be used for vectors of length >>> larger >>> than 32-b