I was trying to install \"sentiment\" package, which requires the \"Rstem\" package. But the installation process failed due to the following error message,
Download RStem source file from this link: https://cran.r-project.org/src/contrib/Archive/Rstem/
Then install the package from the downloaded source file to R:
install.packages("Rstem_0.4-1.tar.gz" , repos=NULL, type="source")
The package can be found here:
http://cran.cnr.berkeley.edu/web/packages/Rstem/
Download it and install from Zip file, if you're using the Windows flavour of R.
First Try to install Rstem by this command:
install.packages("Rstem", repos = "http://www.omegahat.org/R")
Then try to install sentiment.
It worked for ubuntu 12.04