[R] rJava works with 32-bit but not 64

Pascal Oettli kridox at ymail.com
Mon Feb 4 08:21:52 CET 2013


Hello,

Do you have a 64-bit version of Java?

rJava says to you:
call: stop("No CurrentVersion entry in '", key, "'! Try re-installing 
Java and make sure R and Java have matching architectures.")

Regards,
Pascal


Le 04/02/2013 14:27, Spencer Graves a écrit :
> Hello:
>
>
>        rJava works for me under 32-bit but under not 64-bit R; see below.
>
>
>        Suggestions?
>        Thanks,
>        Spencer
>
>
>  > library(rJava)
> Error : .onLoad failed in loadNamespace() for 'rJava', details:
>    call: stop("No CurrentVersion entry in '", key, "'! Try re-installing
> Java and make sure R and Java have matching architectures.")
>    error: object 'key' not found
> Error: package/namespace load failed for 'rJava'
>  > sessionInfo()
> R version 2.15.2 (2012-10-26)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
>
> locale:
> [1] LC_COLLATE=English_United States.1252
> [2] LC_CTYPE=English_United States.1252
> [3] LC_MONETARY=English_United States.1252
> [4] LC_NUMERIC=C
> [5] LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods base
>  >
>
> ##########################
>
>
>  > library(rJava)
>  > sessionInfo()
> R version 2.15.2 (2012-10-26)
> Platform: i386-w64-mingw32/i386 (32-bit)
>
> locale:
> [1] LC_COLLATE=English_United States.1252
> [2] LC_CTYPE=English_United States.1252
> [3] LC_MONETARY=English_United States.1252
> [4] LC_NUMERIC=C
> [5] LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods base
>
> other attached packages:
> [1] rJava_0.9-3
>
>



More information about the R-help mailing list