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
t; Sent: Wednesday, 23 July 2008 3:43 p.m.
> To: r-help@r-project.org
> Subject: [R] Can't Load Text Files
>
> Hi,
>
> I've completely forgotten how to do R, and it seems I can't
> even load simple files correctly.
>
> I have two tab deliminated text files
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
Hi,
I've completely forgotten how to do R, and it seems I can't even load
simple files correctly.
I have two tab deliminated text files (attached, these were test files
of the larger data files I'm trying to work with) that I am trying to
load into R so that I can merge them. They were origi
4 matches
Mail list logo