Can anyone help me resolve this? A part of the R function looks like this:

       print(is.loaded('merge_xtabs_patterns_file'))
       print(is.loaded('merge_xtabs_patterns_file_'))

.Fortran('merge_xtabs_patterns_file_',ydim[1],ydim[2],x=as.integer(as.matrix(y)),na=as.integer(c),

maxD=as.integer(maxD),lrowmem=length(rowmem),rowmem=as.integer(rowmem),

sequential=as.integer(Sequential),nclust=as.integer(nclust))




The corresponding output:

[1] FALSE
[1] TRUE
Error in .Fortran("merge_xtabs_patterns_file_", ydim[1], ydim[2], x =
as.integer(as.matrix(y)),  :
  Fortran symbol name "merge_xtabs_patterns_file_" not in load table





Why is it that I get a TRUE for is.loaded with the same symbol, but when
using that under .Fortran I get the above error?


I also tried replacing the third line with the following (removing the last
underscore from the symbol name):

.Fortran('merge_xtabs_patterns_file',ydim[1],ydim[2],x=as.integer(as.matrix(y)),na=as.integer(c),

maxD=as.integer(maxD),lrowmem=length(rowmem),rowmem=as.integer(rowmem),

sequential=as.integer(Sequential),nclust=as.integer(nclust))


The corresponding error:

Error in .Fortran("merge_xtabs_patterns_file", ydim[1], ydim[2], x =
as.integer(as.matrix(y)),  :
  Fortran symbol name "merge_xtabs_patterns_file" not in load table



Can anyone help?

Thanks,
A

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to