[Rd] list2env() is broken

Hervé Pagès hpages at fhcrc.org
Fri Oct 29 07:53:01 CEST 2010


Hi,

The following code produces different kinds of problems depending
on which platform you run it:

   x <- as.list(1:200000)
   names(x) <- paste("A", 1:200000, sep="")
   e <- list2env(x)

Timeout on Linux, crash on Mac and Windows, with R 2.12.0 and
current R devel.

The "multi-assign" mode (i.e. when the 'envir' arg is supplied)
doesn't seem to have this problem.

Cheers,
H.

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M2-B876
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the R-devel mailing list