search for: pyrun_simplestr

Displaying 1 result from an estimated 1 matches for "pyrun_simplestr".

2009 Oct 26
1
API question (embedding R)
...a way to directly access the R interpreter just like i can already access the python interpreter. Using the python interpreter from pascal is a child's play, you really only need to import a handful of functions from the dll and nothing else, you just call Py_Initialize() and then you can call PyRun_SimpleString() as often as you want and thats basically all! No need to convert the whole C header file to pascal, it all fits more or less into 5 lines of pascal declarations. I couldn't find an easy documentation of how i could achieve the same thing with R: load the dll, import only a few needed func...