Skip to content
Back to formatted view

Raw Message

Message-ID: <43EB08FC.3060200@statistik.uni-dortmund.de>
Date: 2006-02-09T09:18:52Z
From: Uwe Ligges
Subject: echo output to screen
In-Reply-To: <20060209090641.M37811@cc.kmu.edu.tw>

Chun-Ying Lee wrote:

> On Thu, 09 Feb 2006 10:02:49 +0100, Uwe Ligges wrote
> 
>>Chun-Ying Lee wrote:
>>
>>>Hi all,
>>> 
>>>  I want to echo output to screen before next step, 
>>>like the following when i type library(pkname),
>>>
>>>
>>>
>>>>library(pkname)
>>>
>>>
>>>a few description about the package
>>>........
>>>
>>>
>>>
>>>>
>>>how should I do to get this?
>>
>>?cat
> 
> 
> I know the use of "cat"
> 
> but I mean that the description appear automatically
> when I type library(pkname)

See ?.onAttach (or ?.First.lib if you do not use a NAMESPACE).

Uwe Ligges


> 
>>Uwe Ligges
>>
>>
>>>Thanks in advanced!!
>>>
>>>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html