Skip to content

Building packages 4 Windows with macbook pro

3 messages · Klaus Thul, Simon Urbanek, Kasper Daniel Hansen

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

Best regards,
Klaus
#
On May 12, 2007, at 8:24 AM, Klaus Thul wrote:

            
... but it won't contain CHM help which is now the default on Windows  
(unfortunately IMHO, but that's another topic ...).

Cheers,
Simon
#
Also, if the aim is just to provide an R package for collaborators or  
such, you can use

http://129.217.207.166/index.htm

Read the disclaimer though, in case your package contains sensitive  
data.

Kasper
On May 12, 2007, at 7:01 AM, Simon Urbanek wrote: