Re: [R] Reading in and manipulating multiple data sets from the same input file

2011-03-04 Thread Richard M. Heiberger
The message "Error in profile$Y : object of type 'closure' is not subsettable" means R thinks you are attempting to subset the function profile. Pick a different name for your variable to avoid the name clash. On Fri, Mar 4, 2011 at 11:18 AM, mattnixon wrote: > Hi, > > I am attempting to wri

Re: [R] Reading in and manipulating multiple data sets from the same input file

2011-03-04 Thread Ista Zahn
Hi, I'm afraid it's not clear to me what you are trying to do. Can you clarify what result you are trying to achieve? Best, Ista On Fri, Mar 4, 2011 at 11:18 AM, mattnixon wrote: > Hi, > > I am attempting to write code which will read in my data which is of this > form: > > X1        Y1        X

[R] Reading in and manipulating multiple data sets from the same input file

2011-03-04 Thread mattnixon
Hi, I am attempting to write code which will read in my data which is of this form: X1Y1X2 Y2 XnYn 0 0 0 00 0 1 0 1 255 1 0 2 255