similar to: Can't save a graph to pdf in R for MacOS

Displaying 20 results from an estimated 7000 matches similar to: "Can't save a graph to pdf in R for MacOS"

2003 Jun 27
1
R-help Digest, Vol 4, Issue 27 ( -Reply)
Hi, I am out of town and will get back to you on the 13th of July. Leo >>> "r-help at stat.math.ethz.ch" 06/27/03 00:32 >>> Send R-help mailing list submissions to r-help at stat.math.ethz.ch To subscribe or unsubscribe via the World Wide Web, visit https://www.stat.math.ethz.ch/mailman/listinfo/r-help or, via email, send a message with subject or body
2005 Mar 02
2
.ps and .pdf page size differences in FC vs. Debian
R version: 2.0.0 OS: Fedora Core 1 When I'm using Fedora Core 1, Rplots.ps (and subsequent Rplots.pdf created after using ps2pdf Rplots.ps) which are created from the command line execution of R are too large to fit on a US Letter sized page when printed. The same code will produce a US letter sized page when I'm on my Debian Sid box. Both boxes are connected to the same shared
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
2006 May 17
1
Renaming Rplots.ps from BATCH scripts.
I often use R CMD BATCH to run my files (e.g. script.R), and get the output recorded in script.Rout -- this is great. On my setup (R.2.3.0 on linux), if any plots are created, they get stored in Rplots.ps. This can get confusing if I have several batch scripts in one directory. I've written a simple shell script to rename Rplots.ps to e.g. script.Rout.ps so that later I can easily identify
2010 Sep 22
1
problem opening pdf device on Windows 7
I can not open PDf device. Acrobat is closed. I have checked archives but could not find a solution. What should I do? > cont.cdfplot("myanalysis.pdf", myanalysis$CDF, ylbl.r="Stream Length (km)") Error in pdf(file = pdffile, width = width, height = height) : unable to start device pdf In addition: Warning message: In pdf(file = pdffile, width = width, height = height)
2009 Aug 11
1
Generating R plots via Ruby CGI
Greetings, I'm trying to debug a simple two-line plot routine in R called test.R: cor(swiss) plot(swiss$Catholic, swiss$Examination) These commands work fine when typed into R. They also work fine when I invoke this routine by the following line into my terminal: R --slave < /Library/WebServer/Documents/gsa/test.R My ultimate goal is to send data to this R routine via a web
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
2006 Mar 14
2
name of the graphics output
Hello. In the file list.txt, I have the name of n files in data frame format. I want to make an image for each file and save the images in pdf format. To do this, I do the following: llista = scan(file="list.txt",what=list(nom="")) for (file.name in llista[[1]]){ aux=read.table(file=file.name) aux=as.matrix(aux) pdf() image(aux)
2010 Jul 16
2
Can I set default parameters for the default graphics device?
I'm completely new to R, and I'd like to do something like this: > x=c(1,2,3) > plot(x,x) At this point, R creates a file "Rplots.pdf", since the default device is PDF and the default filename is "Rplots.pdf". I know I can set the default device like this: > options(device="png") But is there a way to set the default device's
2009 Jan 08
1
how many quad T1 cards
Jerry, back in August you were thinking about putting 4 T1 cards in a single box--did you end up doing that and how did it work out? We're looking at 700-800 lines for an app and are trying to figure out how many machines we'll need. Has anyone else done more than 2 quad T1 cards? -- Scott Plante, CTO Insight Systems, Inc. (+1) 404 873 0058 x104 splante at insightsys.com
2010 Aug 25
1
several odfWeave questions
[Sending both to the maintainer and to R-help, in case anyone else has answers ...] I've looked in odfWeave documentation, vignette, and poked around on the web some, and haven't found answers yet. 1a. am I right in believing that odfWeave does not respect the 'keep.source' option? Am I missing something obvious? 1b. is there a way to set global options analogous to
2007 May 21
3
quartz() on MAC OSX
I am (desperately) trying to get used to using a Mac here at my new location. (Why *anyone* would ever use anything other than Linux, except under duress as I am, totally escapes me, but that's another story.) Fortunately much of the Mac OSX is actually Unix, so a civilized person can manage to carry on ... But there are some things. (Like this <expletive deleted> mailer ... But
2006 Apr 24
1
trellis.par.get without opening a device?
I am using the Deepayan's Sweave trick to set graphics parameters for all graphs: ltheme = canonical.theme(color=TRUE) sup = trellis.par.get("superpose.line") ltheme$superpose.line$col = c('black',"red","blue","#e31111","green", "gray") .... Works perfectly, there is only a minor nuissance that trellis.par.get opens a device
2003 Aug 20
2
Plots default to Rplots.ps
Dear All, Hello I'm a newbie to the list. I recently installed R on a Redhat 9.0 system, when I come to plot anything it does not bring up a graphics window but rather stores it in a file "Rplots.ps". I tried x11() but that doesn't bring up a window either. I would greatly appreciate any advice. Simon Woodhead
2010 Oct 02
2
tyring to save plots using windoze 7 and cygwin
Hi, I'd been using R in the past and recently installed it on a new windoze 7 machine. There have been many issues with compatibility and 32/64 bit apps etc and I did find on google on isolated complaint that saveplot failed in scripts a long time ago. R seems to work fine except script-based plot saving as pdf has not worked. I have tried the following, none of which seem to function, xyz
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
2000 Nov 16
1
postscript error
I have generated a graph on the X11 device, but when I > dev.copy(postscript) postscript 3 > dev.off() X11 2 > the Rplots.ps file is generated but contains a prologue only. Can anyone suggest what I am doing wrong? Just to anticipate the upgrade reply ... > version _ platform i686-pc-linux-gnu arch i686 os linux-gnu
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
2003 May 17
1
problem building dvi and pdf documentation on Darwin 10.2.6
I just installed R-1.7.0 on Darwin 6.6 (a.k.a. MacOS 10.2.6). 'make' and 'make check' run without any problems. 'make info' builds with no complaints, but 'make dvi' and 'make pdf' fail. I get refman.dvi and refman.pdf OK (with some warnings from pdftex that some names are referenced that do not exist), but R-FAQ.{dvi,pdf} fails as shown below. Attempts
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",