Re: [R] rJava is not loading

2013-06-07 Thread Dimitri Liakhovitski
Thanks again, Brian.
Indeed, I had Java for 32 bits. Replaced it and rJava is working now.


On Thu, Jun 6, 2013 at 10:58 AM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote:

 On 06/06/2013 15:52, Dimitri Liakhovitski wrote:

 Thank you very much, Brian.
 It's clearly christal clear - but one needs a christal ball to realize
 that! :-)
 So I learned: architecture = bitness


 On current Windows, yes.
 But not on OS X nor Linux nor Solaris nor FreeBSD 

 It indicates the type of CPU, or more precisely the instruction set the
 CPU is running.  x86_64 CPUs (as used by most current Windows boxes) can
 emulate i386 CPUs.  So the architectures for R on Windows are

 i386 (32-bit)
 x64 (64-bit, the Windows name for x86_64).

  Dimitri


 On Thu, Jun 6, 2013 at 2:19 AM, Prof Brian Ripley rip...@stats.ox.ac.uk
 mailto:rip...@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, rip...@stats.ox.ac.uk mailto:rip...@stats.ox.ac.uk
 Professor of Applied Statistics,
 
 http://www.stats.ox.ac.uk/~__**ripley/http://www.stats.ox.ac.uk/~__ripley/

 http://www.stats.ox.ac.uk/~**ripley/http://www.stats.ox.ac.uk/~ripley/
 
 University of Oxford, Tel: +44 1865 272861
 tel:%2B44%201865%20272861 (self)
 1 South Parks Road, +44 1865 272866 tel:%2B44%201865%20272866 (PA)

 Oxford OX1 3TG, UKFax: +44 1865 272595
 tel:%2B44%201865%20272595




 --
 Dimitri Liakhovitski



 --
 Brian D. Ripley,  rip...@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, UKFax:  +44 1865 272595




-- 
Dimitri Liakhovitski

[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] rJava is not loading

2013-06-06 Thread Prof Brian Ripley

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,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  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, UKFax:  +44 1865 272595

__
R-help@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.


Re: [R] rJava is not loading

2013-06-06 Thread Dimitri Liakhovitski
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 rip...@stats.ox.ac.ukwrote:

 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,  rip...@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, UKFax:  +44 1865 272595




-- 
Dimitri Liakhovitski

[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] rJava is not loading

2013-06-06 Thread Prof Brian Ripley

On 06/06/2013 15:52, Dimitri Liakhovitski wrote:

Thank you very much, Brian.
It's clearly christal clear - but one needs a christal ball to realize
that! :-)
So I learned: architecture = bitness


On current Windows, yes.
But not on OS X nor Linux nor Solaris nor FreeBSD 

It indicates the type of CPU, or more precisely the instruction set the 
CPU is running.  x86_64 CPUs (as used by most current Windows boxes) can 
emulate i386 CPUs.  So the architectures for R on Windows are


i386 (32-bit)
x64 (64-bit, the Windows name for x86_64).


Dimitri


On Thu, Jun 6, 2013 at 2:19 AM, Prof Brian Ripley rip...@stats.ox.ac.uk
mailto:rip...@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, rip...@stats.ox.ac.uk mailto:rip...@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
tel:%2B44%201865%20272861 (self)
1 South Parks Road, +44 1865 272866 tel:%2B44%201865%20272866 (PA)
Oxford OX1 3TG, UKFax: +44 1865 272595
tel:%2B44%201865%20272595




--
Dimitri Liakhovitski



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  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, UKFax:  +44 1865 272595

__
R-help@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.


[R] rJava is not loading

2013-06-05 Thread Dimitri Liakhovitski
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:

Windows 7, 64-bit
R version 3.0.1 (for 64-bit)
I just installed the lastest Java: Java 7 Update 21

Thank you very much!

-- 
Dimitri Liakhovitski

[[alternative HTML version deleted]]

__
R-help@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.