阅读背景:

如何限制脚本中使用的变量的范围?

来源:互联网 

Let's say I've written an R script which uses some variables. When I run it, those variables clutter the global R environment. To prevent this, how do I limit the scope of variables used in a script to that script only? Note: I know that one way is to use functions, are there any other ways?Let's say I've written an R script which uses s




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

分享到: