Skip to content

echo output to screen

5 messages · Chun-Ying Lee, Uwe Ligges, Romain Francois

#
Hi all,
 
  I want to echo output to screen before next step, 
like the following when i type library(pkname),
a few description about the package
........
how should I do to get this?
Thanks in advanced!!
#
Chun-Ying Lee wrote:
?cat

Uwe Ligges
#
On Thu, 09 Feb 2006 10:02:49 +0100, Uwe Ligges wrote
I know the use of "cat"

but I mean that the description appear automatically
when I type library(pkname)
#
Chun-Ying Lee wrote:

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

Uwe Ligges
#
Le 09.02.2006 10:09, Chun-Ying Lee a Ã©crit :
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