[R] Installing on Windows packages build on Unix

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Jun 26 13:08:32 CEST 2004


Anne York wrote:
> Giovanni Petris wrote:
> 
>> Hello,
>>
>> I wanted to share with a colleague a few R functions that I wrote. To 
>> this purpose, I created a small package on my machine (Unix) and  
>> emailed it to her. Now she is having troubles installing the package  
>> on her Windows machine. It seems that on her side, install.packages
>> looks for a "zip" file - while I have created a "tar.gz" file. I tried
>> to build the package with the --use-zip options but that didn't work.
>>
>> Any suggestions?
>>
>> TIA,
>> Giovanni
>>
> If the functions only consist of R-code, you can just send your 
> colleague a text file with the function definitions.
> Not elegant, but effective.

Well, without documentation and R CMD check, it's really not that 
elegant nor effective, in many cases.

It is possible to install source packages under Windows. Your colleague 
just has to learn how to do it and there is documentation that tells us 
how to do it (e.g. readme.packages).

Uwe Ligges




More information about the R-help mailing list