Re: [R] rows missing after dataset loaded to R

2009-07-24 Thread Rnewbie
;> 801.408.8111 >> >> >>> -Original Message- >>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- >>> project.org] On Behalf Of Rnewbie >>> Sent: Thursday, July 23, 2009 11:02 AM >>> To: r-help@r-project.org >>&g

Re: [R] rows missing after dataset loaded to R

2009-07-23 Thread Gabor Grothendieck
Behalf Of Rnewbie >> Sent: Thursday, July 23, 2009 11:02 AM >> To: r-help@r-project.org >> Subject: Re: [R] rows missing after dataset loaded to R >> >> >> Thank you very much for the reply. I checked the rows and it was the >> unbalanced " quote marks

Re: [R] rows missing after dataset loaded to R

2009-07-23 Thread Greg Snow
ailto:r-help-boun...@r- > project.org] On Behalf Of Rnewbie > Sent: Thursday, July 23, 2009 11:02 AM > To: r-help@r-project.org > Subject: Re: [R] rows missing after dataset loaded to R > > > Thank you very much for the reply. I checked the rows and it was the > unbalanced &q

Re: [R] rows missing after dataset loaded to R

2009-07-23 Thread Rnewbie
Thank you very much for the reply. I checked the rows and it was the unbalanced " quote marks in some of the rows that caused the problem. Once I disabled quoting altogether, the problem is solved. I have one more basic question. I disabled quoting when loading the file to R, and all the columns

Re: [R] rows missing after dataset loaded to R

2009-07-23 Thread jim holtman
try using the options: quote='', comment.char='' You might have a comment character ("#") or unbalanced quote marks. Look closely at the rows that your missing, especially several rows prior to them. On Thu, Jul 23, 2009 at 9:35 AM, Rnewbie wrote: > > Dear all, > > When I loaded a dataset (a txt

[R] rows missing after dataset loaded to R

2009-07-23 Thread Rnewbie
Dear all, When I loaded a dataset (a txt file), which is structured in a tabular format, to R by using read.delim, I found some rows were missing. The column number was correct. These missing rows are no apparently different from the other rows, and for some unknown reasons these missing rows sca