Skip to content

ggplot2: can not find "current.grobTree()"

2 messages · xiechao, Hadley Wickham

#
Dear All (and Hadley),

Is the function "current.grobTree()" implemented in ggplot2? According to
the draft ggplot2 book, on page 43, we can get a list of all grobs with
current.grobTree(). But when I try that, I get 'Error: could not find
function "current.grobTree"'.

However, when I try help(current.grobTree), I do get a "fake" document.

Best Regards
Xie Chao
#
Ooops - the book is now out of date.  Paul Murrell was kind enough to
write a much nicer version called grid.ls - use that instead

Hadley