search for: frexx

Displaying 4 results from an estimated 4 matches for "frexx".

Did you mean: fexx
2009 Apr 20
0
xterm256
...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 - (fg) the foreground color to use The color might be specified as an number between 0 and 255 (see http://frexx.de/xterm-256-notes/), as classic hex notation ( "#ff0000" ) or as an R color ("red"). Note that the color specified is mapped to the closest color of the 256 colors using an euclidean distance in the RGB space. The package is maintained at r-forge as part of the highlight pr...
2009 Apr 20
0
xterm256
...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 - (fg) the foreground color to use The color might be specified as an number between 0 and 255 (see http://frexx.de/xterm-256-notes/), as classic hex notation ( "#ff0000" ) or as an R color ("red"). Note that the color specified is mapped to the closest color of the 256 colors using an euclidean distance in the RGB space. The package is maintained at r-forge as part of the highlight pr...
2009 Sep 27
0
Xterm escape sequences in Prompt
Dear list, I would like to know if there is any way to include xterm escape sequences in R's prompt using options( prompt= XXX, continue= XXX ), where XXX can contain, for example, "\033[1;31mRed" for chancing text color to red (see http://www.frexx.de/xterm-256-notes/). If you do this, the color escape sequences work (with an appropriate terminal emulator, e.g., xterm under Linux), providing you with a colored R prompt. However, when using the command history (arrow up/down) the edit line gets messed up because the algorithm counts the escape...
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