Skip to content

symbol.For problem? (PR#7974)

1 message · Brian Ripley

#
You are not using symbol.For correctly.  Both .Fortran and symbol.For
append an underscore if one is needed:
[1] "add_"

so you are looking for "add__" which will not be in the function table.

The help file says

      Functions 'symbol.C' and 'symbol.For' map function or subroutine
      names to the symbol name in the compiled code.  These are no
      longer of much use in R.

      'is.loaded' checks if the symbol name is loaded and hence
      available for use in '.C' or '.Fortran': nowadays it needs the
      name you would give to '.C' or '.Fortran' and *not* that remapped
      by 'symbol.C' and 'symbol.For'.
On Tue, 28 Jun 2005 jbremson at neyman.ucdavis.edu wrote:

            
Please read the section on BUGS in the FAQ and do not file bug reports on 
things about which you are not _certain_, as it asks.