recom-doc: recom (REmoves COMments of Rscript)

Description Usage Arguments Examples

Description

recom function removes all the comments of the given Rscript file and output as new Rscript file, which help in optimize by reducing Rscript file size.

Usage

1
recom(input_file, output_file, remove_space=TRUE)	

Arguments

input_file

path of input Rscript file(must exist).

output_file

output file path (overwritten if already exist).

remove_space

Optional. boolean flag whether we want to remove free space of comments or not.

Examples

1
2
3
4
## Not run: 
recom()

## End(Not run)

recom documentation built on June 4, 2021, 9:06 a.m.