[R] update of a function

Duncan Murdoch murdoch.duncan at gmail.com
Sun Apr 18 21:48:44 CEST 2010


On Sun, Apr 18, 2010 at 3:40 PM, carol white <wht_crl at 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.duncan at gmail.com> wrote:
>
>> From: Duncan Murdoch <murdoch.duncan at gmail.com>
>> Subject: Re: [R] update of a function
>> To: "carol white" <wht_crl at yahoo.com>
>> Cc: r-help at stat.math.ethz.ch, murdoch at stats.uwo.ca
>> Date: Sunday, April 18, 2010, 12:22 PM
>> On Sun, Apr 18, 2010 at 2:53 PM,
>> carol white <wht_crl at 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
>>
>
>
>
>
>



More information about the R-help mailing list