阅读背景:

检查执行环境中是否定义了一组变量而不是NULL

来源:互联网 

In a function, I want to check if variable names exist in the local scope (not looking at parent envs) and if they do, are not NULL. Working example below, but I wonder if there is a more elegant way than the convoluted sapply call I have now:In a function, I want to check if variable name




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: