> On 30 Nov 2020, at 10:41, Steven Yen <st...@ntu.edu.tw> wrote: > > Thanks. I know, my point was on why I get something printed by simply doing > line 1 below and at other occasions had to do line 2. > > me.probit(obj)
That means the return value of me.probit() has been marked as invisible, so it won't auto-print. You have to use an explicit print print(me.probit(obj)) or use your work-around to convince R that you actually meant to print the output. If you dig through the full code of me.probit(), you'll probably find the function invisible() called somewhere. Best, Stefan ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.