Hi,
You might want to check package xterm256.
http://cran.r-project.org/web/packages/xterm256/index.html
http://romainfrancois.blog.free.fr/index.php?post/2009/04/18/Colorful-terminal%3A-the-R-package-%22xterm256%22
This works if the terminal you are using recognizes xterm escape
sequences as d
Christopher W. Ryan wrote:
suppose I have some logical vector
x <- as.logical(c(0,0,0,1,0,0,1,1,0))
x
How would I make the words TRUE appear on the screen in a different
color from the words FALSE?
tfsample<-as.logical(sample(c(0:1),10,TRUE))
plot(1:10,type="n")
text(1:10,1:10,tfsample,col
Christopher W. Ryan binghamton.edu> writes:
>
> suppose I have some logical vector
>
> x <- as.logical(c(0,0,0,1,0,0,1,1,0))
> x
>
> How would I make the words TRUE appear on the screen in a different
> color from the words FALSE?
>
> Thanks.
>
> --Chris
# install.packages("xterm256")
libra
Hello,
On 6/30/09, Christopher W. Ryan wrote:
> suppose I have some logical vector
>
> x <- as.logical(c(0,0,0,1,0,0,1,1,0))
> x
>
> How would I make the words TRUE appear on the screen in a different
> color from the words FALSE?
>
I believe xterm256 would help with this, and perhaps highlig
4 matches
Mail list logo