[R-pkg-devel] pdflatex is not available

Cathy Lee Gierke |eeg|001 @end|ng |rom umn@edu
Sat Dec 14 02:19:02 CET 2019


I think I have pdflatex.  At least there is a PATH to textbin
> Sys.getenv("PATH")
[1]
"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Library/TeX/texbin:/opt/X11/bin:/usr/local/git/bin"

Does this path indicate I have pdflatex?

I'm confused because asking about the pdflatex PATH returns a space:
Sys.which("pdflatex")
pdflatex
      ""
What is up with that?

Cathy Lee Gierke


“Those who cannot change their minds cannot change anything.”
*George Bernard Shaw*

“The measure of intelligence is the ability to change.”
*Albert Einstein*

<http://www.goodreads.com/author/show/23924.Martin_Luther_King_Jr_>


On Fri, Dec 13, 2019 at 6:28 PM David Winsemius <dwinsemius using comcast.net>
wrote:

> I thought TexLive is the usual place to get pdflatex.
>
> Appears I am not the only one who thinks that.
>
>
>
> https://askubuntu.com/questions/1161821/pdflatex-not-found-while-installing-r-software-on-ubuntu-19-04
>
>
> --
>
> David.
>
> On 12/13/19 4:06 PM, Cathy Lee Gierke wrote:
> > Does anyone know why I might get this error?
> >
> > 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/0m/41bxx35j5x9f_tks7zrd7jh00000gn/T//Rtmpuv00M5/Rd2pdf8f2a123193cb'
> >
> > * checking for detritus in the temp directory ... OK
> >
> > * DONE
> >
> >
> >
> > There are no clues in the Rdlatex.log
> > I have attached the ...manual.tex file.  Is there a way to check it for
> > non-ascii or non-printing characters on a Mac?  I have had that problem
> > before, but I'm not finding any now.  Maybe I have the wrong command?
> >
> >
> > find /Users/user/CATkit/CATkit/man | perl -ne 'print if /[^[:ascii:]]/'
> >
> > find /Users/user/CATkit/CATkit/man/CatCall.rd | perl -ne 'print if
> > /[^[:ascii:]]/'
> >
> >
> > Should there be a pdf file somewhere?
> >
> > Thanks,
> > Cathy Lee Gierke
> >
> >
> > <http://www.goodreads.com/author/show/23924.Martin_Luther_King_Jr_>
> > ______________________________________________
> > R-package-devel using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list