Wednesday, April 6, 2011

HTML and R

Another challenge this morning. I think that I often forget the quotes in the library command. Copy and past from a document sometimes has the wrong quotation marks as well. 

>library("R2HTML")

If this does not work, try manually:

Manually download zip file and run in R:

> install.packages("/home/rose/Downloads/R2HTML_2.2.tar.gz")
Warning in install.packages("/home/rose/Downloads/R2HTML_2.2.tar.gz") :
argument 'lib' is missing: using '/home/rose/R/i686-pc-linux-gnu-library/2.11'
inferring 'repos = NULL' from the file name
* installing *source* package ‘R2HTML’ ...
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded

* DONE (R2HTML)

No comments:

Post a Comment