[R] Trouble making JRI.jar with Ubuntu and Java6

taivo taara_isa at hotmail.com
Tue Jun 12 19:56:55 CEST 2007


Hi,

Forum newb here, looking for some help. Have been trying to install an
R-Java interface to make R calls from Java. JRI's configure script runs
fine, but when it comes to make, I get the "error: too few arguments to
function 'R_ParseVector'"

Java runs fine. R runs fine. But I can't get this .jar file created.
<grumble>

Any help would be appreciated immensely,

Taivo
Ubuntu FeistyFawn, java-6-sun-1.6.0.00, R 2.5

p.s. Here's the screen output:

make -C src JRI.jar
make[1]: Entering directory `/home/taivo/coop_summer2007/r/JRI/src'
gcc -std=gnu99 -c -o Rengine.o Rengine.c -g -Iinclude  -DRIF_HAS_CSTACK
-DRIF_HAS_RSIGHAND -g -O2
-I/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/../include
-I/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/../include/linux -fPIC
-I/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/../include
-I/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/../include/linux
-I/usr/share/R/include -I/usr/share/R/include -I/usr/share/R/include
Rengine.c: In function ‘Java_org_rosuda_JRI_Rengine_rniParse’:
Rengine.c:92: error: too few arguments to function ‘R_ParseVector’
make[1]: *** [Rengine.o] Error 1
make[1]: Leaving directory `/home/taivo/coop_summer2007/r/JRI/src'
make: *** [src/JRI.jar] Error 2

-- 
View this message in context: http://www.nabble.com/Trouble-making-JRI.jar-with-Ubuntu-and-Java6-tf3909057.html#a11083776
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list