Skip to content
Prev 33830 / 63424 Next

Including a binary Python Interpreter into a binary R-package for MS Windows

gvsteen at yahoo.com wrote:
>
>
Guido,

why? If you package asks them to install Python, if your package cannot 
find it in the path, they will certainly do if they find the 
functionality very useful.
Don't know Python on Windows so well, but why can't they install it? You 
can also install R with limited user privileges.
Well, but much of that space is useless/wasted for non-Windows users then.
Most R users under Windows won't have Rtools installed, just the 
developers will have.
Can't you add some configure script / Makefile that allows to build the 
binary from sources that you provide in your package?

Otherwise, what you could do is to install the binary on demand from 
another side you are hosting. E.g. library("write2xls") could check if 
the required binary is available and install on demand if it is not 
available. But don't forget to look carefully into all license issues.
R tools are just required for developers, and they won't be installed on 
other platforms than Windows, I believe. Additionally, we know who built 
those tools.
If MIT allows to ship things the way you plan to, then it's fine, but no 
binaries in sources packages on CRAN. We did quite some work to get rid 
of the packages that did (even my own package!) and won't make 
exceptions. We won't revert our decision.

Best wishes,
Uwe Ligges