in Education by
_____ list the variables in the workspace. (a) rm(x) (b) rm(list=ls()) (c) ls() (d) attach(mat) This question was addressed to me in semester exam. The doubt is from Commands topic in portion Commands, Packages, Visualizing Data and Linear Regression of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Right answer is (c) ls() For explanation I would say: rm(x) removes x from the workspace.

Related questions

0 votes
    ___________ remove all the variables from the workspace. (a) rm(x) (b) rm(list=ls()) (c) ls() ( ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    If you have an existing package that doesn't have an .Rproj file, you can use devtools for the use_rstudio ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    To release a package to _____ you must pick a standard license. (a) R (b) CRAN (c) CRON (d) ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    _____ package version is the sequence of atleast two integers separated by either. or -. (a) Java (b) C ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    _________ variables are categorical variables which can hold either string or numeric values. (a) Factor (b) ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which function is used to select variables and observations from a given dataset? (a) Subset() (b) Sample( ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following lists names of variables in a data.frame? (a) quantile() (b) names() (c) ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    When there are more than one independent variables in the model, then the linear model is termed as _______ (a ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    __________ refers to a group of techniques for fitting and studying the straight-line relationship between two ... R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    If a programmer wants the output to be a list then ___________ function is used. (a) Lapply (b) Sapply ... Debugging of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    ___________ can be used for storing the data for long-term. (a) HDLS (b) HDFS (c) HDLSV (d) HSSLV ... and Debugging of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    What are the data types in R on which binary operators can be applied? (a) Scalars (b) Matrices (c) ... and Debugging of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    ___________ function gives an error message if the desired package cannot be loaded. (a) Dplyr (b) Require (c ... of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    A ________________ in R programming language can also contain numeric and alphabets along with special characters like ... Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    Which function helps you perform sorting in R language? (a) Order (b) Inorder (c) Simple (d) Library ... Debugging of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
...