I have some trouble to open Rdata files on Rstudio.
I tried different directory.
I tried the load()
function.
I set up the file pathway with setwd()
.
I made sure that the file pathway did not contain spaces or accent or particular character in it.
I tried the function load(file.choose())
.
The file is 8.4 Mb (so not empty).
But it keeps saying:
"Object is not found"
It is downloaded from the internet but when I try load(url())
it says:
"cannot open the connection", however I do have internet connection. It also says "status was 'Couldn't connect to server' ".
Any thoughts ? Any ideas to solve the problem would be greatly appreciated.
Try using the full path to locate the file.
C:/Downloads/thedata.RData
file.exists("C:/Downloads/thedata.RData")
load("C:/Downloads/thedata.RData")
file.exists()
is FALSE then the file was not reachable. Try moving it to another place and try againThe error you get is
Object not found
. This error message doesn't seem to be used within theload()
function. It can occur if the file-path is missing the surrounding quotes.Maybe you forgot to quote the filename?