Look at "colClasses" in ?read.csv

> Date: Thu, 5 Sep 2013 18:14:49 +0530
> From: kiran4u2all@gmail.com
> To: r-help@r-project.org
> Subject: [R] Problem with converting F to FALSE
> 
> Hi,
> I have a peculier problem in R-Project that is when my CSV file have one
> column with all values as 'F' the R-Project converting this 'F' to FALSE.
> Can some one please suggest how to stop this convertion. Because I want to
> use 'F' in my calculations and show it in screen. for example my data is
> like
> 
> sex  group
> F       1
> F       2
> F       3
> 
> but when I use read.csv and load the csv file data is converting it to
> 
> sex          group
> FALSE       1
> FALSE       2
> FALSE       3
> but i want it as source data like
> 
> sex group
> F      1
> F      2
> F      3
> 
> 
> Thanks in advance,
> D V Kiran Kumar
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
 		 	   		  
	[[alternative HTML version deleted]]

