Skip to content
Prev 304341 / 398503 Next

R Download 'Permission Denied'

Hello,

I am receiving a 'Permission Denied' error when trying to use the R Download
funtion.

I am wondering if this is a:

- Error in the code
- Permissions issue at source
- Permissions issue at destination.

If you could shed any light on this it would be very much appreciated, below
is a sample of the code.


Code

download.file("http://www.nhc.noaa.gov/storm_graphics/api/AL092012_029adv_CONE.kmz",
"C:\\Users\\jones\\Desktop")
print("Downloaded File")

Error

Error in
download.file("http://www.nhc.noaa.gov/storm_graphics/api/AL092012_029adv_CONE.kmz", 
: 
  cannot open destfile C:\\Users\\jones\\Desktop, reason 'Permission denied'




--
View this message in context: http://r.789695.n4.nabble.com/R-Download-Permission-Denied-tp4641568.html
Sent from the R help mailing list archive at Nabble.com.