[R] rJava problems

2013-12-08 Thread Tolga Uzuner

Dear R Users
Have run into a problem with the rJava package recently. I do not seem 
to be able to load the package. I am on R 3.0.2 and updated the rJava 
package this morning from the Pennsylvania mirrors. I get the following 
error:



package ‘mnormt’ successfully unpacked and MD5 sums checked
package ‘rJava’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\t_uzu_000\AppData\Local\Temp\RtmpOC9zec\downloaded_packages
 library(rJava)
Error in get(Info[i, 1], envir = env) :
cannot allocate memory block of size 2.8 Gb
Error: package or namespace load failed for ‘rJava’



Any pointers ?

Thanks in advance

__
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 problems

2013-12-08 Thread Tolga Uzuner
A small follow-on to this: I uninstalled the package, restarted my 
machine, and reinstalled the package. Now, when I try and load the 
package, I get an entirely different error message:


 library(rJava)
Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 
'C:/Users/t_uzu_000/Documents/R/win-library/3.0/rJava/libs/i386/rJava.dll':

  LoadLibrary failure:  %1 is not a valid Win32 application.

Error: package or namespace load failed for ‘rJava’

Any thoughts appreciated.

Kind regards

On 08/12/2013 09:03, Tolga Uzuner wrote:

Dear R Users
Have run into a problem with the rJava package recently. I do not seem 
to be able to load the package. I am on R 3.0.2 and updated the rJava 
package this morning from the Pennsylvania mirrors. I get the 
following error:



package ‘mnormt’ successfully unpacked and MD5 sums checked
package ‘rJava’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\t_uzu_000\AppData\Local\Temp\RtmpOC9zec\downloaded_packages
 library(rJava)
Error in get(Info[i, 1], envir = env) :
cannot allocate memory block of size 2.8 Gb
Error: package or namespace load failed for ‘rJava’



Any pointers ?

Thanks in advance


__
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 problems

2013-12-08 Thread patrick . toche
same problem I'm having...

https://groups.google.com/forum/#!topic/shiny-discuss/ivJzaaUIZcQ



On Sunday, December 8, 2013 10:55:02 PM UTC+8, neo wrote:

 A small follow-on to this: I uninstalled the package, restarted my 
 machine, and reinstalled the package. Now, when I try and load the 
 package, I get an entirely different error message: 

   library(rJava) 
 Error : .onLoad failed in loadNamespace() for 'rJava', details: 
call: inDL(x, as.logical(local), as.logical(now), ...) 
error: unable to load shared object 
 'C:/Users/t_uzu_000/Documents/R/win-library/3.0/rJava/libs/i386/rJava.dll': 

LoadLibrary failure:  %1 is not a valid Win32 application. 

 Error: package or namespace load failed for ‘rJava’ 

 Any thoughts appreciated. 

 Kind regards 

 On 08/12/2013 09:03, Tolga Uzuner wrote: 
  Dear R Users 
  Have run into a problem with the rJava package recently. I do not seem 
  to be able to load the package. I am on R 3.0.2 and updated the rJava 
  package this morning from the Pennsylvania mirrors. I get the 
  following error: 
  
   
  package ‘mnormt’ successfully unpacked and MD5 sums checked 
  package ‘rJava’ successfully unpacked and MD5 sums checked 
  
  The downloaded binary packages are in 
  C:\Users\t_uzu_000\AppData\Local\Temp\RtmpOC9zec\downloaded_packages 
   library(rJava) 
  Error in get(Info[i, 1], envir = env) : 
  cannot allocate memory block of size 2.8 Gb 
  Error: package or namespace load failed for ‘rJava’ 
   
   
  
  Any pointers ? 
  
  Thanks in advance 

 __ 
 r-h...@r-project.org javascript: 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-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 problems

2013-12-08 Thread Robert Baer

You don't really provide enough information like
 R.Version()

but my guess is that you are running 64-bit R either directly or through 
R Studio but that you have only 32-bit Java installed.   I am doing fine 
on Windows with Java 7 update 45 but had some 64-bit run issues with 
only Java 7 update 40 64-bit JDK.


HTH,
Rob


On 12/8/2013 8:03 AM, Tolga Uzuner wrote:

Dear R Users
Have run into a problem with the rJava package recently. I do not seem 
to be able to load the package. I am on R 3.0.2 and updated the rJava 
package this morning from the Pennsylvania mirrors. I get the 
following error:



