Skip to content
Prev 2925 / 21312 Next

[Bioc-devel] using and importing CRAN package functions from "plyr"

On 10/27/2011 12:12 AM, Andreas Heider wrote:
Hi Andreas --

'reshape' has been replaced by 'reshape2'; I think you'll have more luck 
with that.

For what it's worth, 'reshape' doesn't import anything into its own 
namespace

 > getNamespaceImports("reshape")
$base
[1] TRUE

When it tries to find is.formula, it looks in it's name space and then 
on the search path, rather than in your name space (this is the right 
thing to do -- you don't want reshape's search path to be disrupted by 
your package). So whatever functions reshape needs have to be found on 
the search path, hence Depends: plyr.

Martin