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_mainloop()
This gives me a REPL on my console which seems to work (did not try
graphics,
but I do not realy need them).
Would this be a feasible approach to access R or will I face severe problems
if I go on in this direction ?
Regards, Uwe
Am 26.06.2012 18:56, schrieb Laurent Gautier:
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 Thu, Jun 21, 2012 at 8:54 AM, Uwe Schmitt<uschm...@mineway.de>
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/LAPACK in their case, I guess they might be statically linked).
So it is possible in theory.
Very interesting.
I did not think of Wine.
Now I am seeing that building R packages is reported working with it:
http://thomas.zumbrunn.name/blog/2011/12/17/buildung-r-binary-packages-for-windows-with-wine-under-gnulinux/
L.
-n
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list
--
Dr. rer. nat. Uwe Schmitt
Leitung F/E Mathematik
mineway GmbH
Gebäude 4
Im Helmerswald 2
66121 Saarbrücken
Telefon: +49 (0)681 8390 5334
Telefax: +49 (0)681 830 4376
uschm...@mineway.de
www.mineway.de
Geschäftsführung: Dr.-Ing. Mathias Bauer
Amtsgericht Saarbrücken HRB 12339
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list