[R-SIG-Mac] “pdflatex is not available” from “R CMD check”
David Winsemius
dwinsemius at comcast.net
Sun Feb 22 20:23:56 CET 2015
I just noticed the date on this message as having been sent on Jan 26 but not received until today (Feb22). I'm also seeing several other R-SIG-Mac items from prior months showing up today.
Am I the only one getting delayed delivery?
--
David.
On Jan 26, 2015, at 4:20 PM, Spencer Graves wrote:
> Hello:
>
>
> What should I do to diagnose and fix “pdflatex is not available” from “R CMD check” on a Mac running OS X 10.10.1 (see below for more details including sessionInfo.)?
>
>
> A blog on "Building R packages: missing path to pdflatex” (http://www.r-bloggers.com/building-r-packages-missing-path-to-pdflatex/ <http://www.r-bloggers.com/building-r-packages-missing-path-to-pdflatex/>) suggested the following:
>
>
> Sys.which("pdflatex”)
> # ""
> Sys.getenv("PATH")
> # [1] "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin”
>
>
> However, the suggested fix did not work for me.
>
>
> 1. How can I determine if pdflatex is installed?
>
>
> 2. If it is, how can I find it? If it’s not, what i the recommended install procedure?
>
>
> Thanks
> Spencer Graves
>
>
> ##########
>
>
>> R CMD check …
> ...
> * checking PDF version of manual ... WARNING
> LaTeX errors when creating PDF version.
> This typically indicates Rd problems.
> * checking PDF version of manual without hyperrefs or index ... ERROR
> Re-running with no redirection of stdout/stderr.
> Hmm ... looks like a package
> Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
> pdflatex is not available
> Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
> pdflatex is not available
> Error in running tools::texi2pdf()
> You may want to clean up by 'rm -rf /var/folders/mh/mrm_14nx19g13lsnj9zmvwjr0000gn/T//RtmpjOTCtB/Rd2pdf1651fa89c1’
>
> #####
>> sessionInfo()
> R version 3.1.2 (2014-10-31)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods
> [7] base
>
> loaded via a namespace (and not attached):
> [1] tools_3.1.2
>>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
More information about the R-SIG-Mac
mailing list