ggplot2と他パッケージとのコンフリクト


ggplot2の他に別のライブラリ(partyとか)を読みこむと

The following object(s) are masked from 'package:plyr':

    empty

こういう状況になって、グラフを描くとき

 以下にエラー function (classes, fdef, mtable)  : 
  unable to find an inherited method for function "empty", for signature "data.frame"

こういうことになる。

とりあえず色々作業した後のグラフを描くだけの状態になったら応急処置として

empty <- plyr::empty

とするとまあしのげる。

こういう手があるということでメモ。