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

Re: [Rd] environment question

2010-12-27 Thread Duncan Murdoch
On 10-12-26 4:30 PM, Paul Johnson wrote: > Hello, everybody. > > I'm putting together some lecture notes and course exercises on R > programming. My plan is to pick some R packages, ask students to read > through code and see why things work, maybe make some changes. As I > look for examples, I'

Re: [Rd] environment question

2010-12-26 Thread peter dalgaard
On Dec 26, 2010, at 22:30 , Paul Johnson wrote: > Hello, everybody. > > I'm putting together some lecture notes and course exercises on R > programming. My plan is to pick some R packages, ask students to read > through code and see why things work, maybe make some changes. As I > look for exa