R语言清空环境所有变量

ls()

rm(list=ls())

进阶阶段文章:转载至http://blog.sina.com.cn/s/blog_4a238ec20101upca.html