[R] for loop and if problem

Sake tlep.nav.ekas at hccnet.nl
Tue Jan 13 10:21:54 CET 2009


Thanks! Why did I not think at that myself. .csv means 'Comma Separated
Value' 


David Winsemius wrote:
> 
> write.csv does exactly what you would expect ... creates a *Comma*  
> Separated Values file. If you don't want a comma separated value  
> format then use write.table with sep=";"
> 
> You can still name it "whatever.csv".
> 
> Or you if you also intend commas for decimal points,  use write.csv2  
> as described in the help page:
> 
> "write.csv2 uses a comma for the decimal point and a semicolon for the  
> separator, the Excel convention for CSV files in some Western European  
> locales."
> 
> 
> -- 
> David Winsemius
> 
> 

-- 
View this message in context: http://www.nabble.com/for-loop-and-if-problem-tp21312449p21431947.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list