[R] Problem trying to plot Vennerable object

Peter Ehlers ehlers at ucalgary.ca
Wed Apr 14 12:02:33 CEST 2010


On 2010-04-14 1:54, Chris Cole wrote:
> Hi,
>
> I'm new to the list so apologies if this has been asked before. I
> couldn't find any refs in google.
>
> I recently installed the Vennerable library from Rforge, this required
> an upgrade of R to 2.10.0 by the 'pylr' dependency.
>
> However, a very simple command fails:
> Vcomb <- Venn(SetNames= c("EOCT", "EOCM"), Weight=c(0, 11841, 24084,
> 24660))
> plot(Vcomb)
>
> with this error:
> Error in do.call(c, lapply(.faceNames(new1), .faceEdgeNames, drawing =
> new1)) :
> 'what' must be a character string or a function

I don't know the Vennerable *package*, but does this tell you
anything:

 > do.call(c, list('a', 'b'))
[1] "a" "b"

 > c <- 3
 > do.call(c, list('a', 'b'))

Then try
 > rm(c)

and run your Venn code again.

  -Peter Ehlers

>
> What's frustrating is that a colleague with different versions of R
> (2.8.x) and some of the libraries gets the above function to work fine.
>
> I have no idea how to debug this error. Any help would be much appreciated.
>
> Chris
>
> ______________________________________________
> 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.
>
>

-- 
Peter Ehlers
University of Calgary



More information about the R-help mailing list