Re: [R] inconsistency in tryCatch...

2022-06-27 Thread akshay kulkarni
lp@r-project.org<mailto:r-help@r-project.org> mailto:r-help@r-project.org>>; akshay kulkarni mailto:akshay...@hotmail.com>>; R help Mailing list mailto:r-help@r-project.org>> Subject: Re: [R] inconsistency in tryCatch... You defined a function. You did not call the

Re: [R] inconsistency in tryCatch...

2022-06-22 Thread Rui Barradas
u: dear Jeff, Thanks a lot for the informative reply Yours sinecrely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Thursday, June 23, 2022 1:25 AM To: akshay kulkarni ; r-help@r-project.org Subject: Re: [R] inconsistency in tryCatch... I do

Re: [R] inconsistency in tryCatch...

2022-06-22 Thread Jeff Newmiller
--Original Message- >From: R-help On Behalf Of Jeff Newmiller >Sent: Wednesday, June 22, 2022 3:24 PM >To: r-help@r-project.org; akshay kulkarni ; R help >Mailing list >Subject: Re: [R] inconsistency in tryCatch... > >[External Email] > >You defined a function.

Re: [R] inconsistency in tryCatch...

2022-06-22 Thread Jeff Newmiller
incerely, >AKSHAY M KULKARNI > >From: Jeff Newmiller >Sent: Thursday, June 23, 2022 12:53 AM >To: r-help@r-project.org ; akshay kulkarni >; R help Mailing list >Subject: Re: [R] inconsistency in tryCatch... > >You defined a function. You did not call the f

Re: [R] inconsistency in tryCatch...

2022-06-22 Thread akshay kulkarni
Newmiller Sent: Thursday, June 23, 2022 12:53 AM To: r-help@r-project.org ; akshay kulkarni ; R help Mailing list Subject: Re: [R] inconsistency in tryCatch... You defined a function. You did not call the function. tryCatch returned the object you defined. So the interactive console printed

Re: [R] inconsistency in tryCatch...

2022-06-22 Thread akshay kulkarni
] inconsistency in tryCatch... inline On Wed, Jun 22, 2022 at 12:01 PM akshay kulkarni mailto:akshay...@hotmail.com>> wrote: Dear members, I have the following code: > tryCatch(function() print("fred"), error = function(e) sum(1:3), finally = sum(1:3)