Re: [R] update of a function

2010-04-18 Thread Duncan Murdoch
On Sun, Apr 18, 2010 at 2:53 PM, carol white 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 sour

Re: [R] update of a function

2010-04-18 Thread Duncan Murdoch
Murdoch >> Subject: Re: [R] update of a function >> To: "carol white" >> Cc: r-h...@stat.math.ethz.ch, murd...@stats.uwo.ca >> Date: Sunday, April 18, 2010, 12:48 PM >> On Sun, Apr 18, 2010 at 3:40 PM, >> carol white >> wrote: >> &

Re: [R] update of a function

2010-04-18 Thread carol white
But shouldn't they be with rda extension like other data sets in data folder? --- On Sun, 4/18/10, Duncan Murdoch wrote: > From: Duncan Murdoch > Subject: Re: [R] update of a function > To: "carol white" > Cc: r-h...@stat.math.ethz.ch, murd...@stats.uwo.ca > Da

Re: [R] update of a function

2010-04-18 Thread Duncan Murdoch
ch > > --- On Sun, 4/18/10, Duncan Murdoch wrote: > >> From: Duncan Murdoch >> Subject: Re: [R] update of a function >> To: "carol white" >> Cc: r-h...@stat.math.ethz.ch, murd...@stats.uwo.ca >> Date: Sunday, April 18, 2010, 12:22 PM >> O

Re: [R] update of a function

2010-04-18 Thread carol white
text format only. --- On Sun, 4/18/10, Duncan Murdoch wrote: > From: Duncan Murdoch > Subject: Re: [R] update of a function > To: "carol white" > Cc: r-h...@stat.math.ethz.ch, murd...@stats.uwo.ca > Date: Sunday, April 18, 2010, 12:22 PM > On Sun, Apr 18, 20

Re: [R] update of a function

2010-04-18 Thread carol white
Don't you use package.skeleton to add functions or data to an existing package? Othewise, what is the safer way? You should never have to run package.skeleton more than once per package, and it could be harmful to do so, because you are expected to make changes to the skeleton after it is cr

Re: [R] update of a function

2010-04-18 Thread Duncan Murdoch
On 18/04/2010 7:52 AM, carol white wrote: > Hi, > I could finally create an R package. I was suprised to notice that when I want to update a function, even if it is updated in package_name/R/function.R and after build but it is not updated when the package is loaded. I see that the tar.gz file is u

Re: [R] update of a function

2010-04-18 Thread Uwe Ligges
On 18.04.2010 13:52, carol white wrote: Hi, I could finally create an R package. I was suprised to notice that when I want to update a function, even if it is updated in package_name/R/function.R and after build but it is not updated when the package is loaded. I see that the tar.gz file is

Re: [R] update of a function

2010-04-18 Thread Charles C. Berry
On Sun, 18 Apr 2010, carol white wrote: Hi, I could finally create an R package. I was suprised to notice that when I want to update a function, even if it is updated in package_name/R/function.R and after build but it is not updated when the package is loaded. I see that the tar.gz file is up

Re: [R] update of a function

2010-04-18 Thread carol white
Hi, I could finally create an R package. I was suprised to notice that when I want to update a function, even if it is updated in package_name/R/function.R and after build but it is not updated when the package is loaded. I see that the tar.gz file is updated but when I load the package, I get t