deleteRDS: Delete RDS files saved in working directory

Description Usage Author(s) See Also Examples

View source: R/utils.R

Description

Delete RDS files from current working directory. Users can choose 3 delete options from the menu as following:
Option 1: Delete All RDS files in cwd
Option 2: Keep the latest RDS files of each data type
Option 3: Keep only the selected data type of RDS files, delete all others

Usage

1

Author(s)

Jia Yan Ng, jia.y.ng@stud.leuphana.de

See Also

Other scicloud functions: createScicloudList(), inspectScicloud(), runAnalysis(), searchScopus()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 

## RDS files created from functions 
## e.g. createTextMatrixFromPDF, calculateModels, etc.  
## which located in the working directory can be 
## deleted with this function by running as following:

deleteRDS()
Which RDS files to be deleted in current directory? 

1: Delete All RDS files
2: Keep the latest of each data, delete all others
3: Keep only a specific data, delete all other type
4: Quit

Selection: 1
Done. Deleted All RDS files.

## End(Not run)

LisaGotzian/scicloud documentation built on March 29, 2021, 5:52 a.m.