Cannot run texi2dvi on R Ubuntu

Posted by João Daniel on Stack Overflow See other posts from Stack Overflow or by João Daniel
Published on 2012-06-09T22:35:01Z Indexed on 2012/06/09 22:40 UTC
Read the original article Hit count: 347

Filed under:
|
|

I'm trying to generate a pdf file from a tex file from R, but I'm getting the following error:

> tools::texi2dvi("teste.tex",)
Error in tools::texi2dvi("teste.tex", ) : 
  Running 'texi2dvi' on 'teste.tex' failed.
Messages:
sed: can't read ./teste.tex: Permission denied
mkdir: cannot create directory `teste.t2d': Permission denied
/usr/bin/texi2dvi: cannot create directory: teste.t2d

The user owns the file teste.tex and also the folder it's located.

I'm running it into Ubuntu 12.04 and R 2.15.0

Does anyone knows what's going on?

© Stack Overflow or respective owner

Related posts about r

    Related posts about latex