I´m trying to use R.Net in IronPython. I´ve a C# application that has an IronPython script engine, in a way the user can write a script and run it. The idea is to provide R features to those scripts.
However, as I write the following example:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'RDynamic' object has no attribute 'x'
As I try: print "Memory usage = ", float(R.memory.size()), the error message is:
Memory usage = Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: Operation is not valid due to the current state of the object.
What am I doing wrong?
Tks in advance,
Mauro
However, as I write the following example:
import clr
mport RDotNet
import RDotNet.Dynamic
R = RDotNet.Dynamic.RDynamic(Rengine)
As I run R.x=1, as you describe, I got the following error message.Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'RDynamic' object has no attribute 'x'
As I try: print "Memory usage = ", float(R.memory.size()), the error message is:
Memory usage = Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: Operation is not valid due to the current state of the object.
What am I doing wrong?
Tks in advance,
Mauro