[R] Creating an R package file

Liaw, Andy andy_liaw at merck.com
Mon Jan 23 17:28:50 CET 2006


Well, you simply type

    R CMD INSTALL --build mypackage

or

    R CMD build --binary mypackage

in the parent directory of the source package.  If you're on Windows, you
need to have some tools installed to be able to do that (but you haven't
said what OS you're using).

Andy

From: Posta Univ. Cagliari
> 
> Dear R community,
> 
> I would like to create my own R package files, but I find 
> some problemm for R versions >1.9.
> 
> When in previous versions of R I could write a simple text 
> file, to have a functioning file package, now I found that is 
> neccessary to implement also binary copies of the file. I 
> cannot understand, reading from R manuals, how it is the 
> correct procedure to create these binary files.
> 
> Is there anybody that can help me on this issue?
> 
> Many thanks,
> 
> Marco Tommasi
> 	[[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