R: remove all objects fromt he current workspace

3 comments

  1. Matt, I was looking for this- online, funny your post came up! Miss you!
    Bogi

  2. To remove all objects in ‘R’
    rm(list = ls()) # This does not work.
    rm(list=(ls)()) # This does work. Because (ls) should be in paranthesis.