package ‘mnormt’ successfully unpacked and MD5 sums checked
package ‘rJava’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\t_uzu_000\AppData\Local\Temp\RtmpOC9zec\downloaded_packages
 library(rJava)
Error in get(Info[i, 1], envir = env) :
cannot allocate memory block of size 2.8 Gb
Error: package or namespace load failed for ‘rJava’



Any pointers ?

Thanks in advance

__
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-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 problems

2013-12-08 Thread Tolga Uzuner
Thank you Rob. I used to have the 64-bit R also installed, but removed it and 
did not reinstall it. I also cleared out all rJava.dll files on my computer 
before reinstalling R fresh. I am running R through Rgui,  not Rstudio. I will 
post RVersion data later once I return to my PC, apologies.

Sent from my iPhone

 On 8 Dec 2013, at 12:50 pm, Robert Baer rb...@atsu.edu wrote:
 
 You don't really provide enough information like
 R.Version()
 
 but my guess is that you are running 64-bit R either directly or through R 
 Studio but that you have only 32-bit Java installed.   I am doing fine on 
 Windows with Java 7 update 45 but had some 64-bit run issues with only Java 7 
 update 40 64-bit JDK.
 
 HTH,
 Rob
 
 
 On 12/8/2013 8:03 AM, Tolga Uzuner wrote:
 Dear R Users
 Have run into a problem with the rJava package recently. I do not seem to be 
 able to load the package. I am on R 3.0.2 and updated the rJava package this 
 morning from the Pennsylvania mirrors. I get the following error:
 
 
 package ‘mnormt’ successfully unpacked and MD5 sums checked
 package ‘rJava’ successfully unpacked and MD5 sums checked
 
 The downloaded binary packages are in
 C:\Users\t_uzu_000\AppData\Local\Temp\RtmpOC9zec\downloaded_packages
  library(rJava)
 Error in get(Info[i, 1], envir = env) :
 cannot allocate memory block of size 2.8 Gb
 Error: package or namespace load failed for ‘rJava’
 
 
 
 Any pointers ?
 
 Thanks in advance
 
 __
 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-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 problems

2013-12-08 Thread Xiaogang Su
I encountered the same problem a couple of days ago. I found simply
re-installing JASA (the 64bit one) would straighten out the Registry
entries:
http://java.com/en/download/manual.jsp


=
Xiaogang Su, Ph.D.
Associate Professor
Department of Mathematical Sciences
University of Texas at El Paso
500 W. University Ave.
El Paso, Texas 79968-0514
x...@utep.edu
xiaogan...@gmail.com
https://sites.google.com/site/xgsu00/


On Sun, Dec 8, 2013 at 11:15 AM, Tolga Uzuner tolga.uzu...@gmail.comwrote:

 Thank you Rob. I used to have the 64-bit R also installed, but removed it
 and did not reinstall it. I also cleared out all rJava.dll files on my
 computer before reinstalling R fresh. I am running R through Rgui,  not
 Rstudio. I will post RVersion data later once I return to my PC, apologies.

 Sent from my iPhone

  On 8 Dec 2013, at 12:50 pm, Robert Baer rb...@atsu.edu wrote:
 
  You don't really provide enough information like
  R.Version()
 
  but my guess is that you are running 64-bit R either directly or through
 R Studio but that you have only 32-bit Java installed.   I am doing fine on
 Windows with Java 7 update 45 but had some 64-bit run issues with only Java
 7 update 40 64-bit JDK.
 
  HTH,
  Rob
 
 
  On 12/8/2013 8:03 AM, Tolga Uzuner wrote:
  Dear R Users
  Have run into a problem with the rJava package recently. I do not seem
 to be able to load the package. I am on R 3.0.2 and updated the rJava
 package this morning from the Pennsylvania mirrors. I get the following
 error:
 
  
  package ‘mnormt’ successfully unpacked and MD5 sums checked
  package ‘rJava’ successfully unpacked and MD5 sums checked
 
  The downloaded binary packages are in
  C:\Users\t_uzu_000\AppData\Local\Temp\RtmpOC9zec\downloaded_packages
   library(rJava)
  Error in get(Info[i, 1], envir = env) :
  cannot allocate memory block of size 2.8 Gb
  Error: package or namespace load failed for ‘rJava’
  
  
 
  Any pointers ?
 
  Thanks in advance
 
  __
  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-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.


[[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.