Displaying 10 results from an estimated 10 matches similar to: "grDevice in R HEAD been broken for 6 weeks."
2011 Apr 14
1
trouble with \SweaveOpts{grdevice=...}
Dear all
I've just tried the brand new 'grdevice' option in Sweave but couldn't
make it work. When I declare
\SweaveOpts{grdevice=pdf}
or
\SweaveOpts{grdevice=cairo_pdf}
trying to plot something simple
<<fig=T, echo=T>>=
plot(1:10,1:10,main='Some title')
@
would result in an Sweave error:
18:16:47.299: 1 : term verbatim
18:16:47.308: 2 : echo term verbatim
2013 Jan 24
1
(patch) Layers for pdf() grDevice
I built a patch (
https://github.com/3jb/R_layers/blob/master/add_pdf_layers_r61733.diff)
for grDevice/devPS.c adding an argument 'onepage' to pdf(), if set to
TRUE, successive plots will be printed to layers within a single pdf
document page rather than successive documents, or successive pages within
a document. The patch works on the HEAD of the current svn development
tree.
I'm
2013 May 21
1
Lattice, ggplot, and pointsize
Hi!
When inserting R plots into a document using odfWeave, I fought for a
while to get Lattice plots use the same text size as base plots. I
eventually discovered that specifying a point size via e.g.
svg(pointsize=10) has no effect on Lattice plots. One needs to adjust
the size manually via:
trellis.par.set(fontsize=list(text=10, points=8))
This is also developed for both Lattice and ggplot2 by
2015 Aug 14
3
capture.output() duplicates last line unless newline (R-devel bug)
In R-devel (2015-08-12 r69024), capture.output() incorrectly
duplicates the last line unless it ends with a newline. I don't see
this in R 3.2.2 RC (2015-08-13 r69049). It seems to have started
fairily recently; I spotted this yesterday after starting to get
errors in my R.utils check that use capture.output(), cf.
2015 Aug 14
0
capture.output() duplicates last line unless newline (R-devel bug)
The fix for PR#16481 had a side effect involving capture.output(), so this may be transient, please recheck whether the issue has disappeared in the meantime.
-pd
On 14 Aug 2015, at 11:09 , Henrik Bengtsson <henrik.bengtsson at ucsf.edu> wrote:
> In R-devel (2015-08-12 r69024), capture.output() incorrectly
> duplicates the last line unless it ends with a newline. I don't see
2012 May 02
1
rgl.Sweave not producing transparency in pdf plots with alpha
Hi Folks,
I'm trying to get rgl.Sweave to produce plots with transparency.
However, it just seems to produce opaque plots when pdf is the output
type. Perhaps this is a known issue? I'll just use .png in the
meantime, but wanted to see about this, as I didn't see it in the
documentation (though it's possible I missed it).
Thanks,
Allie
\documentclass{article}
\title {rgl
2008 Oct 03
2
Question about quantile.default
Hi all,
I am running into a snag using quantile function in stats. Basically, I
don't understand why the loop below throws the error that it does.
test.data <- rnorm(1000, 0, 1)
for (i in seq(0.00001, 0.001, 0.00001)){
test <- quantile(test.data, probs=seq(0,1,i));
print(i);
}
It runs fine from 1e-05 to 0.00024, but then throws the error
Error in quantile.default(test.data,
2011 Oct 22
3
Sweave, cairo_pdf, CJK, ghostscript
I have had some fun in the last few days trying to put together an annotated map of China with R and some public GIS data:
http://sourceforge.net/projects/outmodedbonsai/files/snpMatrix%20next/1.17.7.11/China_Choropleth_Maps.pdf/download
It is done, and rather nice... there are a few issues:
- the default pdf() device cannot do CJK with embedded fonts - and cairo_pdf() is not hooked up to
2010 Jan 06
1
MakeActiveBinding help needed
Hi,
I wanted a Q&D way to open a new graphics window but keep the focus in
the console window (under Windows and the Rgui), so I wrote a line into
my Rprofile.site file as follows:
invisible(makeActiveBinding('newdev', function(...)
dev.new(restoreConsole=T), .GlobalEnv))
(That is all on one line, incase the mailer re-parses it). This gives me
a command "newdev" which
2011 Dec 29
2
3d plotting alternatives. I like persp, but regret the lack of plotmath.
I have been making simple functions to display regressions in a new
package called "rockchalk". For 3d illustrations, my functions use
persp, and I've grown to like working with it. As an example of the
kind of things I like to do, you might consult my lecture on
multicollinearity, which is by far the most detailed illustration I've
prepared.