search for: pnm

Displaying 20 results from an estimated 91 matches for "pnm".

Did you mean: pm
2001 Aug 29
2
Missing functions in package e1071(Win*)
Hi! After unziping the CRAN file e1071.zip on my Win95 library directory, I start R and type >library(e1071) After that, help commands of the e1071 functions work (i.e., help(read.pnm), BUT some functions themselves are not available: > read.pnm Error: Object "read.pnm" not found I've looked at the file library/R/e1071 with an ascii editor and it seems like the functions there are not all the ones listed in the help for e1071. Indeed, after listing the availa...
2013 Mar 22
2
read.pnm question in R-beta
In R-beta (Masked Marvel), when I do the example from the read.pnm help file, this is what happens: x <- read.pnm(system.file("pictures/logo.pgm",package="pixmap")[1]) Warning message: In rep(cellres, length=2): x is NULL so the result will be NULL In R-2.15.3, it's all right. Thanks, Erin Erin M. Hodgess, Ph.D. Associate Professor D...
2003 Feb 28
2
File opening error after 1020 files opened
Hi, I am trying to use "read.pnm" from the package "pixmap" to read more than 10 thousand image files in "mydir". > file.list <- dir( "mydir", full=T) > for( i in 1:length(file.list) ) { print(i) x <- read.pnm(file.list[i]) } In the beginning it was fine. But after readin...
2004 Aug 25
1
Pixmap problem
Hi, I'm having trouble writing .pnm images which I think is due to a problem with my colour space. The pixmap object seems to be looking for 72 of 8 colours (one per cell?) which doesn't seem healthy... > library(pixmap) > x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=rainbow(8)) > x Pixmap image Type : pix...
2003 Feb 01
1
Try for to use in read.pnm()
Hi, I don't obtain to use try to capture an error of read.pnm(). I was using: res <- try(read.pnm(file_name)) But I don't understand that the variable res represents, or eiher, as I can access its attrbites. Tks, Francisco. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Francisco J?nior, Computer Science - UFPE-Brazil "One life has more value that the wo...
2003 Nov 21
1
How to read .bmp files into R? read.pnm throws error
Hi, Is there a way to read .bmp files into R? I have tried read.pnm from pixmap package. It returned Error in pm.readmagicnumber(con) : Not a PNM format file Anyother ways to load bitmap images? Yi-Xiong
2008 Jul 28
1
Are there any packages that can process images other than pixelmap (i.e. pnm)?
Hi, all, I am having trouble getting R to take pnm images via mogrify i.e. mogrify -resize 320x217 -format pnm *.png However R via pixmap says that it can't read the file. If you have any ideas like a package that can read jpeg files, etc., I would appreciate it. Best wishes, Art Roberts University of Washington
2009 Apr 09
1
reading an image and adding a legend
Hi all, I would like to 1. Read in an arcmap image into R (I can export pretty much any type of image jpeg, bitmap etc from arcmap) 2. Use R to create a nice colour legend in the plot First of all, Is this possible? So far I'm stuck on point 1. I have tried read.pnm() from pixmap and read.jpeg() from rgl. the pnm example provided works fine x <- read.pnm(system.file("pictures/logo.ppm", package="pixmap")[1]) plot(x) #draws an R logo, nice :-) But my code returns an error x<-read.pnm("C:/Documents and Settings/simonp/My Documen...
2002 Oct 16
1
SYSLINUX: display a pnm
Hi! I'm Turbo24prg and want to ask you, if I can use the code in SYSLINUX that display an PNM-File on the screen. I'm writting an open-source OS, named InfiniT OS and want to use this code in it. Thanks in advance. thx & cu Turbo24prg ->> Have you written it, or have you implemented out of an other source, and if it is so can you send me the source, please? ____________...
2013 Mar 22
1
read.pnm question
Dear R People: I am trying to replicate a cool example that I saw on the R-bloggers some time ago by kafka399. Here are the lines tI think may be causing the trouble: gray_file <- read.pnm(path) pos[i,] <- c(gray_file@grey) The warning error that I get is "In rep(cellres, length=2): x is NULL so the result will be NULL Any suggestions would be much appreciated. Thanks, Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Scienc...
2000 Oct 09
2
a listening test tool
"Willmore, David (VS Central)" wrote: > > Can ogg22pl take input from standard in? Sometimes leaving the file name > off will default it to that or by putting a '-' as the file name. Similar > things go for standard out. (stop me if these aren't familiar terms) Ogg22pl is is ogg123 with only the sampling rate variable changed. So if ogg123 can do that,
2012 Oct 26
1
asking about R Code
Hi, my name is Ellen. I want to ask you about R Code. I got a code for extracting a pixel value, but I can't compile it..  It is said "Error in is.data.frame(x) : object 'lena' not found" Here is the original full code: library(pixmap) lena <- read.pnm("oldlennablur.pgm") write.table(lena@grey,"mylenna", quote=FALSE, row.names = FALSE, col.names= FALSE) plot(pixmapGrey(as.matrix(read.table("mylenn")))) do you know why i got the error? i have change the "oldlennablur.pgm" with the one i have and also with t...
2003 Jan 29
1
Error
people, I'm using the pixmap library and method read.pnm() for to read figures and it's giving the following error: Error in substr(inpstr, com1, stop = ns) : evaluation is nested too deeply: infinite recursion? I think that to be because of its size. Am I correct? Tks, Francisco. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Francisco Júnior, Co...
1999 Nov 11
2
Display Pictures in R
Hi, how can I import pictures in R (e.g. bmp or tiff) and display them in an X11? Thanks Sigurd -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/19991111/9923e65c/attachment.html
2003 Apr 22
3
Problem with pixmap on R 1.7.0?
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
2002 Oct 14
1
import a bitmap image and add it to graphics display
Hello Is there a possibility to import and add a bitmap image (png or similar) to a R graphics display. It would be helpful e.g. to locate positions of points of a scanned map or to add a background to a R graphic. Wolfram -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
2007 Apr 20
1
faster image display?
Does someone here know of a way to display images in R that isn't slow? Here are the things I've tried so far: library(rimage) i<-read.jpeg('foo.jpg') plot(i) # very slow library(pixmap) i <- read.pnm('foo.pnm') plot(i) # also slow chans <- getChannels(i) image(chans[,,1]) # this is slow too I also tried using library(cairoDevice) but it only makes everything look beautiful without making the images fast. [[alternative HTML version deleted]]
2003 May 05
1
ppmtolss16 fix
Hi! using ppmtolss16 tool from syslinux-2.04 with an input .pnm file created with gimp 1.2.3, I bumbed into the following error: [root at azur syslinux-2.04]# ./ppmtolss16 < /home/sr/try.pnm > /tmp/t ./ppmtolss16: Input format error 1 [root at azur syslinux-2.04]# The problem is that gimp adds the comment # CREATOR: The GIMP's PNM Filter Version 1.0...
2003 Jun 05
1
ppmtolss16, Permature EOF!
...boot loader, to create a customized boot cd. As an add on to that process, i thought of displaying the product logo in the bootup screen. So as the document suggested i went on to create the lss from png. But it failed with following message. $ ~archives/syslinux-2.04/ppmtolss16 < ipm-white.pnm > ipm-white.lss './ppmtolss16: Premature EOF at (9,53) of (131,62)' I converted the image from png to pnm using pngtopnm which came from netpbm-progs-9.24-6. Please help me to solve the problem. TIA. bye. uday. -- Reply To : perl -e 'print pack "H*","756b5f6...
2001 Nov 20
1
trouble running pixmap examples
I am having trouble running the 'read.pnm' examples in this package. Can anyone tell me what is wrong? I am using the current package and running Redhat 7.2 (intel). The other examples seem fine but I can't seem to pull in files. [root at KENNY root]# R R : Copyright 2001, The R Development Core Team Version 1.3.0 (2001-06-...