Google News
logo
R - Quiz(MCQ)
________ remove all the variables from the workspace.
A)
rm(list=ls())
B)
ls()
C)
rm(x)
D)
attach(mat)

Correct Answer :   rm(list=ls())


Explanation : attach(mat) make the names of the variables in the matrix or data frame available in the workspace.

Advertisement