Please note that I am on the membership list and inadvertently sent this request from an incorrect mail account. Please excuse me for any confusion that I may have caused. The following is the same request that I sent earlier.


	I have installed Sweave as recommended. http://lifeasclay.wordpress.com/tag/sweave/.  	Placing a test.Rnw file, for instance, in  "/Library/Frameworks/R.framework/Versions/2.15/Resources/library/utils/Sweave" generates test.tex files that generate pdf files with LaTeX. To be honest, placing Rnw files seem to make sense. The "exams" package does require not this step. It uses texi2dvi and other tools to accomplish this result. Since I have a cursory knowledge of Mac OSX and the role that texi2dvi plays, I cannot understand the error message obtained below. The error occurs when executing the Example from R help(exams).

> library(exams)
Loading required package: tools
starting httpd help server ... done
> getwd()
[1] "/Users/PJO"
> library("exams")
> options(device.ask.default = FALSE)
> 
> myexam <- list(
+   "boxplots",
+   c("tstat", "ttest", "confint"),
+   c("regression", "anova"),
+   "scatterplot",
+   "relfreq"
+ )
> 
> sol <- exams(myexam)
Error in texi2dvi(out_tex[j], pdf = TRUE, clean = TRUE, quiet = quiet) : 
  Running 'texi2dvi' on 'plain1.tex' failed.

	I am running:
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

and Mac OSX Version 10.8.

	Any help will be greatly appreciated. 

Thanks,
Paul



	[[alternative HTML version deleted]]


