I tried different ways to install RWeka package on R but could not find any success.
I could not install RWeka though trying different methods:
1. Install normally
install.packages("RWeka")
cannot open compressed file 'RWekajars/DESCRIPTION', probable reason 'No such file or directory'
2. Install from URL
install.packages("devtools")
require(devtools)
install_url("http://cran.r-project.org/bin/windows/contrib/3.2/RWeka_0.4-24.zip")
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
3. Install from local (after downloading the zip file and place it into a directory)
install_local("RWeka_0.4-24.zip")
ERROR: installing binary package failed
* removing 'C:/Program Files/R/R-3.2.0/library/RWeka'
Could somebody help me with this? Many thanks
I had the same error. After I run the javareconf comand in the Ubuntu:
sudo R CMD javareconf
...
sudo R
> install.packages("RWeka")
I tried to install again and it works for me.