Re: [Rd] There was a problem by the use of snow.

2007-06-25 Thread Prof Brian Ripley
We don't need to change as much as this. The OutBytes function is only called for small objects apart from CHARSXPs: the latter are limited to 2^31 - 1 bytes. So 'length' in a read/write will never exceed INT_MAX. In the current usage, the in-memory code is only used to write to a RAWSXP which

Re: [Rd] There was a problem by the use of snow.

2007-06-25 Thread Ei-ji Nakama
Thank you for advice. library(snow) cl <- makeSOCKcluster(c("localhost","localhost")) clusterCall(cl, function(x){Sys.sleep(10);1}) clusterCall(cl, function(x){Sys.sleep(60);1}) # Timeout Code. stopCluster(cl) I worked in AIX and Linux. diff -ruN R-devel.orig/src/include/Rinternals.h R-devel/src

Re: [Rd] There was a problem by the use of snow.

2007-06-25 Thread Prof Brian Ripley
On Mon, 25 Jun 2007, Ei-ji Nakama wrote: > problem of the very large memory require by the Sign extension. > > --- R-2.5.0.orig/src/main/serialize.c 2007-03-27 01:42:08.0 +0900 > +++ R-2.5.0/src/main/serialize.c2007-06-25 00:48:58.0 +0900 > @@ -1866,7 +1866,7 @@ > > stati

[Rd] There was a problem by the use of snow.

2007-06-24 Thread Ei-ji Nakama
problem of the very large memory require by the Sign extension. --- R-2.5.0.orig/src/main/serialize.c 2007-03-27 01:42:08.0 +0900 +++ R-2.5.0/src/main/serialize.c2007-06-25 00:48:58.0 +0900 @@ -1866,7 +1866,7 @@ static void resize_buffer(membuf_t mb, int needed) { -