Re: [R] Hidden variables

2011-02-02 Thread Greg Snow
r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Joel > Sent: Tuesday, February 01, 2011 7:28 AM > To: r-help@r-project.org > Subject: [R] Hidden variables > > > Hi Im trying to make a package in R just to learn how it works. > > One th

[R] Hidden variables

2011-02-01 Thread Joel
Hi Im trying to make a package in R just to learn how it works. One thing I dont manage to do is to make a hidden environment or variable so to say. I want a "hash list" that I create my useing: TestEnv<-new.env() assign("Key1","Ans1",envir=TestEnv) assign("Key2","Ans2",envir=TestEnv) Then I j