Displaying 20 results from an estimated 4000 matches similar to: "File opening error after 1020 files opened"
2003 Dec 09
1
Importing TIFF files into a R matrix
Hi
I am facing a problem where I would like to import a TIFF image (of spots on a nylon filter) into R (into a matrix for example). When plotting the matrix using fx. scatterplot3d I would then be able to see how the pixel-intensities are distributed in "spot-areas" on the filter - which would be very helpful.
Does anynone know of a way to do this?
Best regards,
Peter Hagedorn
...
2003 Jun 24
1
Reading graphics files
Is there a tool for reading a graphics file into an object? I might not
be looking with the correct vocabulary, but I'm finding lots of references
to producing graphics from R, but not any for inputting graphics into R.
I'd like to use a jpeg image and have the data available in R for
analysis. I could convert the image to another format, PPM perhaps, and
parse that in, GRASS seems like
2003 Aug 22
1
SYSLINUX 2.06-pre3
I have released a SYSLINUX 2.06-pre3. This includes modifications to
ppmtolss16 so that it should now be completely compliant with all modes
of the PNM specification, raw/plain, PBM/PGM/PPM, with comment lines or
without.
ftp://ftp.zytor.com/pub/linux/utils/boot/syslinux/Testing/
Please test it out ASAP if at all possible. Since the fixes for -pre1
and -pre2 were pretty essential, I'd like
2003 May 16
1
Images Import and Analysis
I'm starting a time study on an area. To determine if an individual has
entered the area, we are having timed photographs taken of the area. What I
want to do is import the image files (either one at a time or
simultaneously), convert it to a density image, take the density at multiple
points in the image and determine if they are over an area average
(indicating someone or something is in
2008 Mar 19
1
adimpro package : R does not seem to find my ImageMagick installation
Dear list,
(sorry if I post to the wrong place...),
Though having spent some time on it, I cannot find an answer by myself
to the following behaviour of the read.image function (adimpro package) :
I'm running R.2.6.2 on Windows XP. The home directory is C:\Program
files\R\R-2.6.2
Version 0.4.4 of adimpro is loaded.
ImageMagick 6.3.0 is installed, its directory is C:\Program
2009 Jun 15
1
display SVG, PNG, GIF, JPEG, TIFF, PPM in new plot frame
Dear R-help
I want to display an image file in a new plot frame.
SVG is my preferred format, but I can also consider
PNG, GIF, JPEG, TIFF, and PPM (from ImageMagick).
By way of background (although not material to this
posting), the image file is generated by a call to
'dot' (part of the 'Graphviz' suite) after the required
.dot file has been produced using hand-crafted R code.
2007 Apr 25
5
Upload PDF / Save as tiff
Hi,
I''m trying to automate the conversion of a PDF document received via a
browser upload to a tiff image via ghostscript. I have the PDF data in
a string, and I need the tiff data returned into a string.
The general command I want to emulate is:
type test.pdf | "c:\program files\gs\gs8.56\bin\gswin32c.exe" -q
-dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sOutputFile=- > test5.tiff
2003 Mar 01
1
RE: [R] File opening error after 1020 files opened
Maybe open.connection() should also check if the connection is already
open and given an error or at least a warning if it is. Suggested code
update:
open.connection <- function(con, open="r", blocking=TRUE, ...) {
if (!inherits(con, "connection"))
stop("argument is not a connection")
if (isOpen(con)) # NEW
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
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
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=
2007 Mar 11
4
Faking it... import local files into attachment_fu
Hello,
I''m working on an import utility that will match the functionality of
uploading an object of a model that uses attachment_fu for
thumbnailing, etc.
Rather than uploading the file via a form, I want to populate the
params[:image][:uploaded_data] with data from a file already on the
server''s file system.
So far, I''ve been able to copy to an instance of Tempfile
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
at 2nd line.
Suggested fix for
1999 Sep 30
6
Graphics output device
Dear developers,
I wonder would you consider making a save to a graphics file format (as opposed
to ps)?
What prompts this is that we have just finished my wife's thesis using R
heavily for stats and graphs. The combination of latex, bibtex and R generated
.eps worked a treat and we were very pleased with both the final outcome and
the efficiency of gernerating it, especially when all the
2002 Oct 08
3
small question regarding syslinux
hi,
one pretty small question ....
i wanted to create my own mini-distribution, using syslinux to boot the
system.
Everything works pretty fine, but now i wanted to see a graphic on boot
time. :-)
I saw i have to create a graphic with the file-extension .ppm ... but please
tell me with which programm i am able to use such an extension? gimp? dont
think so ...
hope to hear of you ...
thanks in
2007 Mar 04
1
Problem using callNextMethod() in S4
Dear all,
Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I
have problems
using function callNextMethod() in method initialize.
I am loading the following code as file "testS4.R":
setClass("baseClass",
representation(myname = "character",
mydir = "character",
"VIRTUAL"),
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-22)
R is free software and comes with ABSOLUTELY NO
2009 May 18
1
S4 method dispatch and namespaces: why is default method selected
Hi,
I ran into the following peculiarity involving S4 method dispatch and
namespaces.
I develop a package which have a namespace and which depends on 'pixmap'
package, which itself does not have a namespace.
Now, in my package I have a class which has a slot for objects from
class "pixmap" and I
want to have a "plot" method for this new class. Not to clutter the
2002 Mar 12
2
problem with environment detecting
Hello!
I want to detect some environment on a remote host (in C program, getenv()),
but it is failed. Here is a little program which I try to run on a remote
host with command: "#ssh myhost myecho"
/* myecho */
#include <stdio.h>
main (){
char *dir;
if ((dir = getenv("MYDIR")) != NULL)
printf ("environment is %s\n",dir);
2008 Apr 07
2
problem with Rmpi 0.5-5 and openmpi
Dear knowledgeable experts :-),
I am trying to get openmpi, Rmpi and SNOW running on a Myrinet/GM
cluster. I'm not an IT expert, but I surely could use a working
installation of Rmpi and SNOW.
I try to load the Rmpi library and get the following:
> library(Rmpi)
[master:07230] mca: base: component_find: unable to open osc pt2pt: file
not found (ignored)