osink {CDM} | R Documentation |
sink
Connection
Opens and closes a sink
connection.
osink(file, suffix, append=FALSE)
csink(file)
file |
File name. No |
suffix |
Suffix which should be put next to the file name |
append |
Optional logical indicating whether console output should
be appended to an already existing file. See argument |
## The function 'osink' is currently defined as
function (file, suffix){
if (!is.null(file)) {
base::sink(paste0(file, suffix), split=TRUE)
}
}
## The function 'csink' is currently defined as
function (file){
if (!is.null(file)) {
base::sink()
}
}