[Rd] Compiling libR as a standalone C library for java+jni (-fPIC)

2024-02-20 Thread Pierre Lindenbaum
(cross-posted on SO: https://stackoverflow.com/questions/78022766) Hi all, I'm trying to compile R as a static library with the -fPIC flag so I can use it within java+JNI (is it only possible ?), but I cannot find the right flags in '.configure' to compile R this way. I tested various flags b

[Rd] R and JAVA

2006-10-17 Thread Pierre LINDENBAUM
Hi all, I'm Pierre Lindenbaum and I'm new to 'R'. I'm currently working with a colleague who has created a java bioinformatic tool using 'R' . No problem : we work on linux, we call 'R' using a system call via java.lang.Runtime.exec, we know the $p