on 07/31/2008 03: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, Thank you, Georgiana

If you are going to be cross-building, you should read this article:

“Building Microsoft Windows Versions of R and R packages under Intel Linux” by Jun Yan and A. J. Ross

http://cran.us.r-project.org/doc/contrib/cross-build.pdf


Also see Section 3.1.9 in the R Admin Manual:

http://cran.r-project.org/doc/manuals/R-admin.html


I have not done this myself, so I would have to defer to others relative to any gotchas. Much of any complexity will likely be based upon whether you have any compiled code (eg. C or FORTRAN) or just R code.

In addition, if you truly mean Unix (eg. Solaris, AIX, etc.) and not Linux, that will likely introduce other issues, but again, I defer to others.

HTH,

Marc Schwartz

______________________________________________
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.

Reply via email to