Exporting an R object to RDS format with added compliance information log file

The compliance log file will only be generated if .COMPLIANCE_MODE is set to TRUE. The name of the generated compliance log file is the same name as the text file name but with appended ".log". The extension for the exported text file will be kept unchanged in the exported log file name. In order for the log file generation to work the global variable "COMPLIANCE_MODE_SCRIPT_NAME" needs to be defined by the user and in each R script set to the name of the script.

IQRoutputRDS(object, filename)

Arguments

object

R object to export

filename

Character string with the filename (can include path) for export. ".rds" extension will be added and ignored in provided filename.

See also