Hello, I was wondering how to customize the grid color of the GUI from the following command? edit(data.frame()) The default grid color is red while on linux it is black. I also found out that one can customize the mentioned color using the native R GUI in the menu preferences. After saving the preferences a file named Rconsole is created. I would like to know if there is a way to set the grid color directly when launching R from the terminal or RStudio or ESS? Best regards, Jeremie
Hallo I do not have much experience with Linux, Rstudio and ESS, but you can customise R startup by .Rprofile.site .Rconsole files which are situated in /etc directory of your installation You can find some info about it in Rintro chapter 10.8 Customizing the environment Cheers Petr> -----Original Message----- > From: R-help <r-help-bounces at r-project.org> On Behalf Of Jeremie Juste > Sent: Saturday, April 30, 2022 11:54 AM > To: R-help at R-project.org > Subject: [R] customizing edit.data.frame > > Hello, > > I was wondering how to customize the grid color of the GUI from the > following command? > > edit(data.frame()) > > The default grid color is red while on linux it is black. I also found outthat> one can customize the mentioned color using the native R GUI in the menu > preferences. After saving the preferences a file named Rconsole iscreated.> > I would like to know if there is a way to set the grid color directly when > launching R from the terminal or RStudio or ESS? > > Best regards, > Jeremie > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.
I would also love to find out how to make changes to the way edit() -- or in my case, View(), but that's presumably using the same resources -- looks under Linux. On my 4K display, the font size is so small as to be barely readable. I would assume this requires some adjustment to .Xresources, but I don't know what keys might be relevant. Searching through the source code didn't give me any clues. See also: https://stackoverflow.com/questions/64459416/how-to-change-text-font-and-size-in-r-view The only mention of Xresources I could find were under ?X11, but this pertains to plots, not edit() and View(). I asked about this on R-sig-Debian in 2017: https://stat.ethz.ch/pipermail/r-sig-debian/2017-October/002776.html I don't think I ever followed this up on R-devel (where maybe this belongs), so happy to move this there if nobody here has any suggestions. Best, Wolfgang>-----Original Message----- >From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Jeremie Juste >Sent: Saturday, 30 April, 2022 11:54 >To: R-help at R-project.org >Subject: [R] customizing edit.data.frame > >Hello, > >I was wondering how to customize the grid color of the GUI from the following >command? > >edit(data.frame()) > >The default grid color is red while on linux it is black. I also found >out that one can customize the mentioned color using the native R GUI in >the menu preferences. After saving the preferences a file named Rconsole >is created. > >I would like to know if there is a way to set the grid color directly >when launching R from the terminal or RStudio or ESS? > >Best regards, >Jeremie