prep.exam(OF, incfile, instructor="", examdate="", course="", examname="", instructions="", ncol=2)
###### since the program produces a file on the local
###### system, do not run this example
examdate="THURS Sep 20 2007"
seqnum="1"
exnumber="Exam 1"
V = "exam1A"
outtex = paste(sep=".",V, "tex" )
outMAST = paste(sep="", V, "MAST" )
MASTtex = paste(sep=".", outMAST , "tex" )
outsolut = paste(sep="", V, "solutions.tex" )
Me = "Jonathan M. Lees"
course="GEOL 105"
examname=paste(sep=" ", exnumber, "Seq", seqnum)
instructions=c("There are 50 questions.", "Answer all questions.", "Mark clearly.")
\dontrun{
prep.exam(outMAST, outtex , instructor=Me, examdate=examdate, course=course, examname=examname, instructions=instructions)
}
Run the code above in your browser using DataLab