Download 29/replication_package/Code/MASTER.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/29/replication_package/Code/MASTER.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/29/replication_package/Code/MASTER.R
-
curl -L -o MASTER.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/29/replication_package/Code/MASTER.R
415 Bytes
| # Master script | |
| for(f in list.files('./')) { | |
| if(grepl('helper_functions|MASTER|LOG',f)) { next } | |
| if(file.exists(paste0('./LOG/log_',gsub('.R','.txt',f)))) { next } | |
| # stop() | |
| con <- file(paste0('./LOG/log_',gsub('.R','.txt',f))) | |
| cat(f,'\n') | |
| sink(con,append = TRUE) | |
| sink(con,append = TRUE,type = 'message') | |
| source(f,echo = T,max.deparse.length = 10000) | |
| sink() | |
| sink(type = 'message') | |
| } | |