Displaying 3 results from an estimated 3 matches for "pdftest".
Did you mean:
dftest
2011 Oct 20
0
StatET & Sweave cannot compile pdf files
...he moment I introduce pdf() function into the .Rnw file, I get a
"fatal" error.
When trying to compile this simple .Rnw file:
=======================================================
%
\documentclass[a4paper]{article}
\usepackage[OT1]{fontenc}
\usepackage{Sweave}
\begin{document}
\title{pdftest.Rnw}
\author{Egor}
\maketitle
<<echo=F, results=hide>>=
pdf(file='figure1.pdf')
plot(1:10,1:10)
dev.off()
@
\end{document}
=======================================================
I get the following error message:
=======================================================
>...
2007 Jan 04
1
Parameter changes and segfault when calling C code through .Call
...he .Call in R, the value of the sig matrix changes (the 1 in the upper left corner changes from a 1 to a 0). Since I don't make changes to the sigma object directly, I don't know how that could happen. The following output is the sig matrix, before and after the .Call.
> source("pdfTest.R")
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 1 0 0 0 0 0
[2,] 0 1 0 0 0 0
[3,] 0 0 1 0 0 0
[4,] 0 0 0 1 0 0
[5,] 0 0 0 0 1 0
[6,] 0 0 0 0 0 1
[,1] [,2] [,3] [,4] [,5] [,6]
[...
2003 Jun 27
1
R-help Digest, Vol 4, Issue 27 ( -Reply)
...s pdf() works fine on my MacOS X
10.2.6 but R 1.7.0.
Originally I had immense problems trying to get transparent
backgrounds. e.g. ps.options(bg = "transparent") did not seem to work.
However this does work consistently now in using both eps and pdf
formats. Although,
postscript("pdftest.eps")
ps.options(bg = "white")
... plotting bits
dev.off()
will produce an eps file with a transparent background the first time
it is run after starting R but white on subsequent runs during the same
R session. Whilst the sequence
ps.options(bg = "white")
pdf("pdf...