Skip to content
Prev 44982 / 398528 Next

load data for mypkg-Ex.R

On Fri, 27 Feb 2004, Jason Sinnwell wrote:

            
No.  In fact, it is specifically disallowed.
I wouldn't think it was big enough to worry seriously about
You could define a function

if (is.R())
  setupData<-data
else
  setupData<-function(...) invisible(NULL)

and then use setupData() instead of data(), or you could look at what MASS
does using delay() to autoload data as needed.


	-thomas