I know nothing about R, when I read a R code, in the very first line, there appears
我对R一无所知,当我读到R代码时,在第一行,出现了
rm(list=ls())
What does it mean? Thanks
这是什么意思?谢谢
1 个解决方案
#1
4
ls()
in R lists the active variables and rm(list=ls())
will remove all the active variables.
ls()在R中列出活动变量,rm(list=ls())将删除所有活动变量。
#1
4
ls()
in R lists the active variables and rm(list=ls())
will remove all the active variables.
ls()在R中列出活动变量,rm(list=ls())将删除所有活动变量。