You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this not a big deal as data.table print nicely. If the current suppress print is costly in maintenance maybe it should be dropped at all?
Maybe a special [ call to explicitly make results invisibility would be less costly in terms of dev and maintenance?
Example where i = ! suppress output:
@arunsrinivasan
I use data.table a lot in my work~ This package is really really good and I love it so much.
It would be better, if this can be solved, so I can stop to write things like `invisible(DT[, x:=1])'.
Anything I can do to help?
Thanks.
On a related point, the programmers of the IRKernel package for Jupyter are having trouble determining if := should suppress output. See https://github.com/IRkernel/IRkernel/issues/127. Note that this is with R < 3.2.0.
in the R/data.table.R/print.data.table() function seems to fix the issue (tested on R 3.2.0 on OSX), however I'm really not sure what is going on with these calls so I don't have a good sense of whether this would also cause unintended behavior elsewhere.
I believe := printing within a function is a separate issue, which has existed in the past. Would be great to fix that as well, but may make sense to file separately.
Activity
[-]`:=` do not suppress print in R 3.2.0[/-][+]`:=` not suppressing print in R 3.2.0[/+]shrektan commentedon Apr 21, 2015
I encounter the same problem .
Here is my
sessioninfo:jangorecki commentedon Apr 21, 2015
I found this not a big deal as data.table print nicely. If the current suppress print is costly in maintenance maybe it should be dropped at all?
Maybe a special
[call to explicitly make results invisibility would be less costly in terms of dev and maintenance?Example where
i = !suppress output:shrektan commentedon Apr 29, 2015
@arunsrinivasan
I use data.table a lot in my work~ This package is really really good and I love it so much.
It would be better, if this can be solved, so I can stop to write things like `invisible(DT[, x:=1])'.
Anything I can do to help?
Thanks.
arunsrinivasan commentedon Apr 29, 2015
@shrektan, thank you :-). On this issue, I think @mattdowle would've much better idea.
abielr commentedon May 9, 2015
On a related point, the programmers of the IRKernel package for Jupyter are having trouble determining if
:=should suppress output. See https://github.com/IRkernel/IRkernel/issues/127. Note that this is with R < 3.2.0.abielr commentedon May 9, 2015
Changing
to
in the
R/data.table.R/print.data.table()function seems to fix the issue (tested on R 3.2.0 on OSX), however I'm really not sure what is going on with these calls so I don't have a good sense of whether this would also cause unintended behavior elsewhere.arunsrinivasan commentedon May 9, 2015
@abielr thanks for a possible solution. Have added to 1.9.6. I think it'd be nice to have this fixed for next release.
MichaelChirico commentedon Jul 18, 2015
:=within a function is back to printing out for me, e.g.:Relevant
sessionInfo()bits:Was there another update I'm missing?
MaxGhenis commentedon Sep 4, 2015
I believe
:=printing within a function is a separate issue, which has existed in the past. Would be great to fix that as well, but may make sense to file separately.arunsrinivasan commentedon Sep 4, 2015
Update to R 3.2.2 and try again.
MichaelChirico commentedon Sep 6, 2015
@arunsrinivasan not printing out anymore, thanks for the tip.