[R] read.table with special chars

2010-01-19 Thread Marc Noguera
Hi all, I am just starting with R and I have come across a problem which I guess it is easy to solve. I am reading a table with read.table function. This table contains chars which seem to be problematic when reading them such as ' and #, if I remove these characters fromt the table by hand the

Re: [R] read.table with special chars

2010-01-19 Thread Jim Lemon
On 01/19/2010 07:41 PM, Marc Noguera wrote: Hi all, I am just starting with R and I have come across a problem which I guess it is easy to solve. I am reading a table with read.table function. This table contains chars which seem to be problematic when reading them such as ' and #, if I remove

Re: [R] read.table with special chars

2010-01-19 Thread Marc Noguera
Thanks Jim, I've tried that but still no luck. Some other suggestions? Thanks again Marc Jim Lemon wrote: On 01/19/2010 07:41 PM, Marc Noguera wrote: Hi all, I am just starting with R and I have come across a problem which I guess it is easy to solve. I am reading a table with read.table

Re: [R] read.table with special chars

2010-01-19 Thread Jim Lemon
On 01/19/2010 08:26 PM, Marc Noguera wrote: Thanks Jim, I've tried that but still no luck. Some other suggestions? The comment.char change should have worked, as others have reported that it did. The single quote problem came up a few weeks ago and the answer then was to remove the single