Re: [R] import csv file problem

2010-09-22 Thread sisxy
Erik Iverson-3 wrote: > > On 09/22/2010 07:24 PM, sisxy wrote: >> >> > > R will search in its working directory for Q.csv. > > What is the working directory, use getwd() to > find out. > > > Thanks , by using the getwd() , i found the place that i should save in my laptop... then after i

Re: [R] import csv file problem

2010-09-22 Thread sisxy
it's work by using the read.csv(file.choose())... thanks ^^ as a beginner , what kind of the material should i learn ??i know the R tutorial actually , the code i saw from previous topic in the forum, for a code like Q<-read.csv(file="Q.csv") ...i not really understand Q in front for the read ,

Re: [R] import csv file problem

2010-09-22 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of sisxy > Sent: Wednesday, September 22, 2010 5:25 PM > To: r-help@r-project.org > Subject: [R] import csv file problem > > > Hello, i am trying to

Re: [R] import csv file problem

2010-09-22 Thread Erik Iverson
On 09/22/2010 07:24 PM, sisxy wrote: Hello, i am trying to import the csv file into R . i have a file saved as csv in my desktop. My laptop is Window vista, version R is 2.10.1. then i used the code Q<-read.csv("Q.csv",header=TRUE) R will search in its working directory for Q.csv. What is t

Re: [R] import csv file problem

2010-09-22 Thread jim holtman
You are not in the correct directory. Use read.csv(file.choose()) so that you can interactively choose the correct location. On Wed, Sep 22, 2010 at 8:24 PM, sisxy wrote: > > Hello, i am trying to import the csv file into R . > i have a file saved as csv in my desktop. > My laptop is Window vi

[R] import csv file problem

2010-09-22 Thread sisxy
Hello, i am trying to import the csv file into R . i have a file saved as csv in my desktop. My laptop is Window vista, version R is 2.10.1. then i used the code > Q<-read.csv("Q.csv",header=TRUE) then my error is Error in file(file, "rt") : cannot open the connection In addition: Warning me