I have determined this is a MikTex problem and not an R problem. I apoligize for the post.
> From: tyler_rin...@hotmail.com > To: r-help@r-project.org > Date: Mon, 7 Nov 2011 20:38:54 -0500 > Subject: [R] Rd2pdf error after 2.14 upgradeþ > > > > The command Rd2pdf was rather useful for opening a package's manual > > when you don't have access to the Internet (by using latex to pdf > > conversion). However the way the function seems to operate changed at > > version 2.14 of R. The noted changes listed on CRAN for this function > > are as follows (which doesn't seem like it would affect my usage as > > below): > > > > #R CMD Rd2dvi without the --pdf option is now deprecated: only PDF output > > will be > > #supported in future releases (since this allows the use of fonts only > > #supported for PDF), and only R CMD Rd2pdf will be available. > > > > The way I used to open a package's pdf manual from latex file was as > > follows: > > (path <- find.package('plyr')) > > system(paste(shQuote(file.path(R.home("bin"), "R")),"CMD", > "Rd2pdf",shQuote(path))) > > > After version 2.14 R the same code now throws up the error: > > > > Hmm ... looks like a package > > Converting parsed Rd's to LaTeX ........ > > Creating pdf output from LaTeX ... > > Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, : > > pdflatex is not available > > Error in running tools::texi2dvi > > Warning message: > > running command '"C:/PROGRA~1/R/R-214~1.0/bin/i386/R" CMD > > Rd2pdf "C:/Users/Rinker/R/win-library/2.14/plyr"' had status 1 > > > > > > I'm running this from the R console. Any idea on what changes would > > be needed to make this code work to generate a pdf from latex? I also > > just downloaded the new miktex2.9 over 2.8. Not sure if this > > information is relevant (I believe this is an R problem but don't know how > > to diagnosis this from the error). Usually, I can figure out the error > > message > > but not this time. > > R version 2.14.0 2011-10-31 > OS windows 7 > [[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. [[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.