Question
> y <- data.frame(a = 1, b = "a")
> dput(y, file = "y.R")
> new.y <- dget("y.R")
> new.y
a.
a b
1 1 a
b.
a b
1 2 b
c.
a b
2 1 a
d.
b a
1 a a
Posted under R Programming
1 1 a
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following is used for reading tabular data?
Similar Questions
Discover Related MCQs
Q. Unlike writing out a table or CSV file, dump() and dput() preserve the ______ so that another user doesn’t have to specify the all over again.
View solution
Q. One way to pass data around is by de parsing the R object with _________
View solution
Q. Main way to read the data back in (parsing it) using the function.
View solution
Q. dput() output is in the form of ___________
View solution
Q. Multiple objects can be de parsed at once using the ______ function.
View solution
Q. Multiple objects can be de parsed at once and read back using function _____
View solution
Q. We can dump() R objects to a file by passing _____
View solution
Q. If we want to save individual R objects to a file, we use the _______ function.
View solution
Q. If you have a lot of objects that you want to save to a file, we use ________ function.
View solution
Q. .rda extension used when saving data with function __________
View solution
Q. .RData extension used when we save data using the functions ___________
View solution
Q. When you call serialize() on an R object, the output will be ____ coded in hexadecimal format.
View solution
Q. The benefit of the _____ function is that it is the only way to perfectly repressed an R object in an exportable format, without losing precision or any metadata.
View solution
Q. load() is used for _______
View solution
Q. readlines is used for ____________
View solution
Q. Individual R objects can be saved to a file using the _____ function.
View solution
Q. Point out the correct statement?
View solution
Q. Which of the following statement will load the objects to the file named “mydata.RData”?
View solution
Q. Point out the wrong statement?
View solution
Q. ________ opens a connection to a file compressed with gzip.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond R Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!