R控制台中的彩色输出,尤其是彩色错误 [英] Colored output in R console, esp. colored errors

查看:138
本文介绍了R控制台中的彩色输出,尤其是彩色错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

colorout 不再在CRAN上。正如@ user2647661指出的,该软件包仍在维护中,可以从作者的网站

colorout is no longer on CRAN. As @user2647661 points out below, the package is still being maintained and can be downloaded from the author's website.

我的问题:还有另一个R包提供类似的功能或至少一个快速黑客,显示红色错误? (我在Ubuntu的Gnome终端中使用R)。

My question: Is there another R package that provides similar functionality or at least a quick hack that shows errors in red? (I use R inside a Gnome Terminal on Ubuntu.)

我知道

I am aware of Alex's question about printing errors in red. @Eric Fail's answer suggests that something like this can be build using error handling functions. However, I am not familiar enough with R to fully understand his suggestion. Has anybody implemented something like this yet?

推荐答案

该包不再在CRAN上,但仍在维护中。请看 http://www.lepem.ufc.br/jaa/colorout.html

The package is no longer on CRAN but it's still being maintained. Please, look at http://www.lepem.ufc.br/jaa/colorout.html

这篇关于R控制台中的彩色输出,尤其是彩色错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