Displaying 20 results from an estimated 30000 matches similar to: "X11, interactive device"
2012 Jun 04
1
X11 font error on headless server running Xvfb
I am trying to run an R script to create a .png file containing a tree map on a headless Linux server using Xvfb. When I try to run tmPlot, I get the following errors and warnings:
Error in grid.Call(L_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 1 at size 9 could not be loaded
Calls: tmPlot ... <Anonymous> ->
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 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.
2010 Mar 13
4
Creating images without X11
Dear Colleagues,
We are attempting to create trees using R with our Ruby on Rails
application. However, we are running into a problem involving the
creation of the graphic. We would like them to be in either jpg or png
format so that users can save, but due to a lack of control over our
sever we are unable to start X11 server. Is there a way to create
these images without using X11 server?
2003 Mar 17
4
X11 connection error in web cgi mode only
Dear all,
I am trying to create a web interface using Perl-CGI to call R plots and
to display them.
The following codes works perfectly fine when I copy and paste into the
console directly or if I save it into script.file and then R --no-save <
script.file producing the graphs.
jpeg("graph.jpeg", width=400, height=400)
plot(rnorm(100))
dev.off()
Now, I put the line system("R
2003 Jun 13
4
Using jpeg() function over cgi
Hi
I have seen a few posts to this list regarding problems accessing the x11() device over cgi - namely, when trying to create a graphic using the jpeg() function, everything is fine from the command line but it won't work over cgi, producing the error:
"Unable to open connection to X11 display"
Has anyone actually solved this particular problem satisfactorily?
Please reply
2005 May 10
2
filename
Hey,
I'm generating a .jpeg file for a web application passing parameters to
R via cgi. R gets the parameters by using commandArgs, which are passed
to a variable named j and z
j<-commandArgs()[3]
z<-commandArgs()[4]
Later I want to use the characters strings of the argument which the
variables are holding for my filename, e.g.:
jpeg(file="d:/data/images/jz.jpeg",...)
2007 Apr 02
3
Device drivers - png()/jpeg()
Hallo R-experts,
I produced a R graphic with the help of the following commands:
plot(0:4,0:4, type = "n", xlab = "X-Werte", ylab = "Y-Werte")
points(rnorm(100), rnorm(100), col = "black") locator(2, type= "l")
locator(2, type = "l", col = "red")
I could display this graphic by using windows() before entering those
commands.
2010 Sep 15
3
Creating publication-quality plots for use in Microsoft Word
Hi everyone,
I am trying to make some publication-quality plots for use in Microsoft
Word, but I am having trouble creating high-quality plots that are supported
by Microsoft Word.
If I use the R plot function to create the figure, the lines are jagged, and
the picture is not of high quality (same with JPEG(), TIFF(), and PNG()
functions). I have tried using the Cairo package, but it distorts
2005 Oct 12
1
running JPEG device on R 1.9.1 using xvfb-run on Linux
Hi there,
Does anybody have experience in running jpeg device using xvfb-run on
linux? I've been having sporadic problem with: /usr/X11/bin/xvfb-run
/usr/bin/R --no-save < Rinput.txt, with error saying: error in X11
connection. Especially when I run it from a perl script.
Is there a better way of doing this? or how can I fix the problem.
Thanks in advance!
David
[[alternative HTML
2007 Nov 06
3
Produce a multiple formats graphic
Is it possible to produce the same graphic in different formats
in one shot?
Now if I want to produce the same graphic in pdf, ps and jpeg
I run the producing code, but I change the graphic device, and
I choose successively :
pdf(...)
ps(...)
jpeg(...)
So in this case I run the same code 3 times, or I have
to choose a format and use converters...
Is it possible to produce the 3 graphics in once
2003 Jul 07
1
Xvfb and R
Hi
I have recently installed and implemented Xvfb (X virtual frame buffer) so that I can create jpegs using R over CGI (SUSE Linux 8.1 and Apache 1.3).
I have noticed that in order to do this, a file (Rplots.ps) is created in my cgi-bin directory everytime a cgi script is run. This could cause problems though as I have a multi-user system where it is possible that two different users will run
2013 Aug 14
6
convert webpage to image
What is the easiest way to convert a webpage into a jpg
or png file? I've seen several programs that can do
various conversions, but nothing open source that can
do it in a single conversion.
Just wondering if anyone on the list has suggestions
for something I can put into a script to convert a
webpage into a file I can use with my screensaver.
c
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
2007 Oct 08
2
Fill a polygon with a pattern
What is the simplest (namely: minimum number of libraries or conflicts)
way to fill a polygon with a pattern?
For example, suppose I have (in a graphic file, like a jpeg) the
drawing of an "X". Then I fill a polygon (like a triangle) with
this pattern, and get something like:
X
XXX
XXXXX
XXXXXXX
(where the border "X"s could be truncated).
I searched the rimage
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
2012 May 13
1
determine size (width and height) of a graphics file via R - how?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120513/4aaf35d4/attachment.pl>
2010 Sep 25
4
Help required
Is it possible to read jpeg files into R?
If yes please guide, Thanks.. I tried to search many time but failed to do.
Thankis in advance..
with Best Regards,
Malik Shahzad
Visiting Researcher
National Institute of Informatics (NII)
Tokyo, Japan
Doctoral Student
Asian Institute of Technology (AIT)
Bangkok, Thailand
+66-8-7676-5616
[[alternative HTML version deleted]]
2003 Jun 23
3
saving plots
Hi all, I am have an R script that makes many plots, and I would like to
string them into a movie file. To do that I have to save all of my plots as
jpegs or gifs. I don't want to go through all of my plots and save them by
hand though. Is there a way to automate saving the plots as a gif or a jpeg
so I can string them into a movie?
Thanks in advance
Matt Oliver
2012 Apr 23
1
How can I run package ca (correspondence analysis), which needs rgl, without X11?
I want to invoke R on a Linux Web server from Java, in order to analyse
data in ways that would take too long to code, and run too slowly, in
Java. In particular, to do correspondence analyses. To this end, I've
installed R version 2.15.0 on my Web host's x86_64 GNU/Linux machine, and
tried using package "ca" to run the "author" example of correspondence
analysis