Well, not exactly. package.skeleton() is very useful as a first step, but it does *not* create a package entirely. It turns out that in Windows, creating a package is very simple once you have downloaded all programs needed (e.g., perl) and you have your path configured exaclty, (exactly, exactly) as described in the document found at the link below.
After running package.skeleton, you must still run Rcmd build, Rcmd check, and Rcmd install. http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Benilton Carvalho > Sent: Wednesday, February 06, 2008 2:33 AM > To: [EMAIL PROTECTED] > Cc: r-help@r-project.org > Subject: Re: [R] How to form a simple R package > > ?package.skeleton > > b > > On Feb 5, 2008, at 1:48 PM, [EMAIL PROTECTED] wrote: > > > Is there a function to form in one step (configure files > and install) > > a simple R package of consisting of one script file of R functions? > > > > For example in Windows: > > > > form.package(name="mypkg", rcodefile ="c:\misc\mypkg.r" ) > > > > Thank you for any comments. > > Giles > > ______________________________________________ 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.