[R] Creating windows binary R package (PowerArchiver vs. zip -r9X)

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jul 27 09:16:49 CEST 2007

Tao Shi wrote:
> Hi list,I apologize if you see funny fonts, b/c I'm using the new
> Windows Live Hotmail and don't know how to turn off the "rich text"
> mode.....I have successfully built and installed a R package in
> windowsXP for R-2.5.1.  But when I tried to create a .zip file so I
> can use "Packages/install package(s) from local .zip files..." to
> install it, it seems R only recognizes the .zip file created by "zip
> -r9X" not by PowerArchiver.  Do you know why?  I vaguely remember I
> used WinZip before and it worked fine.The two threads I found on
> R-help and R-devel help me a lot, but don't really answer my
> question.http://tolstoy.newcastle.edu.au/R/help/06/06/29587.htmlhttp://tolstoy.newcastle.edu.au/R/devel/05/12/3336.htmlThanks,...Tao

In order to provide a Windows binary package, type:

R CMD INSTALL --build PackageName_vers.tar.gz
and the zip file will be generated by R in the correct way.

Uwe Ligges

More information about the R-help mailing list