[R] Sweave: controlling pointsize (pdf)

Lauri Nikkinen lauri.nikkinen at iki.fi
Fri Jun 27 12:16:18 CEST 2008


Hello,

Is there a way to control pointsize of pdf:s produced by Sweave? I
would like to have the same pointsize from (not a working example)

pdf(file="C:/temp/example.pdf", width=7, height=7, bg="white", pointsize=10)
plot(1:10)
etc..
dev.off()

as

\documentclass[a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[finnish]{babel}
\usepackage[T1]{fontenc}
\usepackage{C:/progra\string~1/R/R-26\string~1.0/share/texmf/Sweave}

<<fig=TRUE, width=7, height=7>>=
plot(1:10)
etc..
@

\end{document}

Regards
Lauri



More information about the R-help mailing list