[R] Can not save files
Duncan Murdoch
murdoch.duncan at gmail.com
Thu Jan 1 01:19:31 CET 2015
On 31/12/2014 6:29 PM, John Sorkin wrote:
> When I try to save a file, I get "Permission denied".
> Can someone let me know why this happens?
>
>
> I am running under Windows 7, Rstudio
>
>
>> save(TheResults,file="c:\\data")
> Error in gzfile(file, "wb") : cannot open the connection
> In addition: Warning message:
> In gzfile(file, "wb") :
> cannot open compressed file 'c:\data', probable reason 'Permission
> denied'
>
>
>> save(TheResults,file="c:/data")
> Error in gzfile(file, "wb") : cannot open the connection
> In addition: Warning message:
> In gzfile(file, "wb") :
> cannot open compressed file 'c:/data', probable reason 'Permission
> denied'
Can you save to the file "c:\data" from within Notepad? (You may need
the quotes to stop it from adding .txt on the end.)
Duncan Murdoch
More information about the R-help
mailing list