similar to: RE: [R] File opening error after 1020 files opened

Displaying 20 results from an estimated 7000 matches similar to: "RE: [R] File opening error after 1020 files opened"

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
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 reading 1020 images or so, the read.pnm function seems to crash on
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 : pixmapIndexed Size : 6x12 Resolution : 1x1
2002 Mar 11
2
gif, jpeg and png image files reader
Hi all, Although R seems to have jpeg() and png() functions that converts data into jpeg and png formated files, it doesn't have functions the other way around. Does one of R contributed packages have gif, jpeg and png image readers? I did help.search() but no luck Regards, Jonathan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
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, Computer Science - UFPE-Brazil "One
2001 Sep 06
1
RFC: package pixmap
There is a new package pixmap in $CRAN/src/contrib/Devel which provides a first shot at a class hierarchy for bitmapped images (as both bitmap and image are already taken I named it pixmap ... if somebody has an idea for a better name, please let me know). This is by no means meant to be final ... more like a basis for discussion about classes for that purpose. It already has RGB, indexed and
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
2001 Sep 11
0
New package pixmap
A new package called `pixmap' has been released on CRAN. From the DESCRIPTION file: Package: pixmap Version: 0.2-1 Title: Bitmap Images (``Pixel Maps'') Depends: R (>= 1.3) Author: Friedrich Leisch and Roger Bivand Maintainer: Friedrich Leisch <Friedrich.Leisch at ci.tuwien.ac.at> Description: Functions for import, export, plotting and other manipulations of bitmapped
2009 May 21
3
file descriptor leak in getSrcLines in R 2.10.0 svn 48590
I noticed the following file descriptor leak when I couldn't remove a package unless I shut down the R session that had loaded and used it. The function that triggered the problem printed the output of a call to parse(). Each time one prints a srcref a connection is opened and not closed. It looks like it happens in as.character.srcref's call to getSrcLines, which has some logic I
2004 Jan 26
5
conditional assignment
Hi all I want to conditionally operate on certain elements of a matrix, let me explain it with a simple vector example > z<- c(1, 2, 3) > zz <- c(0,0,0) > null <- (z > 2) & ( zz <- z) > zz [1] 1 2 3 why zz is not (0, 0, 3) ????? the null <- assignment is to keep the console silent in the other hand, it curious that null has reasonable values > null [1]
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 <-
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 Department of Computer and
2003 Apr 28
4
how to present a table in powerpoint?
Hi, I have a nicely printed table of results generated by R's > print(myresult) where myresult is a "data frame". I am trying to put this table into a powerpoint slide for presentation without re-typing and re-formating, i.e., present it as it is in the R window. This saves time when there are a lot of tables to be presented. I tried > sink("myresult.txt") >
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=
2003 Dec 03
5
add a point to regression line and cook's distance
Hi, This is more a statistics question rather than R question. But I thought people on this list may have some pointers. MY question is like the following: I would like to have a robust regression line. The data I have are mostly clustered around a small range. So the regression line tend to be influenced strongly by outlier points (with large cook's distance). From the application 's
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
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
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 world whole"
2003 Jun 05
1
ppmtolss16, Permature EOF!
Hi , I am using syslinux-2.04. I used the isolinux 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:
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