Re: [R] dimension trouble for a matrix

2009-07-23 Thread Steve Lianoglou
Hi Erin, On Jul 23, 2009, at 2:12 PM, Erin Hodgess wrote: Dear R People: I'm having trouble with something that should be very simple. I'm setting up a matrix outside of a loop and writing items into it during the loop. Here is the output: glob3b("sites.info") dim 27 3 [1] "/raid1/osg-app

[R] dimension trouble for a matrix

2009-07-23 Thread Erin Hodgess
Dear R People: I'm having trouble with something that should be very simple. I'm setting up a matrix outside of a loop and writing items into it during the loop. Here is the output: > glob3b("sites.info") dim 27 3 [1] "/raid1/osg-app" Error in xy[i, ] : incorrect number of dimensions Here is