1
我想通過函數在pdf上書寫。避免使用離開的設備
pdf("termolayout.pdf")
generate_termolayout(db)
#This functions prints thermolayouts, but when the db is corrupted, generates errors
dev.off()
如何確保R運行dev.off()
即使generate_termolayout
失敗?
看看'tryCatch()' – epo3