Dear Bill,
Many thanks ..
Yours sincrely,
AKSHAY M KULKARNI
From: Bill Dunlap
Sent: Thursday, July 14, 2022 1:28 AM
To: akshay kulkarni
Cc: R help Mailing list
Subject: Re: [R] aborting the execution of a function...
You could write a
Dear Avi,
THanks a lot...
Yours sincerely,
AKSHAY M KULKARNI
From: R-help on behalf of avi.e.gr...@gmail.com
Sent: Thursday, July 14, 2022 1:39 AM
To: 'R help Mailing list'
Subject: Re: [R] aborting the execution of a functio
You could write a function that returns an environment (or list if you
prefer) containing the results collected before the interrupt by using
tryCatch(interrupt=...). E.g.,
doMany <- function(names) {
resultEnv <- new.env(parent=emptyenv())
tryCatch(
for(name in names) resultEnv[[
3 matches
Mail list logo