[R] Printing

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Sun Aug 11 16:52:44 CEST 2024


В Sun, 11 Aug 2024 22:36:08 +0800
Steven Yen <styen using ntu.edu.tw> пишет:

> All I need is printing by returning out (unless I turn it off). And, 
> retrieve ap and vap as needed as shown above. Guess I need to read
> more about invisible.

Perhaps you could print(out) instead of returning it in the if
(printing) branch? Then you would be able to always
return(invisible(list("ei"=ap,"vi"=vap))), whether printing is TRUE or
not.

-- 
Best regards,
Ivan



More information about the R-help mailing list