Re: [R] access data inside package

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Sun, 20 Jan 2008 22:16:23 +0100

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
>>
>>
>>
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 20 Jan 2008 - 21:23:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 20 Jan 2008 - 22:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive