[Rd] Problem with accessing internal variable in package.

2007-05-25 Thread Vladimir Eremeev
I am writing a package, which contains several functions and variables. The variables are for internal use by functions. Functions are ment to be callable by a user. However, the function cannot access these variables. The package contains only R code, and was created using package.skeleton pa

Re: [Rd] Problem with accessing internal variable in package.

2007-05-25 Thread Vladimir Eremeev
This is my first package, and clearly, I'm missing something. After reading again manuals about name spaces and hooks, I have defined the function .onLoad, which implicitly assigns all internal variables with <<- Then I have deleted previous package directory and changed the call to package.skele