[R] access data inside package

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Jan 20 22:16:23 CET 2008


hits=-2.6 tests=BAYES_00
X-USF-Spam-Flag: NO


First call

   data("d")

then everything is fine already - except that codetools are moaning 
around. Those codetools can be calmed down by the line we had already:

   d <- get("d", pos=globalenv())

Uwe Ligges



Dan Kelley wrote:
> Yes, data() works, but then I have this warning from "R CMD check" on my
> package, so I think I should not be doing it that way.
> 
> 
> 
> Benilton Carvalho wrote:
>> have you tried
>> data()
>> instead?
>> b
>>
>>
>>
>



More information about the R-help mailing list