Mercurial > repos > lain > xseekerpreparator
view test/recreate_full.R @ 1:1c2ce385b84e draft
" master branch Updating"
author | lain |
---|---|
date | Tue, 24 Nov 2020 18:57:10 +0000 |
parents | a174cbbb12dd |
children | 5be8a770a11d |
line wrap: on
line source
#!/home/lain/R/bin/Rscript ZIP <- FALSE file.copy("../convert/yann.rdata", "../convert/yann.rdata.old") load("../convert/yann.rdata", rdata <- new.env()) listOFlistArguments <- rdata$listOFlistArguments diffrep <- rdata$diffrep variableMetadata <- rdata$variableMetadata xa <- rdata$xa if (ZIP) { zipfile <- normalizePath("../convert/yann.zip", mustWork=TRUE) singlefile <- rdata$singlefile } else { singles <- list.files("../convert/") singles <- singles[singles != "yann.rdata"] singlefile <- list() for (single in singles) { singlefile[tools::file_path_sans_ext(single)] <- normalizePath(paste0("../convert/", single)) } zipfile <- NULL print(singlefile) } save( zipfile, listOFlistArguments, diffrep, variableMetadata, xa, singlefile, file="../convert/yann.rdata" ,version=2 )