search for: displaylist

Displaying 20 results from an estimated 31 matches for "displaylist".

2003 Jul 07
0
feature enhancement request & patch: dev.control(displaylist='en (PR#3424)
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C344B0.28BC0750 Content-Type: text/plain; charset="windows-1252" Summary: Currently R provides > dev.control(displaylist='inhbit') to turn *off* the recording of graphics operations in a device, but there is no method to explicitly turn it on. Attached is a patch which provides support for > dev.control(displaylist='enable') to explicitly turn on recording of graphics operations. Backgroun...
2001 Jun 20
0
recordPlot usage: add snaps to a list.
...histomatic call, and append #to pictureList. for (var in nameList) if (is.numeric (RandMastMod0[[var]])) { pictureList <- c(pictureList, histomatic(NoFlagMod0,RandMastMod0,NoMastMod0,var)); } After that, pictureList is not a null thing, > attributes(pictureList) $names [1] "displaylist" "gpar" "displaylist" "gpar" "displaylist" [6] "gpar" "displaylist" "gpar" "displaylist" "gpar" [11] "displaylist" "gpar" "displaylist"...
2013 Sep 24
1
recordPlot() on non-interactive graphics device?
Hi. Q. Is there a way to record a plot using grDevices::recordPlot() without opening an interactive (=visible GUI window) graphics device (not even for a flash of a second)? Related: help("recordPlot", package="grDevices") says: "These functions record and replay the displaylist of the current graphics device." Is the intention that recordPlot() should be able to record from _any type_ of graphics device, or only for _interactive_ ones? For instance, windows(); plot(1:10); g <- recordPlot(); dev.off(); x11(); plot(1:10); g <- recordPlot(); dev.off(); Cairo::...
2018 Apr 02
3
recordPlot/replayPlot not working with saveRDS/readRDS
The documentation for recordPlot says the following: > As of R 3.3.0, it is possible (again) to replay a plot from another R session using, for example, saveRDS and readRDS. However, I haven't been able to save and restore a plot displaylist and have it work within the same R session, using R 3.4.3 or 3.3.3. Here's an example: # Save displaylist for a simple plot png('test.png') dev.control(displaylist ="enable") plot(1:5, 1:5) r <- recordPlot() dev.off() # Replay plot. This works. png('test1.png') re...
2008 Apr 12
1
2.7.0 beta (rev 45263) failing 'make vignettes'
Dear list, On Fedora 8 I downloaded the beta version of R via svn. make and make check-all worked fine, but make vignettes is failing with: make[1]: Entering directory `/home/gavin/R/2-7-patched/build/src/library' building/updating vignettes for package 'grid' ... processing 'displaylist.Snw' /usr/bin/texi2dvi: pdflatex exited with bad status, quitting. Error in texi2dvi(texfile, pdf = TRUE, quiet = TRUE) : running 'texi2dvi' on 'displaylist.tex' failed Calls: <Anonymous> -> texi2dvi Execution halted make[1]: Leaving directory `/home/gavin/R/2-7-patc...
2018 Apr 03
1
[FORGED] recordPlot/replayPlot not working with saveRDS/readRDS
...hang wrote: > > The documentation for recordPlot says the following: > > > >> As of R 3.3.0, it is possible (again) to replay a plot from another R session using, for example, saveRDS and readRDS. > > > > However, I haven't been able to save and restore a plot displaylist > > and have it work within the same R session, using R 3.4.3 or 3.3.3. > > Here's an example: > > > > # Save displaylist for a simple plot > > png('test.png') > > dev.control(displaylist ="enable") > > plot(1:5, 1:5) > > r <...
2007 May 21
1
dev.interactive() changes
On 5/5/07, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote: [...] > You meam as in > > o dev.interactive() regards devices with the displaylist enabled > as interactive, and packages can register the names of their > devices as interactive via deviceIsInteractive(). > > ? Quick follow up: the displaylist based detection is working well, but deviceIsInteractive() gives me an error: > deviceIsInteractive(&quo...
2007 Feb 28
1
incremental plots with pdf and dev.copy
...do this with x11, by just adding graphics to a plot and then using dev.copy2eps at the right times for each eps figure. Now I want to do this in batch mode and the x11 device is not available. This is how I go about it: pdf(file="file1.pdf") # create the first plot dev.control(displaylist='enable') # allow copying print devices plot(1:10) # first plot dev.copy(pdf,file="file2.pdf") # create the second plot dev.control(displaylist='enable') dev.off(dev.prev()) # close the first plot points(2,3) # add to the s...
2018 Apr 02
0
[FORGED] recordPlot/replayPlot not working with saveRDS/readRDS
...03/04/18 05:23, Winston Chang wrote: > The documentation for recordPlot says the following: > >> As of R 3.3.0, it is possible (again) to replay a plot from another R session using, for example, saveRDS and readRDS. > > However, I haven't been able to save and restore a plot displaylist > and have it work within the same R session, using R 3.4.3 or 3.3.3. > Here's an example: > > # Save displaylist for a simple plot > png('test.png') > dev.control(displaylist ="enable") > plot(1:5, 1:5) > r <- recordPlot() > dev.off() > >...
2011 Jul 11
4
Save generic plot to file (before rendering to device)
I am looking for a way to save a plot (graphics contents) to a file after the plot has been calculated but before it has been rendered. More specifically, assume that I made a plot that took a very long time to produce, I would like to save this plot to a generic file that I can later, on a different machine, render to either PDF, PNG, SVG using the usual R graphics devices, without recalculating
2011 Jul 11
4
Save generic plot to file (before rendering to device)
I am looking for a way to save a plot (graphics contents) to a file after the plot has been calculated but before it has been rendered. More specifically, assume that I made a plot that took a very long time to produce, I would like to save this plot to a generic file that I can later, on a different machine, render to either PDF, PNG, SVG using the usual R graphics devices, without recalculating
1998 Dec 06
1
Saving and replaying plots
Is a mechanism for saving and replaying later the content of the current graphic device hidden somewhere? Or is it planned? If not, I would like to have something of this sort so I can try to implement it (when I will have some time,of course) and if: 1) it is simple as graphics.c/copyDisplayList(...) suggests, i.e, it is enough to duplicate, save and restore (device)->dpSaved and (device)->DisplayList; 2) idea is sensible; in particular, I have no idea of how much memory is `eaten' by the DisplayList of a `medium size' plot. guido -.-.-.-.-.-.-.-.-.-.-.-....
2016 Nov 07
1
R CMD check --as-cran: sslv3 alert handshake failure
On R 3.2.5, 3.3.2 and devel for Windows, R CMD check --as-cran gives me: Found the following (possibly) invalid URLs: URL: https://www.stat.auckland.ac.nz/~paul/Reports/DisplayList/dl-record.html From: man/capturePlot.Rd Status: Error Message: libcurl error code 35 error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure This is reported both by the win-builder and the rhub services: * R 3.3.2: https://win-builder.r-project.org/xj8fwa...
2005 Feb 15
2
Could anyone answer for the following question
Hello , could anyone answer for the following question for me: I am using R 2.0.1 under Windows XP. I want to write a function that makes four graphs and stores each of them in graphics history. When the function finishes, in other words, I want its graphical output to be stored in a way that I can look at it using PgUp and PgDn. I think I need commands I can put in a function that
2004 Sep 01
1
Advice on good programming practice, lexical scope
In "An Introduction to R" (See R help menu), there is an example of a function 'open.account' that makes use of the lexical scope in R. I have a set of functions that can be used to output R tables and graphics into a single report document. (I am aware that several tools can do this already). While reorganizing my code, I realize that I can collect my functions in a list, in
2004 Feb 26
3
saving plots as objects?
Hi I had two questions regarding plots: * Is there are way to save a plot in the form of an object such that it could be displayed/modified later? * I've been using Minitab for some work and I found the burshing capability very handy (it allows me to choose a point on the graph and displays the data associated with it - x,y and other user associated data). I know that this feature is
2005 Mar 09
3
function in order to plot the same graph to postscript and pdf
Hi, I've written a function in order to plot the same graph in a postcript and in a pdf file. Unfortunately, the second graph is always empty, i.e.: plot.both <- function{myplot, filename}{ pdf(file=paste(filename, ".pdf", sep="")) myplot dev.off() postscript(file=paste(filename, ".eps", sep="")) myplot dev.off() } yields in a
2004 Aug 04
0
RE: Does tcltk matter for the plot
...0509-022 Cannot load module libgcc_s.a(shr.o). > 0509-026 System error: A file or directory in the path name does > not exist. > /home/liao1k/r-1.9.1/R-1.9.1/bin/texi2dvi: pdflatex exited with bad > status, quit > ting. > /home/liao1k/r-1.9.1/R-1.9.1/bin/texi2dvi: see displaylist.log for > errors. > Error in texi2dvi(texfile, pdf = TRUE, quiet = TRUE) : > running texi2dvi on displaylist.tex failed > Execution halted > make: 1254-004 The error code from the last command is 1. > > > Stop. > make: 1254-004 The error code from the last comma...
2009 Oct 05
2
how to document stuff most users don't want to see
The functions metrop and temper in the mcmc package have a debug = FALSE argument that when TRUE adds a lot of debugging information to the returned list. This is absolutely necessary to test the functions, because one generally knows nothing about the simulated distribution except what what one learns from MCMC samples. Hence you must expose all details of the simulation to have any hope of
2007 Nov 15
3
Graphics device storable in a variable
I'm using R embedded in PostgreSQL (via PL/R), and would like to use it to create images. It works fine, except that I have to create every image in a file (owned by and only readable by the PostgreSQL server), and then use PostgreSQL to read from that file and return it to the client. It would be much nicer if I could plot images into an R variable (for instance, a matrix), and return that