Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork219
Closed
Description
Currently theget andfind members only takestd::string :
SEXP find( const std::string& name) const ;SEXP get(const std::string& name) const ;What they do with thestring is that they first make a symbol, withinstall and then they call the relevantC/R API function, i.e.Rf_findVarInFrame orRf_findVar.
But sometimes, we already have a symbol and perhaps don't want to pay for the double cost of:
- converting that symbol to a
std::string - let
getorfindreconvert it to a symbol
The alternative being callingC/R API directly.
So can we have:
SEXP find( Symbol name) const ;SEXP get( Symbol name) const ;This is straightforward, and I'll probably submit a PR anyway, but since I don't have time right now, I'm just logging the need and intent here.
Metadata
Metadata
Assignees
Labels
No labels