Re: [R] Compiling Rgraphiz on Windows 7 64bit with R-2.13.0

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Thu, 26 May 2011 11:34:40 -0400

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



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 26 May 2011 - 15:40:00 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 26 May 2011 - 19:00:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive