[R] Problem reading a CSV

Paulo Barata pbarata at infolink.com.br
Tue Jul 1 16:44:26 CEST 2008


Nina,

In which way have you obtained your CSV file? Did you export data
from an Excel spreadsheet?

Regards,

Paulo Barata

-----------------------------------------------------------------------
Paulo Barata
Fundacao Oswaldo Cruz
Rua Leopoldo Bulhoes 1480 - 8A
21041-210  Rio de Janeiro - RJ
Brazil

E-mail: pbarata at infolink.com.br
Alternative e-mail: paulo.barata at ensp.fiocruz.br
-----------------------------------------------------------------------

 >Message: 48
 >Date: Mon, 30 Jun 2008 14:16:58 -0400
 >From: naw3 at duke.edu
 >Subject: [R] Problem reading a CSV
 >To: R-help at r-project.org
 >Message-ID: <20080630141658.pkd03tmw8owo40ss at webmail.duke.edu>
 >Content-Type: text/plain;	charset=ISO-8859-1
 >
 >
 >Hi,
 >
 >I have a CSV file where each row has at least 20 columns and some >rows
 >have up to 30 columns of data. When I use the command,
 >
 >Pathways<-read.table('MetaCycSample3.csv',sep=',',header=FALSE,quote='"')
 >
 >anything past the 21st column gets kicked down to a new row. How can >I
 >fix this?
 >
 >Thanks,
 >-Nina



More information about the R-help mailing list