Re: [R] Issues with loading csv file

2015-05-26 Thread Shivi82
Hi Pat, Thanks for the suggestion. It worked for me. Actually I had not saved the file in the WD accidentally and with the help of get files syntax I got to know what was the issue. Thanks a ton. Shivi -- View this message in context: http://r.789695.n4.nabble.com/Issues-with-loading-csv-fil

Re: [R] Issues with loading csv file

2015-05-25 Thread WRAY NICHOLAS
Something you could try is to put a small csv file into a location and set the word to that and see whether it's finding it eg setwd("C:/Users/Shivi/Documents/") open this file, stick a csv doc and see whether R will read it Nick On 25 May 2015 at 13:19, Shivi82 wrote: > HI All, > > I am trying

Re: [R] Issues with loading csv file

2015-05-25 Thread Michael Dewey
You could try list.files() which will tell you which files R thinks are in your working directory. On 25/05/2015 13:19, Shivi82 wrote: HI All, I am trying to load an CSV file into the R project. the code for the same is: mydata<- read.csv("Jan-May Data.csv", header=TRUE) however with this I a

Re: [R] Issues with loading csv file

2015-05-25 Thread J Robertson-Burns
I suggest two commands to diagnose the problem: getwd() # show the working directory of R This is navigation tool #17. http://www.burns-stat.com/r-navigation-tools/ list.files() # show the files in the working directory You can copy and paste file names to avoid typing mistakes. (Not that I

Re: [R] Issues with loading csv file

2015-05-25 Thread Kevin E. Thorpe
On 05/25/2015 08:19 AM, Shivi82 wrote: HI All, I am trying to load an CSV file into the R project. the code for the same is: mydata<- read.csv("Jan-May Data.csv", header=TRUE) however with this I am getting the below error message: /*Error in file(file, "rt") : cannot open the connection In add

[R] Issues with loading csv file

2015-05-25 Thread Shivi82
HI All, I am trying to load an CSV file into the R project. the code for the same is: mydata<- read.csv("Jan-May Data.csv", header=TRUE) however with this I am getting the below error message: /*Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt