Hi,
Thanks, but I'm not sure I know what you mean by "insert a ENTER after
the last value". Do you mean press enter after I write in the last value?
Jia Ying Mei
milton ruser wrote:
setwd("c:\\temp")
#you need to insert a ENTER after your last value
> df1<-read.table("testinput.txt", hea
Jia Ying Mei
If I understand you correctly I think you need read.table(). Try:
?read.table
and note the sep argument (sep='\t')
HTH .
Peter Alspach
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jia Ying Mei
> Sent: Wednesday, 23 July
setwd("c:\\temp")
#you need to insert a ENTER after your last value
> df1<-read.table("testinput.txt", head=T, sep="\t")
> df1
Date France Germany
1 3/15/07 1 2
2 3/10/07 2 4
> df2<-read.table("testdate.txt", head=T, sep="\t")
> df2
Date
1 3/15/07
2 3/14/07
3 3/13
3 matches
Mail list logo