Michael Friendly wrote:
[Environment: Win XP, R 2.10.1]

In my Rprofile I have startup code to do various things, intended for when I use the Rgui console. Some of these are causing problems in JGR now that I've installed it. How can I test for R
running with Rgui to do some of these things only there?

Look at .Platform$GUI. It shows "Rgui" or "RTerm" for those two. I don't have JGR installed, but I'd guess it shows something differently there.

Duncan Murdoch

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to