Re: [R] Error: serialization is too large to store in a raw vector

2011-11-03 Thread Martin Morgan

On 11/02/2011 03:37 PM, Alaios wrote:

Dear all,
I have quite large code (with lapply and mclapply)
and I am getting the following error.

Error: serialization is too large to store in a raw vector

Is it possible to ask from R to extend the Error messages with more details?
I would like to see where this problem exists.


This is likely from the return value of mclapply's FUN: 
parallel:::sendMaster tries to serialize it, and fails.


  serialize(integer(.Machine$integer.max / 4), NULL, TRUE)

do further data reduction before trying to return the results (probably 
a parallel 'best practices' anyway). Neither traceback() nor 
options(error=recover) deal gracefully with mclapply errors like this.


Hope that helps,

Martin



B.R
Alex
[[alternative HTML version deleted]]

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



--
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793

__
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] Error: serialization is too large to store in a raw vector

2011-11-02 Thread Alaios
Dear all,
I have quite large code (with lapply and mclapply)
and I am getting the following error.

Error: serialization is too large to store in a raw vector

Is it possible to ask from R to extend the Error messages with more details?
I would like to see where this problem exists.

B.R
Alex
[[alternative HTML version deleted]]

__
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] Error: serialization is too large to store in a raw vector

2011-11-02 Thread Bert Gunter
?traceback
?options  ## especially _recover_ for the error option.

-- Bert

On Wed, Nov 2, 2011 at 3:37 PM, Alaios ala...@yahoo.com wrote:

 Dear all,
 I have quite large code (with lapply and mclapply)
 and I am getting the following error.

 Error: serialization is too large to store in a raw vector

 Is it possible to ask from R to extend the Error messages with more
 details?
 I would like to see where this problem exists.

 B.R
 Alex
[[alternative HTML version deleted]]

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




-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

[[alternative HTML version deleted]]

__
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] Error: serialization is too large to store in a raw vector

2011-11-02 Thread David Winsemius


On Nov 2, 2011, at 6:37 PM, Alaios ala...@yahoo.com wrote:

 Dear all,
 I have quite large code (with lapply and mclapply)
 and I am getting the following error.
 
 Error: serialization is too large to store in a raw vector
 
 Is it possible to ask from R to extend the Error messages with more details?
 I would like to see where this problem exists.
 
?traceback

 B.R
 Alex
[[alternative HTML version deleted]]
 
 __
 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.