[R] stripping #s in a text file prior to reading into table or dataframe
Duncan Murdoch
murdoch.duncan at gmail.com
Wed Oct 27 16:08:56 CEST 2010
On 27/10/2010 9:51 AM, Donald Braman wrote:
> Thanks for your advice! I still get the same error, though -- not sure
> why.
>
>
> > read.table('don.5.clusters.txt', header = TRUE, comment.char = '', quote
> ='')
>
> Error in read.table("don.5.clusters.txt", header = TRUE, comment.char = "",
> :
>
> more columns than column names
>
>
> Any other thoughts?
You should post a few lines of your file, or a similarly structured one
that leads to the same error if the data is confidential.
Duncan Murdoch
More information about the R-help
mailing list