[R] Compiling Rgraphiz on Windows 7 64bit with R-2.13.0
Duncan Murdoch
murdoch.duncan at gmail.com
Thu May 26 17:34:40 CEST 2011
On 26/05/2011 10:25 AM, jirivoller wrote:
> Hello,
> This tread helped me to finally move somewhere with rgraphviz installation.
> But it seems there is a problem with vignette creation. I have the same
> configuration as Ben (Win7 -64bit,R-2.13.0, Rtools version
> 2.13.0.1901,graphviz from goodies) and did the changes suggested by Martin.
> The package version is Rgraphviz_1.30.1.tar.gz.
> Is there some solution? Thank you.
>
> * checking for file '.\Rgraphviz/DESCRIPTION' ... OK
> * preparing 'Rgraphviz':
> * checking DESCRIPTION meta-information ... OK
> * cleaning src
> * installing the package to re-build vignettes
> * creating vignettes ... ERROR
> Loading required package: graph
> Loading required package: grid
> Warning in sub(object$syntax$docexpr, val, chunk[pos[1L]]) :
> argument 'replacement' has length> 1 and only the first element will be
> used
> Error in texi2dvi(file = bft, pdf = TRUE, clean = FALSE, quiet = quiet) :
> pdflatex is not available
> Calls:<Anonymous> -> texi2dvi
> Execution halted
From the error message, it looks as though this isn't really anything
to do with Rgraphviz, it's your tex installation that isn't working.
However, that might be misleading: there was a bug in 2.13.0 that made
system() sometimes fail. The current R-patched should fix that.
So I'd check that pdflatex works as a command with the path you're
using. If not, install MikTeX or some other tex version. If so, then
it's probably a problem in R: so install R-patched.
If neither of those suggestions work, then I guess you'll have to do
some debugging on your own...
Duncan Murdoch
More information about the R-help
mailing list