Displaying 20 results from an estimated 4000 matches similar to: "problem using rJava with parallel::mclapply"
2012 Aug 08
1
Cannot create Java virtual machine (-1)
All,
I am trying to get the XLConnect package to work on one of my servers and I am getting an error that XLConnectJars cannot create the java virtual machine. The server is a 32-bit Windows Server 2003 machine with R 2.15.1. The version of Java installed on the server is J2SE Environment 5.0 update 8. I know this not the latest version of Java, and I will try to update it when I get
2017 Jun 26
3
rJava Broken on Linux + R 3.4
Dear All,
I think there is something wrong with rJava on any Debian based
distribution.
I may be wrong, but I experiencing exactly the problems mentioned at
https://github.com/amattioc/SDMX/issues/130
and at
https://github.com/s-u/rJava/issues/110
A couple of packages (RJSDMX and xlsx) are now impossible to install
on my debian stretch platform running R 3.4.
It seems I am not the only one
2012 Nov 30
1
CreateThread failure since R 2.15.2 (32-bit)
Dear R users & developers,
I coming across the following issue since R 2.15.2 32-bit (running on
Windows XP 32.bit; some output left out for conciseness):
> setInternet2(TRUE)
> require(rJava)
> .jinit()
> getCRANmirrors()
> system("ls" , intern = TRUE)
Error in system("ls", intern = TRUE) : CreateThread failed
My details are as follows:
>
2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
Not sure if this the right place, but I can't seem to subscribe to the rJava
mailing list. Sorry for the noise.
I have a jar file in the CLASSPATH variable. On running .jinit and checking
.jclassPath, i can see the jar file containing the class. Yet when trying to
instantaite the class, i get a class not found error.
Now If if, create my own vm (see below), and then run .jinit (which will
2010 Apr 28
1
rJava (installation?) problem: unable to find the basic String class
Hello,
I have experienced the following problem after installing rJava (it
being a prerequisite for another package in which I am relly
interested). Any helpful thoughts would be appreciated:
OS: Windows XP Professional 2002 SP3, have Java 6 Update 20 from Sun,
also installed the JDK from
http://java.sun.com/javase/downloads/index.jsp (or at least I suspect
I installed it as it asked to re-boot
2013 Feb 28
3
conflict between rJava and data.table
Dear devel-listers,
I found a conflct between rJava and data.table. Actually me questions is where to report it?
Should I rather send it directly to the package maintainers or post it on some bug tracker.
The problem is that data.table has a function called "J" and rJava uses the same quite intensively.
I used the xlsx R package which depends on rJava to write .xls files and ran
2012 Oct 19
2
Mac and Windows binaries of rJava broken for R-devel?
Hi,
Here is a problem we see with the Mac and Windows binaries of
rJava (0.9-3) currently available on CRAN for R-devel (i.e. under
bin/macosx/leopard/contrib/2.16/ and bin/windows/contrib/2.16/):
> library(rJava)
> .jinit("gaggle/inst/jars/gaggleRShell.jar")
Error in .Call("R_do_new_object", ClassDef, PACKAGE = "base") :
2013 Apr 11
1
parallel::mclapply does not return try-error objects with mc.preschedule=TRUE
Hello,
Consider this:
1)
library(parallel)
res <- mclapply(1:2, stop)
#Warning message:
#In mclapply(1:2, stop) :
# all scheduled cores encountered errors in user code
is(res[[1]], 'try-error')
#[1] FALSE
2)
library(parallel)
res <- mclapply(1:2, stop, mc.preschedule=FALSE)
#Warning message:
#In mclapply(1:2, stop, mc.preschedule = FALSE) :
# 2 function calls resulted in an
2007 May 17
5
rJava problem
Basically, I?m trying to install rJava on my windows XP machine. I think I
have succeeded in doing so as it appears in the list when i type library()
in R.
However, when i type ?library(rJava)? I get an error dialog box saying:
'This application has failed to start because jvm.dll was not found.
Re-installing the application may fix this problem'
When I press 'OK' on the dialog
2017 Jun 25
1
rJava Broken on Linux + R 3.4
Dear All,
I think there is something wrong with rJava on any Debian based
distribution.
I may be wrong, but I experiencing exactly the problems mentioned at
https://github.com/amattioc/SDMX/issues/130
and at
https://github.com/s-u/rJava/issues/110
A couple of packages (RJSDMX and xlsx) are now impossible to install
on my debian stretch platform running R 3.4.
It seems I am not the only one
2007 Sep 27
2
rJava and RJDBC
I am desperate for help.
I am trying to get the RJDBC and rJava .5to work on both my windows xp
and linux Redhat EL5 Server. On both I get a
ava.lang.ClassNotFoundException when calling JDBC().
My example is
require(RJDBC)
classPath='C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connector-java-5.1.3-rc-bin.jar'
driverClass=c("com.mysql.jdbc.Driver")
drv <-
2008 Feb 19
1
rJava and matrices
Hi list,
I'm wanting to use a matrix as input to some java code, but I seem to be
unable to do this (See code below). When searching online for a solution I
found that rJava 0.5-2 (the version under development not yet in CRAN) is
adding "direct support for raw vectors as method parameters". Is this
related?
I also tried to use .jarray / .jcast in various combinations to no avail.
2017 Jun 26
2
rJava Broken on Linux + R 3.4
Hi Dirk,
It was unclear to me to which extent it is a
kernel/security patch vs (r)Java issue.
In any case, this is really problematic for me as it prevents me de
facto from running some key R packages for my daily work.
I'll post again if I see some solution (other than downgrading the
kernel) somewhere.
Meanwhile, any suggestions for a fix is welcome.
Cheers
Lorenzo
On Mon, Jun 26, 2017
2012 Dec 31
3
weird bug with parallel, RSQlite and tcltk
Hello,
I spent a lot of a time on a weird bug, and I just managed to narrow it down.
In parallel code (here with parallel::mclappy, but I got it
doMC/multicore too), if the library(tcltk) is loaded, R hangs when
trying to open a DB connection.
I got the same behaviour on two different computers, one dual-core,
and one 2 xeon quad-core.
Here's the code:
library(parallel)
library(RSQLite)
2014 Aug 01
1
Update R on a new Linux Mint Maya 13 + rJava and XLConnect
Folks,
I was able to get R installed using:
apt-get install r-base-core
R version 2.14.1 (2011-12-22)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i686-pc-linux-gnu (32-bit)
* What is the best way to upgrade to the latest version of R.
* What is the best way to install rJava and XLConnect.
Thanks for your time,
Best,
KW
PS. I know some of you
2012 Oct 16
1
Problems with xlsx and rjava
Hi,
I keep getting the below error regarding rJava which is required by package xlsx (I have used it in the past to directly import data from Excel 2010).
I was on R version 2.15.0 when I was getting this error this morning. So I upgraded to 2.15.1 but still the same problem. I tried unstalling and reinstalling xlsx and even rJava directly from the source as indicated here:
2010 Aug 12
1
multicore mclapply error
I'm running r 2. on a mac running 10.6.4 and a dual-core macbook pro. I'm having a funny time with multicore. When I run it with 2 cores, mclapply, R borks with the following error.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__()
2011 Jun 27
3
XLConnect Error
Any ideas of what is happening when I attempt to load XLConnect? I think I
installed everything correctly. I posted what I get when I installed rJava
as well as when I attempted to load rJava directly. Thanks in advance for
any help you can give on this.
library(XLConnect)
Loading required package: XLConnectJars
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for
2012 Oct 30
1
rJava Out of Memory Error
I'm running XLConnect 0.2-1 that depends on rJava 0.9-3. I am only able to
work with 2 workbooks before I get this error...
> SppRich = wb["SpeciesRichness"] # This command calls an Excel
> spreadsheet
Error: OutOfMemoryError (Java): GC overhead limit exceeded
I have tried...
> rm(list = ls())
... to clear the workspace, but it doesn't help. I am using RStudio
2007 May 17
2
.jinit() problem
Hello there.
When I try to start the jvm using .jinit() after loading library(rJava) I
don't seem to be able to as I get the message:
Error in .jinit() : Cannot create Java Virtual Machine
What is going on here? I have java 1.6 installed on my XP machine
Thanks again.
--
View this message in context: http://www.nabble.com/.jinit%28%29-problem-tf3774265.html#a10671963
Sent from the R