Sorry, to be more clear, I believe the 'geom_density' function in 'ggplot2' itself calls 'density'.
On Sat, Jan 10, 2015 at 5:53 PM, Gábor Csárdi <csardi.ga...@gmail.com> wrote: > Hi, I am not sure why this would be a problem. Igraph does not define a > function called geom_density. > > G. > > On Sat, Jan 10, 2015 at 4:52 PM, Chris Watson <cwa...@alum.mit.edu> wrote: > >> Hi Gabor, it looks like there is also a problem when using 'geom_density' >> from 'ggplot2'. Should I contact Hadley about this issue as well? >> >> Thanks, >> Chris >> >> On Fri, Dec 26, 2014 at 5:57 PM, Gábor Csárdi <csardi.ga...@gmail.com> >> wrote: >> >>> Hi, yes, this is annoying. beanplot should have 'Imports: stats' in >>> its DESCRIPTION and 'importFrom(stats, density)' in its NAMESPACE. >>> >>> I am not sure why this is the default behavior, probably for historical >>> reasons. >>> >>> I don't think that there is a workaround, other than using a patched >>> beanplot package. You can report the issue to the package author, >>> though. >>> >>> Best, >>> Gabor >>> >>> On Fri, Dec 26, 2014 at 5:33 PM, Chris Watson <cwa...@alum.mit.edu> >>> wrote: >>> > Hello, it appears that the igraph function 'density' now masks that of >>> the >>> > stats library. This causes an issue when using, e.g. 'beanplot' which >>> makes >>> > a call to 'density' (so I can't write 'stats::density' unless I want >>> to edit >>> > 'beanplot'). Is there a workaround for this? >>> > >>> > Thanks, >>> > Chris >>> > >>> > _______________________________________________ >>> > igraph-help mailing list >>> > igraph-help@nongnu.org >>> > https://lists.nongnu.org/mailman/listinfo/igraph-help >>> > >>> >>> _______________________________________________ >>> igraph-help mailing list >>> igraph-help@nongnu.org >>> https://lists.nongnu.org/mailman/listinfo/igraph-help >>> >> >> >> _______________________________________________ >> igraph-help mailing list >> igraph-help@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/igraph-help >> >> > > _______________________________________________ > igraph-help mailing list > igraph-help@nongnu.org > https://lists.nongnu.org/mailman/listinfo/igraph-help > >
_______________________________________________ igraph-help mailing list igraph-help@nongnu.org https://lists.nongnu.org/mailman/listinfo/igraph-help