igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Problem with igraph and sweave


From: Gábor Csárdi
Subject: Re: [igraph] Problem with igraph and sweave
Date: Mon, 13 Jul 2009 11:49:02 +0200

Hi,

please see http://lists.gnu.org/archive/html/igraph-help/2007-07/msg00009.html
and answers.

Best,
Gabor

On Mon, Jul 13, 2009 at 10:43 AM, David Edwards<address@hidden> wrote:
> Hi
>
> When I put code using the plot() function in an sweave code chunk, I get the 
> error
>
> Error in text.default(x, y, labels = labels, col = label.color, family = 
> label.family, :
> family 'serif' not included in PostScript device
> Error in driver$runcode(drobj, chunk, chunkopts) :
> Error in text.default(x, y, labels = labels, col = label.color, family = 
> label.family, :
> family 'serif' not included in PostScript device
>
> when I run sweave on it. There appears to be a serif family in my postscript 
> device (according to postscriptFonts()), so I am flummoxed.
>
> A simple example of a code chunk generating the error is
>
> @
> <<fig=T>>=
> g <- graph.formula(A-B)
> plot(g)
> @ %def
>
> A portion of the output from postscriptFonts is:
>
> $serif
> $family
> [1] "Times"
> $metrics
> [1] "Times-Roman.afm" "Times-Bold.afm" "Times-Italic.afm"
> [4] "Times-BoldItalic.afm" "Symbol.afm"
> $encoding
> [1] "default"
> attr(,"class")
> [1] "Type1Font"
>
>
> Any help would be gratefully received.
>
> Best regards
>
> David Edwards
> E-mail: address@hidden
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

[Prev in Thread] Current Thread [Next in Thread]