Re: [R] Rscript hangs on exit with ubuntu 11.04

2011-05-17 Thread Mikael Högqvist
Hi Dirk, for me the following still hangs: R --vanilla -e 'library(plyr); ddply(data.frame(a=1:101,b=1:101), .(a,b), nrow)' but... when running the script via littler with "r -p bug.R" it returns. Thanks, Mikael On 17 May 2011 13:50, Dirk Eddelbuettel wrote: > > On 17 May 2011 at 12:18, Mikae

Re: [R] Rscript hangs on exit with ubuntu 11.04

2011-05-17 Thread Dirk Eddelbuettel
On 17 May 2011 at 12:18, Mikael Högqvist wrote: | Hi, | | I have run into a strange issue with Rscript and plyr. When running | the following Rscript: | | #!/usr/bin/Rscript | library(plyr) | d = ddply(data.frame(a=1:101,b=1:101), .(a,b), nrow) | head(d) | | the script does not terminate. It pr

[R] Rscript hangs on exit with ubuntu 11.04

2011-05-17 Thread Mikael Högqvist
Hi, I have run into a strange issue with Rscript and plyr. When running the following Rscript: #!/usr/bin/Rscript library(plyr) d = ddply(data.frame(a=1:101,b=1:101), .(a,b), nrow) head(d) the script does not terminate. It prints out the results from head(d), but does not return to the shell. By