On Sun, May 12, 2013 at 4:36 PM, Laurent Gautier <lgau...@gmail.com> wrote:
>
>
> On Sunday, May 12, 2013 4:42:00 PM UTC+2, josefpktd wrote:
>>
>> (...)
>>
>>
>>
>> rpy could be a serious competition to or complement for statsmodels,
>> however, it never build a larger developer base, and it became too
>> low-level, making it too difficult to maintain it as cross-platform
>> package. (speaking as Windows user/developer who never made the
>> transition from rpy to rpy2.)
>
>
>
> The development of Rpy has stopped several years ago (probably before
> statmodels even started), and I am not sure to follow the argument about
> "becoming too low-level, making it too difficult too maintain as
> cross-platform".
The first test suite of scikits.statsmodels was almost completely
written with rpy, which was at the time just a little bit outdated but
I could run it on Windows.
>
> Regarding rpy2, I think that the relatively small number of developers is
> because of the energy barrier (requires good knowledge of R, R's C API,
> Python's C API, Python - not so many people at the intersection of the
> four), but this is improving (ohloh does not seem to flag us as "too small
> number of developers") and the ratios "number of downloads"/"number of
> developers" and "number of open bugs"/"number of developers" suggest that
> this is not concern.
>
> Support for Windows has become non-existent because of the absence of
> developers meeting the requirements above for that platform (so
> self-inflicted by the Windows community ;-) ).
I didn't say rpy2 is not successful, and ipython has an interface to
R, which as far as I know is not available on Windows.
The C interface (as I understand it) between R, R's C API, Python's C
API, and Python is what I think of as too low level. Coding a raw C
interface between two different programming languages (without the
help of something like cython) sounds too difficult to me as a cross
platform strategy (unless you have the resources of a commercial
distribution).
(Sounds a bit like "self-inflicted" absence of Windows developers
because the barriers are too high.)
Seems to me that that was your choice. I'm not saying that it was a
bad choice (given your objectives), but it makes it useless to me, and
statsmodels cannot use it to close some gaps, nor is it an alternative
to statsmodels among Windows users.
For statsmodels, I'm fighting all the time to keep a very good
availability on Windows, and I'm definitely not in the camp of the
"why don't you get a virtual Linux machine?" developers. Which is the
response potential users get when they try to install python libraries
that have some dependencies that work almost only on Linux.
Nevertheless, the vast majority of statsmodels developers work on Linux.
On 13 May 2013 17:12, "Laurent Gautier" <lgau...@gmail.com> wrote:
>
>
>
> On Sunday, May 12, 2013 11:39:11 PM UTC+2, josefpktd wrote:
>> For statsmodels, I'm fighting all the time to keep a very good
>> availability on Windows, and I'm definitely not in the camp of the
>> "why don't you get a virtual Linux machine?" developers. Which is the
>> response potential users get when they try to install python libraries
>> that have some dependencies that work almost only on Linux.
>> Nevertheless, the vast majority of statsmodels developers work on Linux.
>
>
> This is going beyond the scope rpy2 (and drifting OT), but the root of the problem is the burden of setting up build environments requiring the compilation of C code on Windows. For example, you'll remember the hunt for no-longer-available version of MSVC++ required to compile Python packages with C extensions.
Wine works well for this. If you get the environment set up once you can save it as a tgz or whatever in case it gets messed up, or write a script to set it up reproducibly. This is what numpy/scipy do for release builds (you could even steal their release scripts), and I used to do it for xpra... It's not really very hard and totally automateable.
-n