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
>>>>> On Tue, 22 Apr 2003 11:42:08 -0500, >>>>> Kenneth Cabrera (KC) 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 Hmm, works for me on debian linux, will have to check on windows (today I have no access to a windows machine). best, -- ------------------------------------------------------------------- Friedrich Leisch Institut f?r Statistik & DSS Tel: (+43 1) 4277 38613 Universit?t Wien Fax: (+43 1) 4277 38639 Universit?tsstra?e 5 Friedrich.Leisch at univie.ac.at 1010 Wien, Austria http://mailbox.univie.ac.at/Friedrich.Leisch
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.zipIt seems to be a problem with this specific binary file for windows. Installing from sources solves the problem. I made a fresh bundled binary available at http://www.statistik.uni-dortmund.de/~ligges/pixmap_0.3-2.zip while Brian seems to be away for recompiling these days.> 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?This seems to be solved now.> Thank you for your help. > > KennethUwe Ligges
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 >