ject.org
Subject: Re: [R] Files with Missing Data
Norman Jessup wrote:
I'm a new R user so this is possibly a naive question. I'm trying to
load an external CSV file into a dataframe using:
df_name<-read.table("myfile.csv")
myfile.csv should have 5 elements per ro
-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Erik Iverson
Sent: Friday, July 02, 2010 3:44 AM
To: Norman Jessup
Cc: r-help@r-project.org
Subject: Re: [R] Files with Missing Data
Norman Jessup wrote:
> I'm a new R user so this is possibly a naive question. I'm t
Thanks to Peter and Erik - This advice resolved my problem.
regards
Norman Jessup
On 2/07/10 11:43 AM, Erik Iverson wrote:
Norman Jessup wrote:
I'm a new R user so this is possibly a naive question. I'm trying to
load an external CSV file into a dataframe using:
df_name<-read.table("myf
Norman Jessup wrote:
I'm a new R user so this is possibly a naive question. I'm trying to
load an external CSV file into a dataframe using:
df_name<-read.table("myfile.csv")
myfile.csv should have 5 elements per row, though a percentage are
missing the last two elements (the commas are pre
Tena koe Norman
The default separator for read.table is '' so you need to specify it as a comma:
dfName <- read.table("myfile.csv", sep=',')
or use read.csv().
HTH
Peter Alspach
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On
5 matches
Mail list logo