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