install R package (add-ons): demo of RWeka
1.Download the add-on R package, say mypkg, and type the following command in Unix console to install it to /my/own/R-packages/: (in this case, search and download RWeka, for Mac binary, e.g.. this is on the terminal)
$ R CMD INSTALL mypkg -l /my/own/R-packages/
Here substitute 'mypkg' with the name of your downloaded file, in my case, RWeka_0.4-18.tar.
Then, the last path is your R library path. To get your library path, use this command(in R environment, for reference see
in my case, the last line above showed the path to my library. Just use that as /my/own/R-packages/ path. Then you're all set.
In my case, it showed that RWeka cannot find two dependencies:rJava and RWekajars. I need to download and install those two first, using the same method. Then you can smoothly install RWeka.
attachment:log file (see the very last portion for correct operations)
A log of developer's updates,problems, tricks, documentations,etc. Use Categories to find your topic of interest.