search for: xterm256

Displaying 7 results from an estimated 7 matches for "xterm256".

2009 Apr 20
0
xterm256
This is the first release of the xterm256 package. xterm256 is a small package that takes advantage of the 256 color mode of xterm, enabling use of foreground and background colors in the R console. The package exposes one function "style" that takes three arguments: - (x) the text to style - (bg) the background color to use...
2009 Apr 20
0
xterm256
This is the first release of the xterm256 package. xterm256 is a small package that takes advantage of the 256 color mode of xterm, enabling use of foreground and background colors in the R console. The package exposes one function "style" that takes three arguments: - (x) the text to style - (bg) the background color to use...
2010 Feb 23
3
colour highlighting inputs and outputs in the R terminal?
...r highlighting for inputs and outputs in the R terminal? I am looking for something similar to what GUIs provide, such as JGR and (I think) the Windows R GUI: colouring all inputs in red, and all outputs in blue. All this in a colour-aware console (in my case, on Linux). I've been looking into xterm256 and highlight, but I am sofar unable to do with them what I would need. The closest I get to is with style() in xterm256: > require(xterm256) > cat( style( "hello world", bg = "black", fg = "blue"), "\n" ) hello world The text will appear blue. What I...
2009 Jun 30
4
conditional coloring of output text in console or in GUI
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 -- Christopher W. Ryan, MD SUNY Upstate Medical University Clinical Campus at Binghamton 40 Arch Street, Johnson City, NY 13790 cryanatbinghamtondotedu "If you want to build a ship, don't drum
2011 Apr 01
3
Syntax coloring in R console
Dear all, I am a happy user of R console, but I would like to see syntax coloring. I use R 2.12 in Ubuntu Linux. I have found the packages "xterm256" and "highlight", but I was not able to figure out how to use it to highlight the syntax in console output. Also, I tried several GUI interfaces, but I was not able to find something that suits me better than the default R console. R cmdr is definitely not for me, as I don't wan...
2009 Dec 05
1
R brush for SyntaxHighlighter
Hello, I've written a brush for R for the SyntaxHighlighter JavaScript library. It allows you to display R code on a web page with the proper syntax highlighting. It's available here: http://demitri.com/code Comments and suggestions for improvement are welcome! Cheers, Demitri
2010 Jun 09
1
Highlighting Text in Console
Anyone know how I can highlight specific words/letters (e.g., bold, or different colour) when displaying text to the console using cat or equivalent? I can change e.g., the colour for everything by loading in a new Rconsole file, but what I really want to do is write "hello world" to the screen but with the word "world" highlighted in some way. I've searched the