[R] function name collision

From: Bobby Prill <rprill_at_jhu.edu>
Date: Mon, 14 May 2007 18:01:54 -0400

I am using the "graph" package, which has a function called union() that acts on graph objects. There is also a {base} function called union(). How do I explicitly specify union {graph} instead of the default union {base} ?

union(g1, g2) evokes the wrong union(), which produces an error.

Thanks for the help.
- Bobby

R-help_at_stat.math.ethz.ch 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 Mon 14 May 2007 - 22:07:11 GMT

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 Mon 14 May 2007 - 23:31:58 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.