How to prevent R from stopping when it can't find the file to open?

前端 未结 0 1147
孤街浪徒
孤街浪徒 2020-12-14 19:42

My R code is trying to open a RDS file in a for loop as follows:

for(i in 1:run_loops){
    source("./scripts/load_data.R")
    model <- readRDS(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题