similar to: Generating R plots via Ruby CGI

Displaying 20 results from an estimated 5000 matches similar to: "Generating R plots via Ruby CGI"

2005 Jul 23
1
"%03d" in the pdf command
The pdf man page contains the following text: pdf(file = ifelse(onefile, "Rplots.pdf", "Rplot%03d.pdf"), width = 6, height = 6, onefile = TRUE, family = "Helvetica", title = "R Graphics Output", fonts = NULL, version = "1.1", paper, encoding, bg, fg, pointsize) I am creating multi-page graphics in which each
2000 Jun 16
1
postscript device on R-1.1.0
Am I the only one with this problem? > postscript() Error in old$command == "default" : comparison (1) is possible only for vector types The function postscript() is creates a list called "old". the function wants to access old$command, but old does not have a component called command. > postscript function (file = ifelse(onefile, "Rplots.ps",
2011 Nov 05
1
How to infer default width and height for a device?
Hi. GENERAL: Is there a general method for inferring default device settings, particularly 'width' and 'height', that works for all devices? AFAIK, the answer is no, but there might be functions out there that I don't know of. POSTSCRIPT SPECIFIC: If not, I'm considering implementing such a method myself. Is it possible for R to infer the default 'width' and
2008 May 26
2
R 2.7.0: pdf() > pdf.options versus formals
Hi, I have a tiny question about the graphics change in R 2.7.0. If I write a script ? la: options(device="pdf") formals(pdf)[c("file","onefile","width","height")] <- list("~/Rplot %03d.pdf", FALSE, 8, 8) plot(3) plot(4) both plots will be written into ONE pdf file. (not two as expected) This worked fine under 2.6.x In R 2.7.0 I
2000 Aug 10
1
Usage questions
Can I ask a couple of usage questions? (RedHat Linux 6.1, R-1.1) 1. This may just indicate I'm a dinosaur who can't leave SAS behind. I want to write programs and run them with source() to see what they do, then I would like to use the "up arrow" to go back through the commands that were in the file, fiddle them, see what they do, and so forth. Is there no way? SAS has a
2010 Oct 22
1
Display list redraw incomplete when exporting plots
I was just wondering if anyone knows what could be the problem with my exporting of plots. Below is the error messages I get when trying to export my plots (all error messages at the same time). I do get a file produced which works but I don't know why these messages appear. Doesn't matter if it is a pdf or a png or any other format I export to. Also, when exporting to png I get
2003 Sep 13
1
(no subject)
Dear all, for an interactive web application i need to produce a lot of graphics (up to 50) on demand. In the moment i'm using the png format. The png() ...using png(file="Rplot%03d.png", ...); 'plots' ; dev.off()... produces very good graphics. The problem is it takes too long to produce the png files. The bitmap() ...using bitmap(file="Rplot%03d.png",
2009 Aug 10
4
Saving plots to file
Appologies if this has been addressed before, but I can't seem to find it in the help archives. I'm looking to do something like the following but it looks like save.plot is deprecated. save.plot(plot(glm1$residuals,gain,main = "Hist of residuals and gain"),file="Desktop/hist1.png") Thanks in advance, Sean Session Info: R version 2.9.1 (2009-06-26)
2011 Oct 27
1
minimizing device-dependent code in graphics scripts
Here is a common scenario that I and probably others often face: - I write a script, test.R, to produce some graphs, viewing them on-screen and tinkering until they look right - I want to save image files (e.g., .png), so I wrap each plot in device driver calls, e.g., png(file='test01.png', width=600, height=600); plot(1:10) dev.off() png(file='test02.png', width=600,
2005 Aug 15
1
png and resolution (PR#8066)
Full_Name: Knut krueger Version: 2.1.1 OS: xp Home Submission from: (NULL) (149.225.134.34) In the png function the value res seems to be inactive: bmp(filename = "c:/r/Rplot%03d.bmp", width = 1920, height = 1920, pointsize = 48, bg = "white", res = 2400) result: witdh/heigth = 1920 <> 20.32 mm ppi=2400 Results as expected png(filename =
2003 Apr 22
4
Default value for title in postscript function
I like the fact that the postscript function enables the possbiility of a more useful title than before. However, I'd prefer the default to be the file name. It's very simple for me to make my own postscript function that does just that simply by setting title = file. I always use onefile = TRUE, so it always works (so far). However, I'm a little reluctant to do that in case some
2003 Apr 22
4
Default value for title in postscript function
I like the fact that the postscript function enables the possbiility of a more useful title than before. However, I'd prefer the default to be the file name. It's very simple for me to make my own postscript function that does just that simply by setting title = file. I always use onefile = TRUE, so it always works (so far). However, I'm a little reluctant to do that in case some
2006 Feb 08
1
invalid graphics state using dev.print (fwd)
On Mon, 6 Feb 2006 18:12, Simon Urbanek wrote: > On Feb 6, 2006, at 5:24 PM, Paul Roebuck wrote: > >> Tried on R-Sig-Mac with no responses, but I need some kind >> of answer. >> [...] >> Does the following work on your system? > > Interesting, no, it doesn't either. For png and pdf I use > Quartz + quartz.save (it produces much nicer results) so > I
2012 Nov 01
3
Duda gráfico DIN A-4
Hola, ¿Alguien me puede indicar cómo conseguir que un gráfico se adapte al formato DIN-A4, con su correspondiente verticalidad?. ¿Hay que hacerlo "manualmente" o existe algún parámetro/función que lo controle?. Gracias. Eva [[alternative HTML version deleted]]
2010 Aug 21
1
R-level expansion of Rplot%03d.png
Dear list, I'm using the brew package to generate a report containing various plots. I wrote a function that creates a plot in png and pdf formats, and outputs a suitable text string to insert the file in the final document using the asciidoc syntax, <% tmp <- 1 makePlot = function(p, name=paste("tmp",tmp,sep=""), width=300) {
2011 Nov 09
3
R to automate scatter plots
Hi R people! I have a directory of .csv files I would like to make into objects then scatter plots. I have been having varying degrees of progress. I was able make an object of all files, loop through it, and make a pdf of the last file I looped through. I kept renaming the pdf so instead of ending up with 27 pdfs I got one, with the data from the last file I have been tweaking with it
2011 Sep 13
1
CMYK color space
dear R experts---I am struggling with the requirements to prepare my files for my printers. I am printing in 2/2 format, which means cyan and black for me, which they take from my color-separated pdf files. R comes into play, because it produces all the figures that are embedded in my book (pdflatex). now, TeX has no problems producing CMYK files. However, R produces RGB files (for
2012 Apr 02
5
Usando R CMD BATCH no me funciona savePlot()
Buenas tardes: Hasta ahora he utilizado savePlot() en ejecuciones de R en Windows, donde lo que hago es grabar la ventana de gráficos mediante dev.cur() en formato pdf. Concretamente éste es el código: > savePlot(filename = ruta_pdf, type = "pdf", device = dev.cur(), restoreConsole = TRUE) Este comando está dentro de un bucle de "n" ejecuciones, por lo que guardo un pdf por
2008 Jun 04
1
An issue happens Embed R and redirt png file
I am a new R user and I have a question of embedding R to generate png On Debian, I installed R by source code. Now I want to embed R in an application which name is MyApp, and run the following syntax: png(filename="/tmp/Rplot%03d.png) example(rect) dev.off() Unfortunately I get the following error message: Error in X11(paste("png::", filename, sep = ""), width,
2008 Jun 04
1
An issue happens Embed R and redirt png file
I am a new R user and I have a question of embedding R to generate png On Debian, I installed R by source code. Now I want to embed R in an application which name is MyApp, and run the following syntax: png(filename="/tmp/Rplot%03d.png) example(rect) dev.off() Unfortunately I get the following error message: Error in X11(paste("png::", filename, sep = ""), width,