dput() output is in the form of ___________ A. R code B. text

dput-output-is-in-the-form-of-a-r-code-b-text

dput() output is in the form of ___________

A. R code

B. text file code

C. binary code

D. both binary and text

This question was posed to me by my school teacher while I was bunking the class.

I’m obligated to ask this question of Textual Data Formats in chapter R – Data Storage, Formats, Objects and Operations of R Programming

Right option is A. R code

To explain 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.