On 31/07/2008 4:07 PM, georgiana onicescu wrote:
Dear HelpeRs,
I have created a tar.gz package (the package was created on unix) and I would like to install it in R on a Windows operating system.
As far as I know, R in Windows accepts only packages in zip file for installation and I could not find a way to install a tar.gz file.
I would like to mention that I installed the package on unix using install.packages and it works. I also tried to decompress the tar.gz file and create a zip file but the installation of the resulting zip files gives me errors.
Any help would be greatly appreciated,
If you have the Rtools on Windows (available from
http://www.murdoch-sutherland.com/Rtools, get the installer
Rtools28.exe), then you can install it in Windows using
install.packages("foo.tar.gz", repos=NULL, type="source")
or from a command line using
Rcmd INSTALL foo.tar.gz
It's pretty much the same as on Unix, except that most people don't have
the tools.
Duncan Murdoch
______________________________________________
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.