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 > > > > 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 created before you have a finished package. > package.skeleton() could make you lose those changes. > > Duncan Murdoch > > P.S. I'm having email problems at my regular murd...@stats.uwo.ca address, so > may be slow replying to messages sent there. > ______________________________________________ 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.