[R] a UNIX vs. Windows package question, please

Rolf Turner r.turner at auckland.ac.nz
Sat Jan 10 01:06:39 CET 2015


On 10/01/15 12:45, Duncan Murdoch wrote:
> On 09/01/2015 5:32 PM, Erin Hodgess wrote:
>> Hello again.
>>
>> Here is another question that I am puzzled about:  I had the (incorrect)
>> impression that if I had Rtools on a Windows machine that I could use any
>> tar.gz package.  However, that is not true.
>>
>> In particular, I was looking at the rPython package.  I do indeed have
>> Python on this machine. But when I did R CMD INSTALL rPython, I got an
>> error message that said, "this is a Unix package".  Interesting.
>>
>> Should I just stay with my Ubuntu laptop and behave?
>
> No, but you should not use packages that misbehave.  The ideal R package
> will run on all platforms where R runs.  Some require effort from the
> user to provide prerequisites, but no good R package runs only on one
> platform.

I just had a look at CRAN and there is an INSTALL file associated with 
rPython.  This file says (at the bottom):

> WINDOWS SYSTEMS
> ===============
>
> On a Windows system, the package can be installed from https://github.com/cjgb/rPython-win.
> It is the same source code and comes with specific platform instructions.

Maybe you can get some mileage out of that.  Good luck.

cheers,

Rolf

-- 
Rolf Turner
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276



More information about the R-help mailing list