Skip to content

xtable

2 messages · Ferri Leberl, Don MacQueen

#
I have installed package xtable with

su -c 'R CMD INSTALL xtable'

and got this promising feedback:

* Installing *source* package 'xtable' ...
** R
** data
** help
 >>> Building/Updating help pages for package 'xtable'
     Formats: text html latex example
* DONE (xtable)

Despite that, R returns:

Error: couldn't find function "print.xtable"
Execution halted

when I call that function.
What have I done wrong? Do I have to activate the package everytime when I 
start R?
Thank you in advance!
#
You do have to load optional packages in each R session. See

   ?require

But you can automate the loading; see

   ?Startup

-Don
At 6:46 PM +0200 8/30/05, Mag. Ferri Leberl wrote: