search for: wazbar

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

Did you mean: abar
2004 Jan 08
3
S3, S4, namespace
...Loading required package: barpkg [1] TRUE > x <- new("bar",99) > print(x) [1] "print method for bar" [1] 99 > barprint(x) [1] "barprint method for bar" [1] 99 Fine. Here is the bit that I have not figured out. ------------- #the .r file for package waz wazbar <- function(x) { barprint(new("bar",x)) } #the NAMESPACE file for package waz import(methods,barpkg) importMethodsFrom(barpkg) importClassesFrom(barpkg) export(wazbar) #then in R > require(wazpkg) Loading required package: wazpkg [1] TRUE > wazbar(99) Error in .s...