Displaying 20 results from an estimated 40000 matches similar to: "using jpeg() in BATCH mode"
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::",
2005 Feb 25
5
[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH
Hi Community,
here is the problem, Linux problem (reported to work on Windows). I need
to generate graphical output in any of bitmap format under the 'R CMD
BATCH'. Whereas the script generating png-s works perfectly in the R
session, such things as X11, png and jpeg are not usable in BATCH (they
cannot be switched on by --gui-X11 etc) and X11 is prompted to be
required for png. At
2005 Feb 25
5
[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH
Hi Community,
here is the problem, Linux problem (reported to work on Windows). I need
to generate graphical output in any of bitmap format under the 'R CMD
BATCH'. Whereas the script generating png-s works perfectly in the R
session, such things as X11, png and jpeg are not usable in BATCH (they
cannot be switched on by --gui-X11 etc) and X11 is prompted to be
required for png. At
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
2007 Oct 29
1
SavePlot in the Batch mode
Hi R,
Does 'savePlot' will not work in the batch mode? I get the below error:
> x=c(1,2,3,4,5,6,7)
> hist(x)
> savePlot("D:\\Test\\histo",type="jpeg")
Error in savePlot("D:\\Test\\histo", type = "jpeg") :
can only copy from 'windows' devices
Execution halted
The same works in the interactive mode. What
2003 Nov 26
2
creating graphs in BATCH mode
Hi
a short question is there a way to generate jpeg's etc. in BATCH mode ? The
following example does not work in BATCH:
I have a file called Rgraph.in:
*rsy at puffin*[15:11][~][57]> cat Rgraph.in
jpeg("/tmp/my.jpg")
hist(runif(10000))
dev.off()
*rsy at puffin*[15:11][~][58]>
*rsy at puffin*[15:09][~][55]> R BATCH Rgraph.in OUT
4.120u 0.160s 0:05.17 82.7% 0+0k
2001 Aug 06
1
running R from Perl
Hi everyone,
I'm interested in running R remotely from a Perl program--specifically I
want to plot some data in Perl and return the graph as an object to Perl.
Does anyone know if this is possible?
Thanks,
Evan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2000 Apr 05
1
Working with R batch
Hi all,
I'm trying to invoke R from a perl program, using R BATCH. My original
R program wrote an output to a file and plotted a graph. I'm having
problems with the following three things:
1) To get the output file name form the perl program I wrote the
following, in my R program:
commandArguments <- commandArgs();
outputFile <- commandArguments[length(commandArguments)];
This
2007 Oct 12
1
Batch-Plot Histograms
Hi everyone,
anybody’s got an idea why the following script doesn’t produce batch-histograms?
I’m using Windows XP and R 2.5.1.
Here’s the script:
matrix<-read.csv("C:\\Stadtwerke_mit_Umlage.csv", header=TRUE,sep=";",dec=".")
Stadtwerke<-colnames(matrix)
Bereich_blau<-66.67
Schleifen<-dim(matrix)[2]
2004 Sep 30
2
How to save graphics in portable way in batch mode?
Hi all,
What is the right portable way to save graphics
in batch mode?
Remarks:
1. Problem is STFWed and RTFMed. In particular a short note
about png() is found in R-FAQ. In fact, there were stated
that png() is not reliable under Linux in batch mode.
2. savePlot under windows is quite convenient, but
not supplied under Linux.
3. pdf() + postscript() < savePlot()
2002 Apr 11
3
graphics in batch mode
Hi!
The R-intro guide states that:
"The graphics facilities can be used in both interactive and batch
modes,.."
but I'm trying both
R BATCH commands.file
and
R --no-save < commands.file
and, although I get no errors and
the output file with the results is
written to disk, I get no graphics.
(I want the R function to leave
results in a file that a shell script
reads and use,
2004 May 24
1
Mac OS X jpg
Hi,
I am using R 1.9.0 (2004-04-12) for Mac OS X. I am having trouble
printing to a jpg file. This only happens when I use R in batch (with
the BATCH option) mode. If I launch the R GUI or the command line
version and run the script from either, I have no problems. Only when
running in BATCH mode I get a file with the same name as my script
where I find the following message at the end:
2001 Jul 17
1
vector angle
Hi everyone,
I'm translating into R some programs I worked through in Matlab to
calculate the angle between two vectors (very large--like 6200 rows in
each vector). In Matlab, I used a series of nested for loops, because I
was calculating the angles between many pairs of vectors. I know for
loops are not desirable in R code, so I was wondering if anyone could
recommend a faster way to
2002 Aug 15
2
How to run R to generate graphics (jpeg) files dynamically ?
Hello.
I am getting started with R system and I have a question:
I'd like to use R system to generate some graphics (jpeg) files dynamically
from
command line or perl script (like: > Rgui -input_r_file <file>.r
-output_jpeg_file <file>.jpeg)
1) How should I invoke R to read the data from external file.
2) How should I invoke R to run statements from external *.r file.
3) How
2003 May 01
1
Batch Mode?
I realize batch mode is still experimental, but I was hoping there might be
a workaround for a problem I am getting.
I have been trying to run some tests and I get the below error when I use
the --read-batch option to. I can successfully create an initial set of
batch files, then a second set based upon a few modified test files from the
first batch. When I first run the --read-batch option
2005 Mar 28
4
batch mode error
Anyone,
When attempting to use batch mode to update a
second host by executing the .sh file I get:
[root@sspfedweb batch]# ./obsession_0000.sh
Batch file ./batch/obsession_0000.rsync_flist open error: No such file or directory
rsync error: syntax or usage error (code 1) at batch.c(241)
Can anyone tell me whatI'm doing wrong.
I tar and gzip the batch directory and ftp to the target
2005 Nov 18
3
How to run R in batch mode
Hello to everybody!
I want to run R in batch mode but it doen't work (Error: syntax error)
I've found this in R help:
R CMD BATCH [options] infile [outfile]
I have tried differents commands:
(I have been working in the same directory I have "test.txt" file and
"test2.txt" would be the output file)
> R CMD BATCH "test.txt"
or
> R CMD BATCH
2004 May 17
1
batch-mode fixes [was: [PATCH] fix read-batch SEGFAULT]
Chris,
to put things in the right prespective, you should read (if you haven't
done so already) the original paper describing the design behind batch
mode. The design and implementation of this functionality goes back to
a project called the Internet2 Distributed Storage Infrastructure
(I2-DSI). As part of that project, the authors created a modified
version of rsync (called rsync+)
2006 May 17
2
batch mode and remote destination
Whats the reason that using a batch file can't be used with a remote
destination?
rsync --read-batch=foo /mysrc remote:/dest
gives
remote destination is not allowed with --read-batch
I need to push the same set of files to about 20 servers and because of
firewall rules, the 20 servers cannot pull from the central one.
Thanks
Kimo
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