[R] spreadsheet data import

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Apr 26 14:01:02 CEST 2002


Tomás Revilla wrote:
> 
> Hi colleages!
> 
> I want to import data from ms-excel and other spreadsheet formats (lotus, etc). Does exist any way to do it within
> R? The main problem is that many spreadsheet data use comma as decimal separator and not the point as needed in R
> (and many software for Linux), so importing data first as a tab separated values does not solve this problem.

What about 
 read.table(..., dec=",")
as mentioned in ?read.table ?

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list