[Rd] multicore mclapply hangs

2009-08-10 Thread Rune Schjellerup Philosof
When I execute mclapply it creates the needed processes, but these processes never begin computing anything, they just wait indefinitely. I recently upgraded to version 2.9.1, which might have caused the problem. -- Med venlig hilsen Rune Schjellerup Philosof Ph.d.-studerende, Statistik, IST

[Rd] debug: mtrace(fun, FALSE) doesn't work for me

2009-08-03 Thread Rune Schjellerup Philosof
-2intrepid. Apparently it would be fixed if unmtrace is changed from body(f) - list(body(f)[[3]]) to body(f) - body(f)[[3]] -- Regards Rune Schjellerup Philosof Ph.d.-studerende, Statistik, IST, SDU Telefon: 6550 3607 E-mail: rphilo...@health.sdu.dk Adresse: J.B. Winsløwsvej 9, 5000 Odense C

[Rd] R thread safe

2009-03-18 Thread Rune Schjellerup Philosof
] - tmp$result1 data2[, i] - tmp$result2 } runParallelInThreads(1:c, dataFiller) If this can be done almost as fast and simple with processes, for instance using the multicore package, then I think it needs to be better documented. -- Regards Rune Schjellerup Philosof

Re: [Rd] R thread safe

2009-03-18 Thread Rune Schjellerup Philosof
Simon Urbanek wrote: On Mar 18, 2009, at 8:59 , Rune Schjellerup Philosof wrote: A simple example of use: data1 - data2 - matrix(0, r, c) dataFiller - function(i) { tmp - someCalculation(i) data1[, i] - tmp$result1 data2[, i] - tmp$result2 } runParallelInThreads(1:c, dataFiller

Re: [Rd] 'javareconf -e' as normal user (PR#12544)

2008-08-18 Thread Rune Schjellerup Philosof
Simon Urbanek skrev: Rune, On Aug 15, 2008, at 8:50 AM, [EMAIL PROTECTED] wrote: Full_Name: Rune Philosof Version: 2.6.2 and 2.7.1 OS: Ubuntu 8.04 Submission from: (NULL) (130.226.87.177) When I try to install rJava I am requested to run 'R CMD javareconf -e' if I don't have root access.