[R] import data into R

Ronggui Huang ronggui.huang at gmail.com
Wed Aug 5 18:26:12 CEST 2009


You can not import xls file by read.table. You may save xls as csv
file, and import it by read.csv.


2009/8/6 Inchallah Yarab <inchallahyarab at yahoo.fr>:
> Thank you Gabor Grothendieck for your answer !!
> i have charge the pachage but now i have this massage
>
>  read.table("c:/TOTAL.xls",h=T)
> [1] ÐÏ.à..
> <0 rows> (or 0-length row.names)
> Warning messages:
> 1: In read.table("c:/TOTAL.xls", h = T) :
>   incomplete final line found by readTableHeader on 'c:/TOTAL.xls'
> 2: In if (!header) rlabp <- FALSE :
>   the condition has length > 1 and only the first element will be used
> 3: In if (header) { :
>   the condition has length > 1 and only the first element will be used
>
>
> thank you
>
>
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at 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.
>
>



-- 
HUANG Ronggui, Wincent
PhD Candidate
Dept of Public and Social Administration
City University of Hong Kong
Home page: http://asrr.r-forge.r-project.org/rghuang.html




More information about the R-help mailing list