Displaying 1 result from an estimated 1 matches for "rome3".
Did you mean:
romer
2008 Dec 10
2
read.*: How to read from a URL?
...ore general problem than just read.jpeg,
so maybe there is a general idiom for this case, or better-- other
read.* functions could
be encouraged to support URLs.
> library(rimage)
> # local file: OK
> gimage <-
read.jpeg("C:/Documents/milestone/images/vanLangren/google-toledo-rome3.jpg")
>
> gimageloc <-
"http://euclid.psych.yorku.ca/SCS/Gallery/images/Private/Langren/google-toledo-rome3.jpg"
> dest <- paste(tempfile(),'.jpg', sep='')
> download.file(gimageloc, dest, mode="wb")
trying URL
'http://euclid.psyc...