[R] problem with rJython and modules

R. Michael Weylandt <michael.weylandt@gmail.com> michael.weylandt at gmail.com
Thu Sep 12 22:27:04 CEST 2013



On Sep 12, 2013, at 13:42, Erin Hodgess <erinm.hodgess at gmail.com> wrote:

> Dear R People:
> 
> I have been experimenting with rPython, rSymPy, and rJython.  Here is my
> latest snag:
> 
>> library(rJython)
> Loading required package: rJava
> Loading required package: rjson
>> library(rSymPy)
>> rJython <- rJython()
>> x <- "x"
>> y <- "y"
>> rJython$exec("from sympy import *")
> Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,  :
>  Traceback (most recent call last):
> 
>  File "<string>", line 1, in <module>
> 
> ImportError: No module named sympy
> 
> 
> This is on Windows 32 bit, with Version 3.0.1 of R and python 2.7.5.  Also,
> sypmy is available with regular python.

But is it installed under jython? Different platform. 

Michael

> 
> Any help would be much appreciated.
> 
> Sincerely,
> Erin
> 
> 
> -- 
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list