Re: [R-SIG-Mac] “pdflatex is not available” from “R CMD check”
On 22 Feb 2015, at 20:23 , David Winsemius dwinsem...@comcast.net wrote: 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. I have a couple from prior _weeks_, but I think Spencer's is the only one from January. Looks like the queue got stuck at ETHZ: Received: from hypatia.math.ethz.ch (hypatia [129.132.145.15]) by hypatia.math.ethz.ch (8.14.1/8.14.1) with ESMTP id t1MAAVb7023289; Sun, 22 Feb 2015 11:11:43 +0100 Received: from phil3.ethz.ch (phil3.ethz.ch [129.132.183.132]) by hypatia.math.ethz.ch (8.14.1/8.14.1) with ESMTP id t0R0KYfI001423 for r-sig-mac@r-project.org; Tue, 27 Jan 2015 01:20:34 +0100 Received: from cuda.garlic.com ([216.139.0.68]) by phil3.ethz.ch with esmtp (Exim 4.69) (envelope-from spencer.gra...@prodsyse.com) id 1YFttQ-0001c7-A9 for r-sig-mac@r-project.org; Tue, 27 Jan 2015 01:20:34 +0100 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_14nx19g13lsnj9zmvwjrgn/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@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac David Winsemius Alameda, CA, USA ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] “pdflatex is not available” from “R CMD check”
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_14nx19g13lsnj9zmvwjrgn/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@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] “pdflatex is not available” from “R CMD check”
On Jan 26, 2015, at 6:20 PM, Spencer Graves spencer.gra...@prodsyse.com 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_14nx19g13lsnj9zmvwjrgn/T//RtmpjOTCtB/Rd2pdf1651fa89c1’ Spencer, First question would be, have you installed MacTex, which includes all the required components? If not, then visit: https://tug.org/mactex/ MacTex 2014 is the current version. There are also some Yosemite specific notes here: http://www.tug.org/mactex/yosemite.html The package should modify your $PATH upon installation, so that it includes: /usr/texbin and Sys.which(pdflatex) in the R console run from the OS X terminal should return: Sys.which(pdflatex) pdflatex /usr/texbin/pdflatex I would check: $PATH and: which pdflatex from the OS X terminal (not in an R session), just to be sure that you don't get different results there, as compared to what you are getting in R. In theory, the OS X terminal should provide the definitive response, whereas running some applications/GUI's, may not pick up (inherit) the system path. You can also check: ls /usr/texbin which contains links to the actual installation in: ls /usr/local/texlive/2014/bin/x86_64-darwin to see if MacTex 2014 has been installed (it should show a large number of files and links, including pdflatex). If you have a prior version, then the path would be: ls /usr/local/texlive//... Regards, Marc Schwartz ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] “pdflatex is not available” from “R CMD check”
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_14nx19g13lsnj9zmvwjrgn/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@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac David Winsemius Alameda, CA, USA ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] “pdflatex is not available” from “R CMD check”
On Feb 22, 2015, at 6:31 AM, Marc Schwartz wrote: On Jan 26, 2015, at 6:20 PM, Spencer Graves spencer.gra...@prodsyse.com 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”) That had fancy-quotes. When corrected I see: Sys.which(pdflatex) pdflatex /usr/texbin/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_14nx19g13lsnj9zmvwjrgn/T//RtmpjOTCtB/Rd2pdf1651fa89c1’ Spencer, First question would be, have you installed MacTex, which includes all the required components? If not, then visit: https://tug.org/mactex/ MacTex 2014 is the current version. There are also some Yosemite specific notes here: http://www.tug.org/mactex/yosemite.html The package should modify your $PATH upon installation, so that it includes: /usr/texbin and Sys.which(pdflatex) in the R console run from the OS X terminal should return: Sys.which(pdflatex) pdflatex /usr/texbin/pdflatex I would check: $PATH and: which pdflatex When I run that in a Terminal session I get (nothing) whereas I do have MacTex installed: david-winsemiuss-mac-pro:~ davidwinsemius$ which pdflatex david-winsemiuss-mac-pro:~ davidwinsemius$ ls /usr/texbin T1Wrap dvilj gftopk mktexpk pooltypetexdiff a2ping dvilj2p gftype mktextfmppower4 texdirflatten afm2afm dvilj4 gsftopk mllatex ps2eps texdoc afm2pl dvilj4l hbf2gf mltex ps2frag texdoctk Snipped output from the OS X terminal (not in an R session), just to be sure that you don't get different results there, as compared to what you are getting in R. In theory, the OS X terminal should provide the definitive response, whereas running some applications/GUI's, may not pick up (inherit) the system path. You can also check: ls /usr/texbin which contains links to the actual installation in: ls /usr/local/texlive/2014/bin/x86_64-darwin to see if MacTex 2014 has been installed (it should show a large number of files and links, including pdflatex). If you have a prior version, then the path would be: ls /usr/local/texlive//... The paths for Terminal sessions are different than for R sessions (and I'm the wrong person to ask why, or how to synchronize, or even whether they _should_ be synchronized.) Regards, Marc Schwartz ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac David Winsemius Alameda, CA, USA ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac