Thank you very much, Brian.

It's clearly christal clear - but one needs a christal ball to realize
that! :-)

So I learned: architecture = bitness

Dimitri



On Thu, Jun 6, 2013 at 2:19 AM, Prof Brian Ripley <ripley@stats.ox.ac.uk>wrote:

> On 06/06/2013 00:38, Dimitri Liakhovitski wrote:
>
>> Hello!
>> I installed rJava and am trying to load it.
>>
>> 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’
>>
>> Any idea why?
>> Background info:
>>
>
> But the posting guide asked for the output from sessionInfo(): we want to
> know what R knows it is running as, not why you think.
>
>
>  Windows 7, 64-bit
>> R version 3.0.1 (for 64-bit)
>> I just installed the lastest Java: Java 7 Update 21
>>
>
> For the right architecture?
>
> The message is crystal clear: you do not have a Java installed matching
> your R.  Most likely your Java is 32-bit and your R 64-bit or v.v.
>
>
>
> --
> Brian D. Ripley,                  ripley@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~**ripley/<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
>



-- 
Dimitri Liakhovitski

	[[alternative HTML version deleted]]

