File won't open in r

95 views Asked by At

I'm new to using R and thought I had opening files down but alas, I am struggling. This is the error message I am receiving:

Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open file 'reading.txt': No such file or directory

This is what I've been running and it all falls apart when I get to reading the table

file.choose()
ch3data<-read.delim("/Users/mackenziedawes/Desktop/Stats Class /Week 5: ch 3/reading.txt")
#set.wd()
ch3data<-read.table("reading.txt", header=T)
0

There are 0 answers