Hello,

I'm getting an error when trying to create a secound R instance on the same 
context, in my system R calls Fortran code that calls C++ code that ultimately 
call R code again, but on this secound call I get this error. 

Error in .Call("R_isMethodsDispatchOn", onOff, PACKAGE = "base") : 
Incorrect number of arguments (2), expecting 1 for R_isMethodsDispatchOn
Error in function (x, value, eval.env = parent.frame(1), assign.env = 
parent.frame(1))The error only occur when there is already an R instance 
active, executing the same C++ function directly does not cause errors. I 
searched alot for a solution, even found people with exactly the same issue 
like 
http://n4.nabble.com/calling-Rf-initEmbeddedR-twice-gives-an-error-td923063.html,
 asked them but noone found a solution.

The exact line that produces the error is.
R = new RInside (argc, argv);          // create an embedded R instance         
    
and I'm using R 2.10 on a Ubuntu OS.

Any help will be aprecciated even pointing at wich documentation I can find 
help.

Thanks in advance,
Tiago Zortea
                                          
_________________________________________________________________

 veja como

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to