Re: [R] Jpg files in R

2008-08-25 Thread Henrique Dallazuanna
Right Barry, I forget. Thanks On Mon, Aug 25, 2008 at 4:51 PM, Barry Rowlingson <[EMAIL PROTECTED]> wrote: > 2008/8/25 Henrique Dallazuanna <[EMAIL PROTECTED]>: >> Is there the rimage package: >> >> >> if(!require(rimage))install.packages("rimage") >> x <- read.jpeg(system.file("data", "cat.jpg",

Re: [R] Jpg files in R

2008-08-25 Thread Barry Rowlingson
2008/8/25 Henrique Dallazuanna <[EMAIL PROTECTED]>: > Is there the rimage package: > > > if(!require(rimage))install.packages("rimage") > x <- read.jpeg(system.file("data", "cat.jpg", package="rimage")) Nice, but if the require() fails and the package installs via install.packages, you still have

Re: [R] Jpg files in R

2008-08-25 Thread Henrique Dallazuanna
Is there the rimage package: if(!require(rimage))install.packages("rimage") x <- read.jpeg(system.file("data", "cat.jpg", package="rimage")) dim(x)[1:2] 2008/8/25 Leandro Marino <[EMAIL PROTECTED]>: > > > > If I have an file like an JPG, gif, png or other, exist any kind of function > in the R

[R] Jpg files in R

2008-08-25 Thread Leandro Marino
If I have an file like an JPG, gif, png or other, exist any kind of function in the R to see de dimension in pixels of this image? Thanks Atenciosamente, Leandro Lins Marino Centro de Avaliacao Fundacao CESGRANRIO Rua Santa Alexandrina, 1011 - 2o andar Rio de Janeiro, RJ - CEP: 20261-903 * (