M
To: Stefan Evert
Cc: R-help Mailing List
Subject: Re: [R] Printing upon calling a function
No. I wrote the function so I am sure no "invisible" command was used.
Strangely enough, compiling the function isto part of a package, results were
NOT printed. Yes if I call the function d
On 30/11/2020 11:51 a.m., Steven Yen wrote:
Thanks to all. Presenting a large-scale, replicable example can be a
burden to the READERs which was why I was reluctant.
You shouldn't post a large scale reproducible example, you should
simplify it to just the essentials. Often in doing that you w
t
Subject: Re: [R] Printing upon calling a function
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)
v<-me.probit(obj); v
On 2020/11/30 下午 05:33, Jim Lemon wrote:
> Hi Steven,
> You seem
Thanks to all. Presenting a large-scale, replicable example can be a
burden to the READERs which was why I was reluctant.
I am embarrassed to report that after having to restart Windows after
the system hang on something unrelated, the issue was resolved and
printing was normal. I bet it had n
By not posting a reproducible example, you're wasting everyone's time.
Duncan Murdoch
On 30/11/2020 6:06 a.m., Steven Yen wrote:
No, sorry. Line 1 below did not print for me and I had to go around and
do line 2 to print:
me.probit(obj)
v<-me.probit(obj); v
A puzzle.
On 2020/11/30 下午 07:0
No, sorry. Line 1 below did not print for me and I had to go around and
do line 2 to print:
me.probit(obj)
v<-me.probit(obj); v
A puzzle.
On 2020/11/30 下午 07:00, Duncan Murdoch wrote:
On 30/11/2020 5:41 a.m., Stefan Evert wrote:
On 30 Nov 2020, at 10:41, Steven Yen wrote:
Thanks. I kno
On 30/11/2020 5:41 a.m., Stefan Evert wrote:
On 30 Nov 2020, at 10:41, Steven Yen 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 mar
No. I wrote the function so I am sure no "invisible" command was used.
Strangely enough, compiling the function isto part of a package, results
were NOT printed. Yes if I call the function during run, by preceding
the call with a line that attach the source code:
source("A:/.../R/oprobit.R")
> On 30 Nov 2020, at 10:41, Steven Yen 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-
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)
v<-me.probit(obj); v
On 2020/11/30 下午 05:33, Jim Lemon wrote:
Hi Steven,
You seem to be assigning the result of me.oprobit(obj) to v instead of
prin
Hi Steven,
You seem to be assigning the result of me.oprobit(obj) to v instead of
printing it. By appending ";v" tp that command line, you implicitly
call "print".
Jim
On Mon, Nov 30, 2020 at 7:15 PM Steven Yen wrote:
>
> I hope I can get away without presenting a replicable set of codes
> becau
Answering you is also a burden without the reprodicible code. I'll pass on that.
But I will say that mixing analysis with output in the same function is a
terrible habit. Come to the functional side of coding... it is much more
re-usable here.
On November 30, 2020 12:14:35 AM PST, Steven Yen w
I hope I can get away without presenting a replicable set of codes
because doing so would impose burdens.
I call a function which return a data frame, with the final line
return(out)
In one case the data frame gets printed (similar to a regression
printout), with simply a call
me.probit(obj
13 matches
Mail list logo