Cannot run texi2dvi on R Ubuntu
- by João Daniel
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?