[ top | up ]

Write an Internal Object to a File

Syntax

dput(x, file="")

Value

dput opens file and deparses the object x into that file. If x is a function the associated environment is stripped. Hence scoping information can be lost.

See Also

deparse, dump, dget, write.

Examples

# write an ASCII version of mean to the file "foo" dput(mean,"foo")