Skip to content
Prev 24868 / 63424 Next

Embedding R and registering routines

Since I'm not sure I really understand Jeff's question this is just  
my interpretation, but I think the point was that you may want to  
register symbols *not* from a DLL but from the embedding application  
itself (e.g. like R.app GUI that embeds libR registers its entry for  
quartz.save). I would welcome a support for this, because the current  
dirty hack (don't do this at home, kids!) is to use R_getDllInfo 
("base") and append the entry instead of overwriting it. It is an  
ugly hack, but I don't think we have any API for this. Maybe a  
worthwhile endeavor would be to simply add something like R_getDllInfo 
("embedded") reserved specifically for such purposes (or "R" or  
whatever...).

Cheers,
Simon
On May 1, 2007, at 1:56 PM, Duncan Temple Lang wrote: