On May 12, 2007, at 8:24 AM, Klaus Thul wrote:
Hello, Jean,
I found the following page quite useful (following the instructions
for building packages on LINUX for WINDOWS):
http://www.maths.bris.ac.uk/~maman/computerstuff/Rhelp/Rpackages.html
If there is no compiled code (C, FORTRAN) in your package you can do
the following:
R CMD BUILD ~/foo
mkdir temp
R CMD INSTALL -l temp foo
cd temp
zip -r ../foo-1.0.zip foo
The resulting file foo-1.0.zip can be installed as binary package on
Windows.
... but it won't contain CHM help which is now the default on Windows
(unfortunately IMHO, but that's another topic ...).
Cheers,
Simon
At 15:42 -0400 9/05/07, Sebastien Durand wrote:
Hello to all,
I am a package developper and I would like to
know what is the best way to build package
binaries for both Windows and Mac installation of
R, using a macbook pro?
The command I am presently using to create and build my packages
binaries is :
"R CMD BUILD ~/foo" -> This produce foo.tar.gz
which cannot be used in a windows installation of R.
I use the "R CMD build --binary" command under Windows in Parallels
Desktop for Mac. It works quite well on my macbook with 2Gb RAM.
See http://www.parallels.com/
You might want to check VirtualBox too : http://www.virtualbox.org/
which is now free (GNU licence).
Of course, you must have the complete R development tools setup
under
the guest Windows OS, which is even trickier than on MacOS (as
opposed
to Linux).
I also have a Linux Debian installed in Parallels Desktop and R CMD
build --binary works well too.
Jean
--
Jean Thioulouse - Labo Biometrie et Biologie Evolutive, UMR CNRS
5558
Universite Lyon 1, Batiment Mendel, 43 Boulevard du 11 Novembre
1918
69622 Villeurbanne Cedex - France http://pbil.univ-lyon1.fr/
JTHome/
Tel : (33) 4 72 43 27 56 Fax : (33) 4 72 43
13 88
# msn: thioulouse at hotmail.com # jabber: jt69 # .mac:
j.thioulouse #