saveToFile | R Documentation |
Takes an object and saves it in a file with the same name. Has an alternative where the name can be changed: saveWithName
saveToFile(obj, filename, path, overwrite, extension = ".RData",
show.path = FALSE)
obj |
the object to be saved |
filename |
the filename can be specified. If it is not, the name object will be used |
path |
the path where the object should be saved |
overwrite |
if a file exists at the specified, if it should be overwrite with the new object |
extension |
preferable to not change. By default: '.Rdata' |
show.path |
Either if the path should be shown in the message. Default: 'FALSE' |
message that indicates if the object has been saved (then with its name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.