From J.C.Rougier@durham.ac.uk  Tue Oct 26 14:46:21 1999
From: J.C.Rougier@durham.ac.uk (J.C.Rougier@durham.ac.uk)
Date: Tue, 26 Oct 1999 15:46:21 +0200 (MET DST)
Subject: dodgy list operation (PR#298)
Message-ID: <199910261346.PAA10545@pubhealth.ku.dk>

I can generate a segmentation fault as follows, where I would expect a
syntax error:

fred <- as.list(1:10)
lapply(fred, "[[")

platform   sparc-sun-solaris2.5.1
arch       sparc                 
os         solaris2.5.1          
system     sparc, solaris2.5.1   
status                           
status.rev 0                     
major      0                     
minor      64.1                  
year       1999                  
month      May                   
day        8                     
language   R                     

Cheers, Jonathan.

Jonathan Rougier                       Science Laboratories
Department of Mathematical Sciences    South Road
University of Durham                   Durham DH1 3LE

"[B]egin upon the precept ... that the things we see are to be 
 weighed in the scale with what we know"  (Meredith, 1879, The Egoist)


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


dodgy list operation (PR#298)
J.C.Rougier@durham.ac.uk