[R] read.csv interpreting numbers as factors

2013-12-10 Thread Bill
Why does R interpret a column of numbers in a csv file as a factor when using read.csv() and how can I prevent that. The data looks like 9928 3502 146 404 1831 686 249 I tried kick=read.csv(kick.csv,stringsAsFactors =FALSE) as well as kick=read.csv(kick.csv) Thanks On Mon, Dec 2, 2013 at 5:16

Re: [R] read.csv interpreting numbers as factors

2013-12-10 Thread Jeff Newmiller
It is bad netiquette to hijack an existing thread for a new topic. Please start a new email thread when changing topics. If your data really consists of what you show, then read.csv won't behave that way. I suggest that you open the file in a text editor and look for odd characters. They may

Re: [R] read.csv interpreting numbers as factors

2013-12-10 Thread Barry Rowlingson
On Tue, Dec 10, 2013 at 10:06 AM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote: It is bad netiquette to hijack an existing thread for a new topic. Please start a new email thread when changing topics. If your data really consists of what you show, then read.csv won't behave that way. I