[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:
> 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.
> Any help would be appreciated immensely,
> 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: 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-22.214.171.124/jre/../include/linux -fPIC
> -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: *** [Rengine.o] Error 1
> make: 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