1.

One way to pass data around is by de parsing the R object with _________(a) dput()(b) write()(c) read()(d) dget()This question was addressed to me during an interview for a job.I want to ask this question from Textual Data Formats in section R – Data Storage, Formats, Objects and Operations of R Programming

Answer»

The correct option is (a) dput()

For explanation I would SAY: dput is used for OUTPUTTING a textual representation of an R object. The DUMP() and dput() FUNCTIONS are useful because the resulting textual format is editable, and in the CASE of corruption, potentially recoverable.



Discussion

No Comment Found

Related InterviewSolutions