Skip to content
Prev 312667 / 398506 Next

Plot from a jpeg

On 27.11.2012 22:38, bgnumis wrote:
Yes, there are many packages around,

One idea:

download.file("http://www.user2007.org/photos/r-cake.jpg", jpfile <- 
tempfile(), mode="wb")
library("ReadImages")
jp <- read.jpeg(jpfile)
par(mfrow=c(3,1))
plot(jp)
plot(jp)
plot(jp)


Best,
Uwe Ligges