Sarah_R_edu wrote on 10/11/2011 04:57:08 AM:
> 
> Hi every one ,,,,
> 
> i have problem in R program to import the data from excel ,
> 
> I have done the following:
> 
> 1. install.packages("xlsReadWrite")
> 
> 2. library(xlsReadWrite)
> 
> 3. z<- 
read.xls("ReadXls",LTS,colNames=FALSE,sheet,type,form,rowNames=FALSE)
> 
> and i got on the result:
> 
> Error in read.xls("ReadXls", LTS, colNames = FALSE, rowNames = FALSE) :
> 
>  object 'LTS' not found
> 
> also i tried to done  < data(LTS, package = "xlsReadWrite")
> 
>  and we got on : Warning message: In data(LTS, package = "xlsReadWrite") 
:
> data set 'LTS' not found
> 
> How i get on LTS in the list objects? 
> 
> Note: LTS is name my data in Eexcl
> 
> 
> 
> &
> 
> 
> 
> i used another way as following:
> 
> mydata<- read.table("C:\Users\user\Desktop\LTS.xls")
> 
> but its not working how can i do it?
> 
> */My regards,,,,/ *


Try this

z <- read.xls(file="C:\\Users\\user\\Desktop\\LTS.xls", colNames=FALSE, 
rowNames=FALSE)


Jean
        [[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.

Reply via email to