Skip to content

How to permanently change console colours in R

3 messages · Peter Ehlers, vinay_ragas

#
Hello. 

I am new to R and I like it very much... I am learning to use it day-by-day.
I have a query which might be a novice level for you. I want to know how to
change the background and text colours in the R console. Doing google
searches, I found to go to preferences in Edit and to change them. All I
could do is to change the colours and then save them as a format and on each
usage, I have to load those setup using the saved file. 

I want to change this once for all. And am crazy about the MATRIX themes, so
I would like to have the black as background and green2 as the text file.
Please help me in this. 

And by the way, I use Windows 7, and installed R 2.13.0 version. 


Regards, 
Vinay



--
View this message in context: http://r.789695.n4.nabble.com/How-to-permanently-change-console-colours-in-R-tp4649413.html
Sent from the R help mailing list archive at Nabble.com.
#
On 2012-11-13 10:49, vinay_ragas wrote:
Look for the file Rconsole in the RHome/etc folder.
Then look for (near the bottom):

   ## Colours for console and pager(s)
   # (see rwxxxx/etc/rgb.txt for the known colours).
   background = White
   normaltext = NavyBlue
   usertext = Red
   highlight = DarkRed

Adjust to suit your tastes and save.
For example, my aging eyes prefer

   background = black
   normaltext = DarkSeaGreen
   usertext = yellow
   highlight = HotPink

And you should really consider updating your R version.

Peter Ehlers
#
Hello Peter Ehlers

I tried your suggestion. But I couldnt save the settings into Rconsole file
while using that. So i temporarily used my another console settings file and
tried changing the Rconsole from \etc, but still gives an error. 

Anyhow will update my R tomorrow and try your suggestion again and let you
know. Thanks again. 


Regards
Vinay



--
View this message in context: http://r.789695.n4.nabble.com/How-to-permanently-change-console-colours-in-R-tp4649413p4649454.html
Sent from the R help mailing list archive at Nabble.com.