0

I'm still getting used to R and have an assignment coming up.

This is one of the first questions: Put a statement at the top of your code that will clear the memory and ensure that all variables that may have been used in a previous session, are deleted from the memory.

Could anyone help me please?

Phil
  • 7,287
  • 3
  • 36
  • 66
Marlie Nel
  • 41
  • 1
  • 2
    `rm(list = ls())` may be what you are looking for. – PaulS Mar 06 '22 at 11:36
  • 1
    That is a dangerous statement since it will delete *everything* -- even things that you might want to save. Routinely putting it in code is a bad idea. – John Coleman Mar 06 '22 at 12:19

0 Answers0