Skip to content
Prev 21303 / 63424 Next

prefix 'R_' when calling external code

On Sat, 1 Jul 2006, Benjamin Tyner wrote:

            
It is used when mapping external entry points to R symbols in that 
package: the latter must not clash with other R objects in the namespace, 
and this is why the prefix is added (in the NAMESPACE file, at

  # Refer to all C/Fortran routines by their name prefixed by R_
useDynLib(stats, .registration = TRUE, .fixes = "R_")

).

You say 'now': 'we' (R-core) never had loess_raw as an R symbol, rather 
"loess_raw" as a character string.