# Merge files
dir.create(file.path(tempdir(),"REDS2021"),showWarnings = FALSE)
ILSAmerge(inputdir = system.file("extdata/reds", package = "ILSAmerge"),
outputdir = file.path(tempdir(),"REDS2021"))
# Show files with raw names
list.files(file.path(tempdir(),"REDS2021"))
# Rename files
ILSArename(inputdir = file.path(tempdir(),"REDS2021"))
# Show files new names
list.files(file.path(tempdir(),"REDS2021"))
Run the code above in your browser using DataLab