Displaying 20 results from an estimated 4000 matches similar to: "read.pnm question in R-beta"
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,
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
2013 Sep 17
1
strange behavior for RcmdrPlugin.qual
Hello!
Over the weekend, I updated my RcmdrPlugin.qual package.
It works fine on a 64 bit Windows machine but not a 32 bit. This is very strange. The new menu with all of the Quality Control stuff does not appear.
Have any of you run into this sort of thing before, please?
Thanks,
Sincerely,
Erin
Erin M. Hodgess, Ph.D.
Associate Professor
Department of Computer and Mathematical Sciences
2003 Jun 12
3
breaks
Dear R People:
I have a question about a "sorting" problem, please.
I have a vector xx:
> xx
[1] -2.0 1.4 -1.2 -2.2 0.4 1.5 -2.2 0.2 -0.4 -0.9
and a vector of breaks:
> xx.y
[1] -2.2000000 -0.9666667 0.2666667 1.5000000
I want to produce another vector z which contains the number of the class
that each data point is in.
for instance, xx[1] is between xx.y[1] and
2011 Mar 24
2
running a script repeatedly
Dear Debian People:
Is there a way to run a little script (on Ubuntu Manic Meerkat) every hour, please?
I know that this is more of a LINUX/UNIX question rather than an R question. Sorry.
Thanks,
Erin
Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse@uhd.edu
[[alternative HTML version deleted]]
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
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=
2010 Jul 06
2
accessing underlying code
Dear R Developers:
Is there a way to look at the underlying code from such items as R_setup_starma, please?
Thanks,
Erin
Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse@uhd.edu
[[alternative HTML version deleted]]
2009 Nov 23
1
problems with Rcmdr on R-2.10.0 with Karmic Koala
Dear R Debian People:
I have put this on regular R help as well, but thought that I'd try here too.
I updated to R-2.10.0 on Ubuntu Karmic Koala via apt-get update, apt-get install.
Then I had a problem that said that I need MASS <= R-2.9.2. Fair enough. Uwe Ligges was kind enough to point out that I needed to use
> update.packges(checkBuilt=TRUE)
So I did.
Now the menu on Rcmdr
2010 Apr 25
1
a side note to the Rcmdr issue
Hi again.
On Windows, when I try to use the "install packages" from the menu, there is no Rcmdr and no RcmdrPlugins to be seen.
thanks,
Erin
Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse@uhd.edu
[[alternative HTML version deleted]]
2010 Jul 06
1
using svd in regression with arima
Dear R Developers:
Why is it that the singular value decomposition is used when running regression with arima, please? I've been looking for a reference for that but have come up empty so far.
Thank you for any help.
Sincerely,
Erin
Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse@uhd.edu
2011 Mar 05
1
problem with building bitmapdll on Windows
Dear R Development People:
I was trying to build R-2.12.2 from source on a Windows XP machine.
Doing the make all recommended works fine, but building the bitmap dll is a problem.
It seems to be in the libpng directory. I got libpng-1.5.1, and untarred it. However, there is no makefile.mingw file in the scripts directory.
I then obtained a version of libpng-1.4.5, and the file is there.
2010 Apr 25
1
problem with Rcmdr Plugins
Dear R Development People:
I have written a couple of plugins for Rcmdr and they do not seem to work with R-2.11.0.
Here is the output:
> library(RcmdrPlugin.epack)
Loading required package: Rcmdr
Loading required package: tcltk
Loading Tcl/Tk interface ... done
Loading required package: car
--- Please select a CRAN mirror for use in this session ---
Rcmdr Version 1.5-4
Attaching package:
2010 Jan 31
2
accessing the Windows side from Debian
Dear R Debian People:
I have a desktop which has both Windows and Debian operating systems.
If I am on the Debian side, is there a way to access file from the Windows side, please?
Thanks,
Erin
Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse@uhd.edu
[[alternative HTML version deleted]]
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
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
2011 Apr 12
2
regular expression question
Dear R People:
I have a data frame with the following column names:
> names(funky)
[1] "UHD.1" "UHD.2" "UHD.3" "UHD.4" "L..W..1" "L..W..2" "L..W..3"
[8] "L..W..4" "B..W..1" "B..W..2" "B..W..3" "B..W..4" "W..B..1" "W..B..2"
[15]
2003 Sep 18
2
Place a graphic into an R-plot
I have a graphic image in a file (say a *.jpeg or *.png file) and want to
put it into a plot. I have segmented the plot area by means of the layout
function and successfully plotted my data in the appropriate segments. I
cannot find how to put my graphic image onto the same plot. Searching the
archives has shed little light on my challenge.
Many thanks in anticipation.
Gordon
> version
2004 Jan 06
2
dist(x,y)
Hi Ryszard!
There is a dist function in R.
It's in the mva package.
You can set the kind of distance that you want.
Thanks,
Erin
mailto:hodgess at gator.uhd.edu