Re: [R] echo output to screen

From: Romain Francois <francoisromain_at_free.fr>
Date: Thu 09 Feb 2006 - 20:19:30 EST

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

______________________________________________
R-help@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
Received on Thu Feb 09 20:22:23 2006

This archive was generated by hypermail 2.1.8 : Sat 11 Feb 2006 - 01:52:47 EST