Error in gzfile(file, "wb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "wb") :
cannot open compressed file 'C:/Users/Sam/Documents/R projects/trip data.RDataTmp', probable reason 'No such file or directory'
Warning message:
In file.remove(outfile) :
cannot remove file '~/R projects/trip data.RDataTmp', reason 'No such file or directory'
Hello @Areeb_Ahmed_Multani ,
You only give us 'some' error message.
Can you please tell us what you want to do and send us the code that you used ?
View(X2020_04_tripdata)
save.image("~/R projects/trip.RData")
Error in gzfile(file, "wb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "wb") :
cannot open compressed file 'C:/Users/Sam/Documents/R projects/trip.RDataTmp', probable reason 'No such file or directory'
Warning message:
In file.remove(outfile) :
cannot remove file '~/R projects/trip.RDataTmp', reason 'No such file or directory'
Hello @HanOostdijk
I import a CSV file and when I try to save the dataset I get an error.
I can't save my work
Your code would fail if R projects
was not in your home (~). Can you show that it is ?
@nirgrahamuk
you are right.
I tried the same code and it failed with the same messages.
Only after creating the R projects
in my documents folder it worked correctly
Edited : should be in your case C:/Users/Sam/Documents
I already created the folder in document folder C:\Users\Sam\Documents\R projects
but still can't save it as well as I can't save the script it also throws me an error.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.