Displaying 1 result from an estimated 1 matches for "lopenbabel".
Did you mean:
openbabel
2013 Mar 25
1
using openbabel plugins in R
...<"format: "<<format<<std::endl; // print out
search result, either 0 or an address
return R_NilValue;
}
compile:
g++ -I/usr/include/openbabel-2.0 -I/usr/share/R/include -fpic -c
obtest2.cc -o obtest2.o
g++ -o obtest2 obtest2.o -fpic -lopenbabel
-lR # Executable
g++ -shared -o libobtest2.so obtest2.o -fpic -lopenbabel -lR # R
library
Run executable:
$ ./obtest2
format: 0x7f1858275d20 #found some result, this is what I expect
Run in R:
R>dyn.load("libobtest2.so")
R>....