[R] FW: How to create a new package?
Gabor Grothendieck
ggrothendieck at gmail.com
Thu Jun 1 13:20:22 CEST 2006
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 <rita.sousa at ine.pt> 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]]
>
>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list