On Wed, 2005-01-05 at 09:34 +0000, Halldor BjÃrnsson wrote: > Hi, > I made a package on a linux box. All worked fine. > The package contains only R code (no C). I then wanted to make a zip > file so that I could test the package on a windows machine. I have tried > all the obvious ways to do this (and even some that are not!), but to no > avail. The only instructions I find about building packages for windows > (e.g. mypkg.zip) seem to imply that the build be done on a windows machine. > > Is there a simple way to make mypkg.zip under linux and then install it > as a zip file on a windows machine? > > Sincerely, > Halldor
I have not used it, but there is an article in the Contributed Documentation section on the main R web site by Jun Yan and Tony Rossini called "Building Microsoft Windows Versions of R and R packages under Intel Linux". A direct link to the PDF is: http://cran.r-project.org/doc/contrib/cross-build.pdf and there is a makefile at: http://cran.r-project.org/doc/contrib/Makefile-rcb HTH, Marc Schwartz ______________________________________________ R-help@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