[R] echo output to screen

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Feb 9 10:18:52 CET 2006


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




More information about the R-help mailing list