You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# test read in the dataset from /data/test.txt
df <- read.table('data/test.txt', header = FALSE)
causes
Warning message in file(file, "rt"):
“cannot open file 'data/test.txt': No such file or directory”
Error in file(file, "rt"): cannot open the connection
Traceback:
1. read.table("data/test.txt", header = FALSE)
2. file(file, "rt")
meanwhile
# read from web hosted files
df <- read.table("https://s3.amazonaws.com/assets.datacamp.com/blog_assets/test.txt",
header = FALSE)
works
The text was updated successfully, but these errors were encountered:
When I add a data folder as I've done here -> https://github.com/UKDataServiceOpen/r-course-starter/tree/master/data
running
causes
meanwhile
works
The text was updated successfully, but these errors were encountered: