Hi,
did anybody try to embed R using the ctypes module ?
I can load and call the mingw built R.dll in a Python interpreter built
by MSVC 1500
without a crash:
import ctypes as c
lib = c.CDLL("R.dll")
lib.R_running_as_main_program = c.c_int(1)
lib.Rf_initialize_R(0,0)
lib.Rf_m
I tried Wine quickly, but unfortunately it seems to be hopelessly broken
on Ubuntu 12.04 (what I am currently using).
I'd be curious to hear from anyone succeeding with Wine (other/any distro).
Best,
L.
On 2012-06-21 13:44, Laurent Gautier wrote:
> On 2012-06-21 10:50, Nathaniel Smith wrote:
On 2012-06-21 10:50, Nathaniel Smith wrote:
> On Thu, Jun 21, 2012 at 8:54 AM, Uwe Schmitt wrote:
>> Hi,
>>
>> how does mingw build extensions modules play with an official cpython
>> interpreter ?
> AFAICT numpy's official win32 installers are built with mingw, using
> wine on OS X, and are linke
On Thu, Jun 21, 2012 at 8:54 AM, Uwe Schmitt wrote:
>
> Hi,
>
> how does mingw build extensions modules play with an official cpython
> interpreter ?
AFAICT numpy's official win32 installers are built with mingw, using
wine on OS X, and are linked against third-party compiled libraries
(BLAS/LAPA
What I can tell is that is appeared to be working (although distutils
is/was broken:
http://bugs.python.org/msg67039).
I read that optimally CPython would have to be also compiled with Mingw
(although I am not certain it is possible), but I tried and it went OK.
On the other hand compiling R wit
Hi,
how does mingw build extensions modules play with an official cpython
interpreter ?
If you build such a module with a ms compiler which has a different version
as the one python was build with, your module will crash.
I suppose the problem comes from different runtime dlls as msvcrXX.dll, b
On 2012-06-20 18:06, Christoph Gohlke wrote:
> Hi,
>
> FWIW: I have built rpy2 for 32 and 64 bit Python several times in the
> past with Visual Studio and Intel ICL compilers. Compiling and linking
> was not a problem. However, none of those builds were stable and would
> crash on import. The probl
Hi,
FWIW: I have built rpy2 for 32 and 64 bit Python several times in the
past with Visual Studio and Intel ICL compilers. Compiling and linking
was not a problem. However, none of those builds were stable and would
crash on import. The problem was that R and Python use different,
incompatible
Hi Laurent,
I will give it a try soon. I implemented some basic Python wrapper for
the open-ms project
using Cython an got some experiences with the visual c compilers.
Regards,
Uwe
Am 20.06.2012 14:37, schrieb Laurent Gautier:
> The effort would be commensurate with:
>
> - how truly "windows
The effort would be commensurate with:
- how truly "windows build-able" the current code base is. I can't tell,
since I am applying patches for win32-related features when they are
making sense from reading them, and they are not breaking things for
POSIX-like systems.
- how confortable a give
Hi,
my question had a background: Currently I'm developing a framework
for LCMS-data analysis (see http://emzed.ethz.ch), where I want to access
some R libraries from Python.
In the current version I resort to data exchange via file system
plus calling R via os.system, which is quite ugly.
Can y
On 2012-06-20 11:25, Uwe Schmitt wrote:
> Hi,
>
> I just played around with rpy2 on a linux box and I like it a lot.
Thanks. There are certainly rough edge, please do not hesitate to bring
up problematic use-cases or suggest patches (here or on the bitbucket page).
>
> What is the current state
Hi,
I just played around with rpy2 on a linux box and I like it a lot.
What is the current state concering rpy2 for windows ?
As far as I know there is no support for rpy2 or am I wrong ?
Kind Regards,
Uwe
--
Dr. rer. nat. Uwe Schmitt
Leitung F/E Mathematik
mineway GmbH
Gebäude 4
Im Helmersw
13 matches
Mail list logo