[R] Problem with pixmap on R 1.7.0?
Roger Peng
rpeng at stat.ucla.edu
Wed Apr 23 19:50:19 CEST 2003
I think I've gotten this same error on a Linux (Red Hat 8.0) machine.
Here's the traceback:
> z <- read.pnm("llama.pnm")
Error in .class1(object) : Object "from" not found
> traceback()
10: .class1(object)
9: as(from, "pixmapChannels")
8: asMethod(object, Class, value)
7: "as<-"(*tmp*, Classi, value = obj)
6: initialize(value, ...)
5: initialize(value, ...)
4: new("pixmapRGB", pixmap(data, ...))
3: pixmapRGB(0, ncol = dim(res)[2], nrow = dim(res)[3], ...)
2: read.pnmdata(con, pnmhead, ...)
1: read.pnm("llama.pnm")
The image I used is at http://www.stat.ucla.edu/~rpeng/llama.pnm. One
other thing -- this image used to be a JPEG file and I converted it to pnm
using the `convert' program from ImageMagick. It's possible that
ImageMagick is screwing something up to but I'm not sure how to figure
that out.
-roger
_______________________________
UCLA Department of Statistics
http://www.stat.ucla.edu/~rpeng
On Tue, 22 Apr 2003, Kenneth Cabrera wrote:
> Hi R users:
> I got the following message when I use the pixmap library
> on R 1.7.0 over w2K platform (on R 1.6.2 it runs right).
>
> pixmapGrey(matrix(c(0,1),128,128))
> Error in .class1(object) : Object "from" not found
>
> I download the library .zip file from:
>
> http://cran.r-project.org/bin/windows/contrib/1.7/pixmap_0.3-2.zip
>
> Other question:
>
> When I try to "Install package(s) from bioconductor" I got the
> following message:
>
> local({a<-CRAN.packages(CRAN=getOption("BIOC"))
> + install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a,
> CRAN=getOption("BIOC"))})
>
> trying URL `http://www.bioconductor.org/bin/windows/contrib/1.7/PACKAGES'
> Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"), :
> cannot open: HTTP status was `404 Not Found'
>
> Are the packages in other path of www.bioconductor.org? Which one?
>
> Thank you for your help.
>
> Kenneth
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
More information about the R-help
mailing list