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

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 13 10:42:22 CEST 2007


You have a version mismatch.  You haven't told us your version of JRI, but 
it is not recent enough for R 2.5.0.

Also, you told us you are using java-6-sun-1.6.0.00, but the commands you 
show indicate otherwise.

On Tue, 12 Jun 2007, taivo wrote:

>
> 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
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list