[R] access data inside package

Dan Kelley Dan.Kelley at dal.ca
Sun Jan 20 22:13:03 CET 2008


My "R CMD check" gives me

  fit.tide: no visible binding for global variable ‘tideconst’

when I do

   load(paste(system.file(package="oce"),"data/tidesetup.rda",sep="/"))
   ... try to use tideconst ...
where tidesetup.rda holds, among other things, a variable named "tideconst".

I guess I can see why -- there is nothing in the file name that tells which
variables are contained therein.

I'm sorry to be a bother on this.
-- 
View this message in context: http://www.nabble.com/access-data-inside-package-tp14565386p14986948.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list