saveOutput.Rd
saveOutput
Takes print function calls from function and returns output
in desired format.
saveOutput(..., file = NULL, append = FALSE, type = c("output", "message"), split = FALSE)
x: | first value for multiplication |
---|---|
y: | second value for multiplication |
the result of x multiplied by y
This function takes every print call in the function called as a parameter and adds the argument of the print function to a character vector and returns the output in specified file format.
#> [1] 6