Dear all,

 

I'd like to ask help on R code to get the same results as the following
Splus code:

 

 

>indata<-importData("/home/data_new.csv")

 

>indata[1:5,4]

[1] 0930 1601 1006 1032 1020

 

I tried the following R code:

 

> indata<-read.csv("/home/data_new.csv")

> indata[1:5,4]

[1]  930 1601 1006 1032 1020

 

I'd like the first one to be 0930, too.

 

Thanks in advance,

 

 

Betty

 

 

 

 


        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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