1.

___________ remove all the variables from the workspace.(a) rm(x)(b) rm(list=ls())(c) ls()(d) attach(mat)I had been asked this question in an internship interview.Query is from Commands in section Commands, Packages, Visualizing Data and Linear Regression of R Programming

Answer»

Right choice is (B) RM(list=ls())

To EXPLAIN: attach(mat) make the names of the variables in the matrix or DATA frame available in the WORKSPACE.



Discussion

No Comment Found

Related InterviewSolutions