Displaying 1 result from an estimated 1 matches for "mdlformat".
Did you mean:
mailformat
2013 Mar 25
1
using openbabel plugins in R
...rmat was not found, so 0 was
returned
NULL
After some more experimentation, I have discovered I can get it to work
in the following way, but I think it is a bit impractical. If I compile
the shared library as:
g++ -shared -o libobtest2.so obtest2.o -fpic
/usr/lib/openbabel/2.2.3/mdlformat.so -lopenbabel -lR
so the name of one of the plugins is specified. Then, in R I run:
R>dyn.load("/usr/lib/openbabel/2.2.3/mdlformat.so")
R>dyn.load("libobtest2.so")
R>.Call("test")
format: 0x7fe114c96d20
NULL
So then it works....