search for: abernethy2

Displaying 1 result from an estimated 1 matches for "abernethy2".

Did you mean: abernethy
2013 Aug 24
2
Correct NAMESPACE approach when writing an S3 method for a generic in another package
...d method in my package, without rgl being in Depends. Note that I importFrom(rgl, plotd3d) and register my S3 method via S3Method() in the NAMESPACE. If rgl is not in Depends but in Imports, I see this when checking the package > ## 3D plot of data with curve superimposed > plot3d(aber.pc, abernethy2) Error: could not find function "plot3d" I presume this is because rgl's namespace is only loaded but the package is not attached to the search path. Writing R extensions indicates that one can export from a namespace something that was imported from another package namespace. I tho...