Yikes, that first line got off to a bad start. Let's try that again:
The tail end of output from an R cell often includes things I am not
expecting and do not want. I'm wondering (a) if this is a bug, and (b) if
there is any work-around.
On Tuesday, June 13, 2023 at 12:22:22 PM UTC-4 Randall Pruim wrote:
> The tail end of output from an R cell often includes things I am not
> expected and do not want. I'm wondering (a) if this is a but, and (b) if
> there is any work-around.
>
> Here are some examples.
>
> x <- LETTERS[1:6]
> cat(x)
>
> produces
>
> A B C D E F<rpy2.rinterface_lib.sexp.NULLType object at 0x7f75c8264b80>
> [RTYPES.NILSXP]
>
> print(x)
>
> produces
>
> [1] "A" "B" "C" "D" "E" "F"
> [1] "A" "B" "C" "D" "E" "F"
>
> and
>
> dput(x)
>
> produces
>
> c("A", "B", "C", "D", "E", "F")
> [1] "A" "B" "C" "D" "E" "F"
>
> Is there any way for me to have complete control over what is displayed,
> with no trailing stuff?
>
> For the curious, I'm exploring ways to use the sagecellserver within
> MyOpenMath to both generate and grade randomized questions.
>
> Thanks in advance for any advice/suggestions.
>
> ---rjp
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-cell/1a693180-379d-42f4-9874-3097b9fe2e4en%40googlegroups.com.