[R] Finally get SJava work

Bai Yan baiyan at ece.ogi.edu
Tue Mar 4 00:54:03 CET 2003


Yeah!! I finally get SJava examples run on linux. The problems is that
there's an old version installed on the machine, with static library.
Unfortunately, the path of the old version is set before the new version,
thus every time when R command is conducted, the old version is invoked
(but I didn't know), and since the libR.so is not exist in that version, I
always got linkage errors :(
After reset the PATH variable, the java file ran!

I was stuck for several days, and really happy to see the problem got
solved. Many thanks for your helps:)

Yan

On Mon, 3 Mar 2003, Robert Gentleman wrote:

> You might check your path -- you probably have an old version that
> comes before the new one that you just built.
>
> On Mon, Mar 03, 2003 at 02:44:51PM -0800, Bai Yan wrote:
> >
> > Download R-1.6.2 source code package from http://cran.r-project.org and
> > compiled successfully.
> > When run library(grid), get error message as the R version is 1.5.1, and
> > cannot support grid package. The weird thing is that R.Version() returned
> > as this R is actualy 1.5.1
> >
> > Did anybody get the same problem? or I made something wrong? Thanks.
> >
> > ----------------------------------------
> > > library(grid)
> > Error: This is R 1.5.1, package grid needs >= 1.6.0
> > > R.Version()
> > $platform
> > [1] "i686-pc-linux-gnu"
> >
> > $arch
> > [1] "i686"
> >
> > $os
> > [1] "linux-gnu"
> >
> > $system
> > [1] "i686, linux-gnu"
> >
> > $status
> > [1] ""
> >
> > $major
> > [1] "1"
> >
> > $minor
> > [1] "5.1"
> >
> > $year
> > [1] "2002"
> >
> > $month
> > [1] "06"
> >
> > $day
> > [1] "17"
> >
> > $language
> > [1] "R"
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
> --
> +---------------------------------------------------------------------------+
> | Robert Gentleman                 phone : (617) 632-5250                   |
> | Associate Professor              fax:   (617)  632-2444                   |
> | Department of Biostatistics      office: M1B20                            |
> | Harvard School of Public Health  email: rgentlem at jimmy.dfci.harvard.edu   |
> +---------------------------------------------------------------------------+
>




More information about the R-help mailing list