1.

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.(a) save()(b) save.image()(c) unserialize()(d) serialize()The question was posed to me during an online exam.This intriguing question originated from Textual Data Formats in chapter R – Data Storage, Formats, Objects and Operations of R Programming

Answer»

Right answer is (d) serialize()

Explanation: Unserialize is used for READING single R objects in the BINARY form. Serialize is used for converting an R object into a binary format for outputting to a CONNECTION (or FILE).



Discussion

No Comment Found

Related InterviewSolutions