The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"Fail to install the R extensions"

gladysCJgladysCJ Member Posts: 6 Contributor II
edited May 2019 in Help
Hello:

I am trying to install the R extensions but it is still not working.

The following error is shown when RapidMiner is trying to load the dynamic library "jri.DLL":

"The local binary library ...jri.dll could not be loaded.
Reason: Native library is already loaded in another class loader"

Any hints why this happened?

Thank you in advance,

Gladys

Answers

  • NeuralMarketNeuralMarket Member Posts: 13 Contributor II
    Did you install the rJava package in R first?
  • gladysCJgladysCJ Member Posts: 6 Contributor II
    Yes, I did. I have installed it from a local zip file...After that I could find the jri.DLL and indicate the path name.
  • gladysCJgladysCJ Member Posts: 6 Contributor II
    Thank you Tom for the hints...
    I decided to re-install the R using the version you is using (2.11.1) but the problem remains the same:

    "The local binary library ...jri.dll could not be loaded.
    Reason: Native library is already loaded in another class loader"

    I have 32-bits Windows Vista.
    My environment variables are:

    R_HOME: C:\Program Files\R\R-2.11.1

    JAVA_HOME: C:\Program Files\Java\jdk1.6.0_14\jre

    Path: C:\Program Files\R\R-2.11.1\bin;C:\Program Files\Java\jdk1.6.0_14\jre\bin;C:\Users\Gladys Castillo\Documents\R\win-library\2.11\rJava\jri

    May be someone, specialist in Java, knows what this kind of error means ?.

    My r.native lib is pointed to the jri.dll in the R library
    C:\Users\Gladys Castillo\Documents\R\win-library\2.11\rJava\jri

    Regards
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    how did you install the Extension and RapidMiner? It seems to me, that you might have either installed the extension twice, or there are some problems with the class loader...

    Greetings,
      Sebastian
  • keithkeith Member Posts: 157 Maven
    gladysCJ wrote:

    Path: C:\Program Files\R\R-2.11.1\bin;C:\Program Files\Java\jdk1.6.0_14\jre\bin;C:\Users\Gladys Castillo\Documents\R\win-library\2.11\rJava\jri
    My PATH variable the architecture version included, e.g. C:\Program Files\R\R-2.12.2\bin\i386, and I have R and RM working together successfully.

    Recent builds of R have both 32 and 64 bit Windows support in one package, and sometimes it may be necessary to specify the full architecture path.  May be worth a try.

    Keith
Sign In or Register to comment.