in Education by
What is the command used to store R objects in a file? (a) save (x, file=”x.Rdata”) (b) save (x, file=x.Rdata) (c) save (x, file=”x.Rdata”); (d) save (x, file=”x.data”) I got this question in class test. I need to ask this question from Functions topic in portion Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Correct option is (a) save (x, file=”x.Rdata”) Explanation: The function save() can be used to save one or more R objects to a specified file (in .RData or .rda type file formats). The function can be read back from the file using the function load(). Note that if you save your data with save(), it cannot be restored under a different name.

Related questions

0 votes
    The current user defined objects like lists, vectors, etc. is referred to as __________ in the R language. ( ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    The job of the __________ file is to store important metadata about your package. (a) Description (b) Interface ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    __________ function is used for reading the .csv file in R language. (a) Write.csv() (b) Read.csv () ... and Debugging of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    ________ function can be used to add datasets in R provided with the columns in the datasets should be the same ... 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 create a histogram for visualisation in R programming language? (a) Library (b) Hist ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    R Commander is used to ___________ in R. (a) Export data (b) Import data (c) Use data (d) Work on ... and Debugging of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Which function in R language is used to find out whether the means of 2 groups are equal to each other ... Debugging of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    MapReduce jobs submitted from either Oozie, Pig or Hive can be used to encode, improve and sample the data sets ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    ______ is used to get library location in R. (a) library() (b) search() (c) .libPaths() (d) ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    which of the following statement chose those objects meeting a logical criterion? (a) sub(dataset,logical) (b) ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Individual R objects can be saved to a file using the _____ function. (a) save (b) put (c) save_image ... Operations of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    We can dump() R objects to a file by passing _____ (a) character vector of their names (b) object name ... Operations of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    If we want to save individual R objects to a file, we use the _______ function. (a) save() (b) save ... and Operations of R Programming Select the correct answer from above options...
asked Feb 12, 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
    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
...