support R >= 2.14.0 only
Merge pull request #22 from yihui/r2.14

support R >= 2.14.0 only