[R] rJava works on R-32bit but fails in R 64bit

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Wed Jan 15 06:38:51 CET 2014


Post plain text per the posting guide?
Install the 64bit version of the Java Runtime?
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Hui Du <Hui.Du at dataventures.com> wrote:
>
>Hi All,
>
>I have R 64bit and R-32 bit installed in my windows 7.
>
>For 64 bit, the version info is
>
>> R.Version()
>$platform
>[1] "x86_64-w64-mingw32"
>
>$arch
>[1] "x86_64"
>
>$os
>[1] "mingw32"
>
>$system
>[1] "x86_64, mingw32"
>
>$status
>[1] ""
>
>$major
>[1] "3"
>
>$minor
>[1] "0.2"
>
>$year
>[1] "2013"
>
>$month
>[1] "09"
>
>$day
>[1] "25"
>
>$`svn rev`
>[1] "63987"
>
>$language
>[1] "R"
>
>$version.string
>[1] "R version 3.0.2 (2013-09-25)"
>
>$nickname
>[1] "Frisbee Sailing"
>
>While trying to load 'rJava', I got the following error
>
>> library('rJava')
>Error : .onLoad failed in loadNamespace() for 'rJava', details:
>  call: fun(libname, pkgname)
>error: No CurrentVersion entry in Software/JavaSoft registry! Try
>re-installing Java and make sure R and Java have matching
>architectures.
>Error: package or namespace load failed for 'rJava'
>
>However it work in my R-32 bit
>> R.Version()
>$platform
>[1] "i386-w64-mingw32"
>
>$arch
>[1] "i386"
>
>$os
>[1] "mingw32"
>
>$system
>[1] "i386, mingw32"
>
>$status
>[1] ""
>
>$major
>[1] "3"
>
>$minor
>[1] "0.2"
>
>$year
>[1] "2013"
>
>$month
>[1] "09"
>
>$day
>[1] "25"
>
>$`svn rev`
>[1] "63987"
>
>$language
>[1] "R"
>
>$version.string
>[1] "R version 3.0.2 (2013-09-25)"
>
>$nickname
>[1] "Frisbee Sailing"
>
>> library('rJava')
>>
>
>
>Does somebody know how to fix the problem in R-64 bit? Many thanks.
>
>HXD
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list