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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to