Søren Højsgaard
2006-Sep-01 09:19 UTC
[R] Checking a package: "Foreign function calls without 'PACKAGE' argument:" - what must I do??
In the process of checking a package, I get the warning Foreign function calls without 'PACKAGE' argument: .Call("tr", ...) .Call("trProd", ...) See section 'System and foreign language interfaces' of the 'Writing R.. These functions are called using the wrappers trX <- function(x, package="gRcox") { .Call("tr", x, package="gRcox") } trXY <- function(x, y, package="gRcox") { .Call("trProd", x, y, package="gRcox") } I can't figure out what I am supposed to - and reading the specific section of "writing R extensions.." does not help me. Can anyone help? Thanks Søren [[alternative HTML version deleted]]
Peter Dalgaard
2006-Sep-01 09:30 UTC
[R] Checking a package: "Foreign function calls without 'PACKAGE' argument:" - what must I do??
S?ren H?jsgaard <Soren.Hojsgaard at agrsci.dk> writes:> In the process of checking a package, I get the warning > > Foreign function calls without 'PACKAGE' argument: > .Call("tr", ...) > .Call("trProd", ...) > See section 'System and foreign language interfaces' of the 'Writing R.. > > These functions are called using the wrappers > > trX <- function(x, package="gRcox") { .Call("tr", x, package="gRcox") } > trXY <- function(x, y, package="gRcox") { .Call("trProd", x, y, package="gRcox") } > > I can't figure out what I am supposed to - and reading the specific section of "writing R extensions.." does not help me. > > Can anyone help?Get rid of old DOS habit, and realize that R is case-sensitive.... -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907