Displaying 1 result from an estimated 1 matches for "testmacro3".
2007 Jun 21
2
Need Help: User Defined R Functions in Sweave/Latex
...tex,echo=FALSE>> and received
the same result. Below are the files *.Snw -> *.tex -> *.pdf and the
output I received while compiling. If there is anything else I can
give to help you help me just let me know. Thanks!
Matt
My system:
T41 IBM Thinkpad
Ubuntu Feisty (7.04)
R version 2.5
testmacro3.Snw:
mdj at lapmdj:~/mydocs/R$ more testmacro3.Snw
\documentclass[a4paper]{article}
\usepackage{fullpage}
<<echo=f>>=
basicplot <- function(x, nplots, sectionname){
# Begin to make figure here
file = paste("scatter",nplots, ".pdf", sep="")
pdf(file = fil...