Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- saveRDSCustom <- function(obj,fileName){
- tryCatch({
- fileConn<-file(fileName,blocking = TRUE)
- saveRDS(obj,fileConn)
- close(fileConn)
- return(TRUE)
- }
- ,error=function(e){
- cat(e)
- return(FALSE) }
- )
- }
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement