In R, programming language variables can be easily deleted by using the rm() function. After using the rm() function it prints the value of the variable error is thrown.
Example:
> rm(a)
> print(a)
Output:
Error in print(a) : object 'a' not found
Related Content
Tags