Here's another way to have different behaviour only for interactive sessions:
if (interactive()) {
winMenuAdd(menuname, NULL, NULL) # etc.
}
>>>
From: Duncan Murdoch
To:
CC:
Date: 13/Feb/2010 6:15 a.m.
Subject: Re: [R] Selective load of .First() function just for Rgui.exe
On
On 12/02/2010 11:22 AM, jgar...@ija.csic.es wrote:
Hi all,
I have a .First <- function() {...} in the Rprofile.site file. Through
.First() I'm adding several menus to the GUI to access several functions
I've been developing for own use.
However, I also need to launch R scripts silently in a bat
Hi all,
I have a .First <- function() {...} in the Rprofile.site file. Through
.First() I'm adding several menus to the GUI to access several functions
I've been developing for own use.
However, I also need to launch R scripts silently in a batch way, and
in this case I get the error message:
"E
3 matches
Mail list logo