In R mode, sagecell is not showing the answer of pnorm(1,0,1)

22 views
Skip to first unread message

João Pedro Cruz

unread,
Mar 5, 2019, 6:43:15 PM3/5/19
to sage-cell

I don't know if this is the standard behaviour (image).

Is possible to print the result automatically while in R mode?

Thank you,

Pedro

sagecell.png


David Farmer

unread,
Mar 5, 2019, 7:04:39 PM3/5/19
to João Pedro Cruz, sage-cell

When I do pnorm(1,0,1) , the result is NULL,
so there is nothing to go in the output.

What should pnorm(1,0,1) be? Is NULL correct?

If you do this:

aa=pnorm(1,0,1);
aa

then it does output NULL.


On Tue, 5 Mar 2019, João Pedro Cruz wrote:

>
> I don't know if this is the standard behaviour (image).
>
> Is possible to print the result automatically while in R mode?
>
> Thank you,
>
> Pedro
>
> sagecell.png
>
>
> --
> You received this message because you are subscribed to the Google Groups "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> sage-cell+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cell/3aa9c99f-6e22-4be4-b4f7-40c44710e0ff%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

Andrey Novoseltsev

unread,
Mar 5, 2019, 7:10:40 PM3/5/19
to sage-cell
If you add explicit print, you will get the answer. This is related to https://trac.sagemath.org/ticket/27025#ticket

João Pedro Cruz

unread,
Mar 6, 2019, 4:45:07 AM3/6/19
to sage-cell
thank you, we will do so.
pedro

Andrey Novoseltsev

unread,
Mar 6, 2019, 11:30:43 PM3/6/19
to sage-cell
Since it is unclear what and when will happen with R output treatment in Sage, I've rearranged code wrapping a bit and now the output of the last command is displayed automatically while there is no extra NULL shown.
Reply all
Reply to author
Forward
0 new messages