Re: [R] CreateThread failure since R 2.15.2 (32-bit)

2012-12-02 Thread Martin Studer
I tried with Java 1.6.0_20 and 1.7.0_09. It actually doesn't matter what
command I'm running with system. Any command will fail with the same error
message. But for the example I posted, yes, I was using ls from Rtools.

I found that I can only reproduce this with R 2.15.2+  32-bit on Windows
32-bit. There are no issues with R 2.15.2+ 32-bit on Windows 64-bit.

Best regards,
Martin






--
View this message in context: 
http://r.789695.n4.nabble.com/CreateThread-failure-since-R-2-15-2-32-bit-tp4651411p4651651.html
Sent from the R help mailing list archive at Nabble.com.

__
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] CreateThread failure since R 2.15.2 (32-bit)

2012-12-01 Thread Uwe Ligges



On 30.11.2012 12:27, Martin Studer wrote:

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):



Works for me. Which Java version are you using is this?
Perhaps Java changes the environment so that your version of ls fails. 
Is it the one from Rtools?


Uwe Ligges




setInternet2(TRUE)
require(rJava)
.jinit()
getCRANmirrors()
system(ls , intern = TRUE)

Error in system(ls, intern = TRUE) : CreateThread failed

My details are as follows:


sessionInfo()

R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=German_Switzerland.1252
LC_CTYPE=German_Switzerland.1252
LC_MONETARY=German_Switzerland.1252
[4] LC_NUMERIC=CLC_TIME=German_Switzerland.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

other attached packages:
[1] rJava_0.9-3


The failure appears since R 2.15.2, i.e. also with R 2.15.2patched and
with R-Devel. It does, however, not appear with e.g. R 2.15.1 or R
2.14.2. Also, I don't get the issue with R 2.15.2 64-bit (running on
Windows 7 Professional 64-bit).

Also note that the issue seems related to rJava in that running the
same without the rJava part (and therefore without initializing a JVM
instance) runs fine:


setInternet2(TRUE)
getCRANmirrors()
system(ls , intern = TRUE)


Any ideas on what the issue might be?

Thanks  Best regards,
Martin

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