dput opens file and deparses the object x into that file. The object name is not written (unlike dump ). If x is a function the associated environment is stripped. ... dput will warn if fewer characters were written to a file than expected, which may indicate a full or corrupt file system.