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                                  |
+---------------------------------------------------------------+

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to