[R] echo output to screen

Romain Francois francoisromain at free.fr
Thu Feb 9 10:19:30 CET 2006


Le 09.02.2006 10:09, Chun-Ying Lee a Ã©crit :

>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)
>  
>
Hi,

Your question was not too clear about that.
See Writing R extensions.
?.First.lib if you don't have a NAMESPACE
?.onLoad if you do

Romain

-- 
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
mixmod 1.7 is released : http://www-math.univ-fcomte.fr/mixmod/index.php
+---------------------------------------------------------------+
| Romain FRANCOIS - http://francoisromain.free.fr               |
| Doctorant INRIA Futurs / EDF                                  |
+---------------------------------------------------------------+




More information about the R-help mailing list