[R] custom startup/welcome message

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 5 04:43:38 CEST 2013


On 04/04/2013 21:31, R. Michael Weylandt wrote:
> On Thu, Apr 4, 2013 at 9:49 AM, lejeczek <peljasz at yahoo.co.uk> wrote:
>> yeap, I've done it,
>> I was hoping for a complete customization,
>> and even Rprofile.site adds only to what is being printed by default anyway,
>> I mean that header is always there. R version..... untill "Type 'q()'..
>> and R -q silences everything :(
>>
>
> I'm not sure what the question is now (and please "context post"
> instead of top-posting) -- I suppose you could patch the C code  that
> prints that message if you want it to say something else. You'd have
> to re-build R but it's easy code to change.
>
> It's at the top of $R_HOME/src/main/version.c:
> http://svn.r-project.org/R/trunk/src/main/version.c


Hmm, removing other people's copyright notices is bad form, and against 
the licence if you distribute the modified version.

>
> Michael
>
>>
>>
>> On 04/04/13 15:01, Michael Weylandt wrote:
>>>
>>> On Apr 4, 2013, at 6:20, lejeczek <peljasz at yahoo.co.uk> wrote:
>>>
>>>> hi everybody
>>>>
>>>> I wonder if there is a simple way, but not simple would be
>>>> ok too,
>>>> to customize info/welcome page at session start time?
>>>
>>> Probably easiest to do it by way of some cat() calls in your .Rprofile.
>>> See ?Startup for details.
>>>
>>> MW
>>>
>>>> what I'd like to do is to put together simple short howto /
>>>> dos & don'ts page for users,
>>>> I'm thinking it would be great if it was possible
>>>>
>>>> many thanks
>>>>
>>>>      [[alternative HTML version deleted]]
>>>>
>>>> ______________________________________________
>>>> R-help at 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.
>>
>>
>> ______________________________________________
>> R-help at 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.
>
> ______________________________________________
> R-help at 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.
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list