?package.skeleton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabor Grothendieck Sent: 01 June 2006 12:20 To: Rita Sousa Cc: [email protected] Subject: Re: [R] FW: How to create a new package?
The minimum is to create a DESCRIPTION file, plus R and man directories containing R code and .Rd files respectively. It might help to run Rcmd CHECK mypkg before installation and fix any problems it finds. Googling for creating R package will locate some tutorials. On 6/1/06, Rita Sousa <[EMAIL PROTECTED]> wrote: > Hi, > > > > I'm a group of functions and I would like to create a package for load in R. > I have created a directory named INE and a directory below that named > R, for the files of R functions. A have created the files DESCRIPTION > and INDEX in the INE directory. The installation from local zip files, > in the R 2.3.0, results but to load the package I get an error like: > > > > 'INE' is not a valid package -- installed < 2.0.0? > > > > I think that is necessary create a Meta directory with package.rds > file, but I don't know make it! I have read the manual 'Writing R Extensions > - 1. > Creating R packages' but I don't understand the procedure... > > Can I create it automatically? > > > > Could you help me with this? > > > > Thanks, > > --------------------------------------------------- > Rita Sousa > DME - ME: Departamento de Metodologia Estatística - Métodos > Estatísticos INE - DRP: Instituto Nacional de Estatística - Delegação > Regional do Porto > Tel.: 22 6072016 (Extensão: 4116) > --------------------------------------------------- > > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
