Search notes:

R function: dput

Writes an ASCII representation of an object to a file that later can be read again with dget().
d = data.frame (
      r1 = rnorm(100),
      r2 = rnorm(100)
)

# print(d)

dput(d, 'dput.out')
Github repository about-r, path: /functions/dput.R

See also

Index to (some) R functions

Index