Displaying 20 results from an estimated 10000 matches similar to: "[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH"
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.
2005 Feb 25
3
passing command line arguments to 'R CMD BATCH myScript.R'
Hi Community,
I have a question about how to pass command line parameters to R script
running in the batch mode. The problem is: there is a banch of data
files which are to be processed by R script called from a web-server,
i.e. in the batch mode. The web server generates data files and passes
their names calling 'R CMD BATCH' one by one for every file. Now the
question is how to
2008 Feb 19
1
Bug using X11 on mac osx (for jpeg or png creation) (PR#10800)
Full_Name: Stephane Bonneaud
Version: 2.6.2
OS: OSX - Leopard 10.5.2
Submission from: (NULL) (195.221.233.130)
Hello,
I have a R code file containing the following code:
-------
# This code is in r2jpg.r
# myData is filled here with some data from a file
jpeg(filename="test.jpg",width=960,height=720,pointsize=16,quality=100)
plot(myData,xlab="anything",
2007 Jul 23
2
R2.6 bug in arithmetics of S4 classes inherited from 'array', or intended behavior?
Hi,
I have an S4 class directly derived from 'array' as shown in the code
below (EBImage package of Bioconductor 2.1, devel), it simply contains
array adding a couple of slots:
setClass ("Image",
representation (colormode="integer", filename="character",
compression="character", resolution="numeric", features="list"
),
2005 Dec 14
2
X11 png jpeg cledit false when running from script
Hello,
When launching R from a script, when queried it reports the following
capabilities as false: jpeg, png, x11 and cledit. When R is run from a
terminal session, all of these capabilities are reported true. R is
running on FC4. As the purpose of this script is to output the png file
to a browser, it is unable to complete because of this. Any ideas are
appreciated. We have an identical
2009 Jan 13
2
particulars of importing/loading libraries
Dear List:
Sorry for posting maybe a trivial question, but I have a basic
understanding problem. If I have say pack1 and pack2, two R packages,
and pack2 depends on and imports pack1 fully (as in the code below), is
there a way to make all the functionality of pack1 available for the
global and other environments (not only for the functions called from
withing pack2) by loading pack2 only? I
2003 Jun 12
1
Problems for runing R in BATCH to generate PNG/JPEG files
Hello all:
After I compile the R-1.7 with the follows in
Linux7.3:
configure --with-x --with-jpeglib --with-libpng
--x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib
and make and make install. The R is able to generate
PNG/JPEG files from the command line. However, when I
put the same commands in a batch file and run:
R --gui BATCH R.Batch.file
It gave me a error in the
2008 Feb 21
2
jpeg in batch mode
Hello,
I am running some commands in batch on a server that I SSH into; some of
the commands call jpeg(). If I continue to stay signed on (with my
xwindows working on my machine) then the jpeg() command works (with a
single caveat, below). If I leave it and sign off (with a nohup command
in front of my BATCH) then jpeg gives me an error like this:
Error in X11(paste("jpeg::",
2008 Feb 12
4
assigning NULLs to elements of a list
Dear developers:
I have just came across an (unexpected to me) behaviour of lists when
assigning NULLs to list elements. I understand that a NULL is a valid R
object, thus assigning a NULL to a list element should yield exactly the
same result as assigning any other object. So I was surprised when
assigning a NULL in fact removed the element from the list. Is this an
intended behaviour? If
2006 Nov 03
1
R CMD BATCH: unable to start device PNG
And on that note, here is a function that I use to get around it:
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Jeffrey Horner
Sent: Friday, November 03, 2006 10:01 AM
To: ryszard.czerminski at novartis.com
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] R CMD BATCH: unable to start device PNG
ryszard.czerminski
2007 Jan 08
2
Plot .jpeg image in margins?
Is it possible to plot an image (currently a jpeg) in the margins?
Thanks,
Kari
[[alternative HTML version deleted]]
2007 Feb 08
1
Impossible to get jpeg or png output
Hi,
When I want to output a png file, I have the following error message :
Error dans X11(paste("jpeg::", quality, ":", filename, sep = ""), width, :
inpossible de d?marrer le p?riph?rique JPEG
De plus : Warning message:
impossible d'ouvrir le fichier JPEG 'Test.jpeg'
or in english
Error in X11(paste("jpeg::", quality, ":",
2007 Jan 30
4
Speed of for loops
Hi Everyone,
I have a question about for loops. If you have something like:
f <- function(x) {
y <- rep(NA,10);
for( i in 1:10 ) {
if ( i > 3 ) {
if ( is.na(y[i-3]) == FALSE ) {
# some calculation F which depends on one or more of the previously
generated values in the series
y[i] = y[i-1]+x[i];
} else {
y[i] <- x[i];
}
}
}
y
}
e.g.
>
2007 Jan 30
4
Speed of for loops
Hi Everyone,
I have a question about for loops. If you have something like:
f <- function(x) {
y <- rep(NA,10);
for( i in 1:10 ) {
if ( i > 3 ) {
if ( is.na(y[i-3]) == FALSE ) {
# some calculation F which depends on one or more of the previously
generated values in the series
y[i] = y[i-1]+x[i];
} else {
y[i] <- x[i];
}
}
}
y
}
e.g.
>
2008 Apr 07
3
Overriding axis formatting with custom Axis method, Axis.numeric etc
Dear list:
I would like to override the default way R formats plot axes with a
custom method(s). Obviously I would prefer to define it as general as
possible avoiding writing a custom method for each individual class
where possible.
The plot.default method (and I assume other methods as well) calls
Axis(...) to produce the axis layout depending on data. In this sense it
seems reasonable to
2008 Jan 07
3
Finding windows DLLs
The XML package relies on libxml2.dll (e.g., bundled with the CRAN
binary) installed in library/XML/libs. Unfortunately,
c:/WINDOWS/system32/libxml2.dll will be found and loaded before
this.
Is there any programatic solution?
Thanks,
Martin
--
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109
Location: Arnold
2005 Nov 21
3
PNG-import into R
Hi there
I'm looking for a function to read PNG-bitmap-images from a file into R.
I only found:
- the pixmap-package which cannot import png or similar formats
- the rimage-package which can only import lossy jpeg-images (the
convertion from png to jpeg modifies the data!)
Is there any possibility to read PNG-files?
Thanks for any help
Dominic Sydler
2007 Oct 16
4
Create *png or *.jpeg plot under Linux
I have an example where i plot an image and load it dynamically in an image
analysis tool to create
a film (dynamic graph). This works well under Windows but i can't plot to
*.png or *.jpeg files
under Linux (Ubuntu) with the same command.
I'm using:
png(file,width=200,height=200) or jpeg(file,width=200,height=200)
Any help is appreciated
With kind regards
Marcel
--
View this
2003 Dec 30
2
split.screen problem with jpeg/png device (PR#6223)
Full_Name: Steve Koehler
Version: 1.8.1
OS: Solaris and Windows
Submission from: (NULL) (192.55.214.50)
In the following program, if output is sent to X11, you get all four graphs,
but if output is sent to .jpeg, you only get the C and D graphs. A workaround
is to do all the screen splitting at the top, before using any screens. This
also
fails with .png output.
jpeg ("test.jpeg")
2008 May 04
1
texi2dvi instead of pdflatex in R2.7.0? and related bioc 2.2 builds
Dear lists:
I am somewhat puzzled by the use of texi2dvi/pdflatex in R2.7.0. When
building EBImage (bioconductor) with 2.7.0 I get the same error both in
Windows and Linux, which reads the following:
** building package indices ...
* DONE (EBImage)
* creating vignettes ... ERROR
/usr/bin/texi2dvi: pdflatex exited with bad status, quitting.
Error in texi2dvi(file = bft, pdf = TRUE, clean =