Displaying 20 results from an estimated 10000 matches similar to: "multiple page pdf file using pdf()"
2008 Nov 29
3
including Sweave tangled code in '.Rnw' document
Hello List,
I have been using Sweave for my homework this last quarter and have been
very impressed at how much time and effort it saves me. I, however, have
run up against a problem which I have not been able to solve using any of
the Sweave/LaTeX tricks I know. I work through my homework one problem at a
time, typesetting equations and writing R code, etc. and occasionally use
2008 Oct 10
1
a question about diparate device quality
List,
I have a question about why plots sent to certain devices can be of so much
worse quality than others. Whenever I plot to x11 or pdf the graphs are of
excellent quality. eps is a bit poorer, but of passable quality, and jpeg
or tiff are terrible. I tried all manner of parameters, on many versions
of R (most major releases from about 2.2 - present) under linux and windows
and on a few
2009 May 09
2
Sweave \Sexpr{} advice please
Dear List,
First off, my deepest gratitude to the Sweave developers: this tool has
improved my quality greatly.
A question in my work I use \Sexpr{} statements scalar values and the xtable
package for all manner of tables. What I'd like to do is to use a vector
inline, rather than a whole separate table. Something like:
%%%%%%%%%%%%%%%% begin code
% Latex junk
% Sweave block:
2010 Aug 29
3
a small suggestion for improving the building of packages
All,
I just finished the process of build a package for the first time and found
it characteristically (for R) very straightforward and well documented.
Whenever I deal with open source software I always endeavor to finish the
task I have in mind, and upon completing this, I then revisit all of the
configurations, customizing as necessary to achieve my goals more fully.
The ability to achieve
2008 Dec 02
2
question about the tisPlot function in package tis
List,
I am using the 'tisPlot' function in Jeff Hallman's excellent tis package
and was hoping that someone could spare me from having to dig into the
code of his 'tisPlot' function. So far as I can tell, the preferred
method of controlling the plotting of the x-axis is using the 'xTickFreq'
and 'xTickSkip' options. Unfortunately, the where the data ends
2008 Nov 29
1
function for simultaneous confidence interval of regression coefficients
List,
Would someone be so kind as to point me to a function that will calculate
simultaneous confidence intervals of regression coefficients based upon
their distribution as (under the assumption of normal errors, with
\mathbf{X} as the design matrix):
$\hat{\mathbf{\beta}} \sim N(\mathbf{\beta},
\sigma^2(\mathbf{X}^T\mathbf{X})^{-1})$.
'confint' calculates individual coefficients so
2010 Feb 18
1
pictex
The example at ?pictex does not work (the driver apparently uses
'rotatebox') for me as stated. It did compile after including the
graphicsx package. A MWE is at the help page for pictex. I tried to
get in touch with Valerio but his email bounced. Probably we want to
add a \usepackage{graphicsx} to the help page and try to track down
Valerio.
Cheers,
Kyle
This is pdfTeX, Version
2008 Nov 22
1
declaring constants in an Sweave / LaTeX document
List,
I would like to set a variable to hold, say, the size of my plots in a
Sweave document. i.e. something like the following in my '.Rnw' file:
==============================================================================
smallPlotSize = 4
<<fig1, echo=false, results=hide, height=smallPlotSize, width=smallPlotSize,
fig=true>>=
dat <- read.table("
2003 Jan 08
2
Problem with fontsize of pie-chart in postscript file
Hi all,
I've a problem with the size of the labels of my pie-charts when I try to
write them to a postscript file. I need to increase the default size, so I
change cex (see below). On screen this works fine, but cex doesn't seem to
affect the postscript-file. Any suggestions?
Thanks a lot,
Daniel
Copy/Past-example (will try to write to c:/temp!):
labels <- c("I",
2012 Feb 06
1
Multi-page PDF using dev.copy2pdf(filename, onefile=TRUE)?
Hi all. I want to generate a sequence of n plots and save them into a single PDF file, one plot per page. From the R docs and other sources I gather the basic way to do this is save plot 1 into a file then append the 2:n plots to the same file.
This code shows my basic approach, but for some reason only the last plot is saved into the pdf. I've tried different variations (e.g. using onefile
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
2002 Nov 12
4
trouble positioning legends on barplot written to a file
I'm trying to generate some plots for print publication and I'm having trouble
getting them the way I want. I get a plot with a legend that overlaps the bars
and looks bad. Also, I'm saving this as PDF file (whatever happened to the
"png" function to save as PNG format, in r 1.4.1?)
I've tried a number of things, which produce a number of questions.
1) it seems that the
2011 Jun 25
3
How to export to pdf in landscape orientation?
Does anybody know how to get a pdf file with landscape orientation?.
pdf(file= 'my_file.pdf' ,onefile=T,paper='A4')
plot(sin, -pi, 2*pi)
dev.off()
Thank's in advance
Juan A. Hernandez
Spain
[[alternative HTML version deleted]]
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
2011 Sep 04
1
Quotas not recalculating
Hello all --
I have an interesting issue, where the quotas are refusing the
recalculate for anyone on my server.
# doveadm quota get -u kyle at averageurl.com
Quota name Type Value Limit %
storage=540672 STORAGE 0 - 0
storage=540672 MESSAGE 0 - 0
# doveadm quota recalc -u kyle at averageurl.com
# doveadm
2003 Oct 08
4
Unpredictable EPS->PDF rotation (PR#4460)
Dear r-bugs,
When I create EPS files, they sometimes appear rotated in my LaTeX PDF
document and sometimes they don't. Two examples:
## x1.eps is not rotated in LaTeX
x <- seq(-1, 1, length=100)
postscript("c:/x1.eps", height=3, width=4,
horizontal=FALSE, onefile=FALSE, paper="special")
plot(x, dnorm(x), type="l")
dev.off()
## x2.eps is not
2007 Apr 18
1
help with static userdb
Hey,
This may be a dumb question... I'm trying to set up 1.0 with a static
userdb, and I'm getting stuck. I have:
userdb static {
args = uid=500 gid=500 home=/domains/%d/%n
}
When I attempt to log in as, say, kyle at memoryhole.net (via telnet, so
I *know* I'm logging in as that user), the debug log says that it
thinks my home directory is
2011 Jan 27
1
Issue with installing BRugs
Hello, all. When I try to install the most recent BRugs package (the one
that uses version 3.1.2), found here:
http://www.openbugs.info/w/UserContributedCode
I get the following error:
> utils:::menuInstallLocal()
Error in gzfile(file, "r") : cannot open the connection
In addition: Warning message:
In gzfile(file, "r") :
cannot open compressed file
2006 Feb 28
3
Bounding Box in pdf files
This is probably a faq but I have not been able to find a solution.
I create a pdf file in R but latex complains that it can't find the bounding
box. Here is an example:
> pdf(file="test.pdf", onefile=FALSE, width=8,height=8)
> plot(1:10)
> dev.off()
X11
2
> sessionInfo()
R version 2.2.1, 2005-12-20, sparc-sun-solaris2.9
attached base packages:
[1]
2009 Jan 27
1
Deleted usershare permissions maintain precedence over regular shares
I set up two usershares to share my music and photos read-only a while ago.
I recently decided to remove the usershares and recreate the shares in my
smb.conf with read/write access to some users. If the shares have the same
names that the usershares originally had, it seems that the original
read-only permissions still apply; however, if I change only the names of
the shares, I gain read/write