One possibility, though not as simple as what you ask for, is to use etxtStart 
and friends from the TeachingDemos package.

Other possibilities include using gui interfaces to R, possibilities (though 
they may do more than you ask, and color might be different) include emacs/ess; 
vim; jgr; and others.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of casperyc
> Sent: Sunday, December 12, 2010 12:59 PM
> To: r-help@r-project.org
> Subject: Re: [R] How to print colorful R output??
> 
> 
> Hi All,
> 
> My aim is actually not that complicated as you guys understand.
> 
> What I want is this,
> 
> when I print it by clicking
> 
> File--> Print...
> 
> It gaves me a black white output.
> 
> But what I want is
> 
> 'red', for all the codes i typed in,
> 'blue', for the R output,
> 
> just like the console.
> 
> Thanks!
> 
> (I am using windows xp)
> 
> casper
> --
> View this message in context: http://r.789695.n4.nabble.com/How-to-
> print-colorful-R-output-tp3082750p3084578.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to