Displaying 1 result from an estimated 1 matches for "rtmp9nntdv".
2008 Dec 10
2
read.*: How to read from a URL?
...e(gimageloc, dest, mode="wb")
trying URL
'http://euclid.psych.yorku.ca/SCS/Gallery/images/Private/Langren/google-toledo-rome3.jpg'
Content type 'image/jpeg' length 35349 bytes (34 Kb)
opened URL
downloaded 34 Kb
> dest
[1] "C:\\DOCUME~1\\default\\LOCALS~1\\Temp\\Rtmp9nNTdV\\file5f906952.jpg"
> # Is there something simpler??
> gimage <- read.jpeg(dest)
> # I thought file() might work, but evidently not.
> gimage <- read.jpeg(file(gimageloc))
Error in read.jpeg(file(gimageloc)) : Can't open file.
>
--
Michael Friendly Email:...