Skip to content
Prev 31463 / 398513 Next

List of lists? Data frames? (Or other data structures?)

On Wed, 30 Apr 2003, Roger Peng wrote:

            
Only if you don't specify colClasses: if you do (and you would need the
information to use scan()) there should be no performance penalty. (Note
that matrices can be scan()-ed into a vector and the dimensions added, and
that will be faster.)
You are supposed to use [[ ]] to extract a single component. I don't think
you expected
[1] "A"

(as from 1.7.0).
Something is going to have to loop, so it probably is not slow to use an 
explicit loop.

  
    
Message-ID: <Pine.LNX.4.44.0305010834050.7578-100000@gannet.stats>
In-Reply-To: <Pine.GSO.4.10.10304301821470.2486-100000@quetelet.stat.ucla.edu>