On Sun, Apr 18, 2010 at 3:40 PM, carol white <wht_...@yahoo.com> wrote:
> text format only.

You just copy those into the data subdirectory, assuming you're using
one of the formats listed in the "Data in packages" section of Writing
R Extensions, and have named it as described there.

Duncan Murdoch

>
> --- On Sun, 4/18/10, Duncan Murdoch <murdoch.dun...@gmail.com> wrote:
>
>> From: Duncan Murdoch <murdoch.dun...@gmail.com>
>> Subject: Re: [R] update of a function
>> To: "carol white" <wht_...@yahoo.com>
>> Cc: r-h...@stat.math.ethz.ch, murd...@stats.uwo.ca
>> Date: Sunday, April 18, 2010, 12:22 PM
>> On Sun, Apr 18, 2010 at 2:53 PM,
>> carol white <wht_...@yahoo.com>
>> wrote:
>> >
>> > Don't you use package.skeleton to add functions or
>> data to an existing package? Othewise, what is the safer
>> way?
>>
>> You can use prompt() to create the outline of the
>> documentation page.
>> I would just copy the file containing a function's source
>> into the R
>> directory of the package.
>>
>> Data is a little more complicated, because there are lots
>> of different
>> possible formats for it.  What format is your data
>> originally?
>>
>> Duncan Murdoch
>>
>
>
>
>
>

______________________________________________
R-help@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.

Reply via email to