Is it possible to change the behaviour of R console such that, for instance
fortune()
is printed, or browser()
, the prompt is altered, and some new commands (c,n,Q) are introduced? I am looking for an alternative to readline()
that keeps the history function (key up) intact.
I am using R on winxp with Rgui, but a portable solution would be great.
是的,尽管它独立于GUI,因为它仅使用回调机制,例如在R的问题中:在R命令行中显示时间时钟 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.