powered by
Restrict an alias mapping list to things that look like name assignments
restrictToNameAssignments(alias, restrictToAllCaps = FALSE)
string to string mapping
mapping list
logical, if true only use all-capitalized keys
alias <- list(region= 'east', str= "'seven'") aliasR <- restrictToNameAssignments(alias) print(aliasR)
Run the code above in your browser using DataLab