saveToFile: Takes an object and saves it in a file with the same name....

View source: R/io.R

saveToFileR Documentation

Takes an object and saves it in a file with the same name. Has an alternative where the name can be changed: saveWithName

Description

Takes an object and saves it in a file with the same name. Has an alternative where the name can be changed: saveWithName

Usage

saveToFile(obj, filename, path, overwrite, extension = ".RData",
  show.path = FALSE)

Arguments

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'

Value

message that indicates if the object has been saved (then with its name)


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.