[R-br] Erro ao criar pacote-manual-pdf

Fernando Mayer fernandomayer em gmail.com
Quinta Junho 28 15:46:50 BRT 2012


Como a mensagem de aviso indica:

Running 'texi2dvi' on 'Rd2.tex' failed.
Messages:
sh: /usr/bin/texi2dvi: not found

vc nao tem instalado o texi2dvi. Instale com

sudo apt-get install texinfo


---
Fernando Mayer
Universidade Federal de Santa Catarina - UFSC
Departamento de Ecologia e Zoologia - ECZ/CCB
URL: http://sites.google.com/site/fernandomayer
e-mail: fernandomayer [@] gmail.com


On Thu, Jun 28, 2012 at 3:31 PM, Emmanuel Arnhold
<emmanuelarnhold em yahoo.com.br> wrote:
> Não estou conseguindo criar um manual em pdf. Agradeço qualquer dica. Seguem
> os erros.
>
> R CMD check meupacote
> tudo ok até:
>
> * checking Rd files ... WARNING
> Error : ea1.Rd: non-ASCII input and no declared encoding
>
> Error : pacote-package.Rd: non-ASCII input and no declared encoding
> .
> .
> .
>
> * 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
> Warning: /home/emmanuel/pacote/man/pacote-package.Rd:5-7: Some input could
> not be re-encoded to ASCII
> 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 /tmp/RtmpRcSLFe/Rd2pdffdc8348000'
>
> Instalou e comprimiu, mas não gera o manual em pdf.
> R CMD INSTALL pacote
> OK
>
> R CMD build pacote
> OK
>
> emmanuel em ubuntu:~$ R CMD Rd2dvi --pdf pacote
> R CMD Rd2dvi is defunct: use Rd2pdf instead
> emmanuel em ubuntu:~$ R CMD Rd2pdf pacote
> Hmm ... looks like a package
> Converting Rd files to LaTeX
> Creating pdf output from LaTeX ...
> Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  :
>   Running 'texi2dvi' on 'Rd2.tex' failed.
> Messages:
> sh: /usr/bin/texi2dvi: not found
> Output:
>
> Error in running tools::texi2pdf
> emmanuel em ubuntu:~$ R CMD Rd2pdf --pdf pacote
> Hmm ... looks like a package
> Converting Rd files to LaTeX
> Creating pdf output from LaTeX ...
> Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  :
>   Running 'texi2dvi' on 'Rd2.tex' failed.
> Messages:
> sh: /usr/bin/texi2dvi: not found
> Output:
>
> Error in running tools::texi2pdf
>
>
>
> _______________________________________________
> R-br mailing list
> R-br em listas.c3sl.ufpr.br
> https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
> Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código
> mínimo reproduzível.


Mais detalhes sobre a lista de discussão R-br