[R] Stop or limit to console printing large list and so on

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Wed Sep 11 17:47:47 CEST 2024


В Wed, 11 Sep 2024 09:44:05 -0400
stephen sefick <ssefick using gmail.com> пишет:

> I am having a problem with accidentally typing an object name at the
> console that is a very large list and then having to wait for it to be
> printed until I can resume my work.

Does it help to interrupt the process?

https://www.gnu.org/software/emacs/manual/html_mono/emacs.html#index-C_002dc-C_002dc-_0028Shell-mode_0029
https://ess.r-project.org/Manual/ess.html#index-interrupting-R-commands

I'm afraid that the behaviour of the print() method is very
class-dependent and limiting options(max.print=...) may not help in
your case.

-- 
Best regards,
Ivan



More information about the R-help mailing list