Hi Pascal,



Thanks for your response. Not sure how, I tried installing the package today and it got installed without issue. Will get in touch with you if I face any other issues. But I have explained the previous scenario and what error I received:



Let me give you a clear picture what I did.



·         Created an HP cloud instance with "Ubuntu Quantal 12.10 Server 64-bit instance"

·         Installed LAMP server in the instance

·         After which I installed R. By default R version was 2.15.0

·         Upgraded the R version to R 3.0.1

o   CMD used:

§  sudo apt-get remove r-base-core

§  Adding deb to sources.list

§  sudo nano /etc/apt/sources.list

§  deb http://cran.rstudio.com/bin/linux/ubuntu precise/

§  precise is your ubuntu name (may be different)

§  Add key to sign CRAN packages

§  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9

§  Add specific PPA to the system

§  sudo add-apt-repository ppa:marutter/rdev

§  sudo apt-get update

§  sudo apt-get upgrade

§  installing

§  sudo apt-get install r-base

·         After which I tried installing the following libraries:

o   library(tm)

o   library(tm.plugin.mail)

o   library(e1071)

o   library(nnet)

o   library(stringr)

o   library(svd)

o   library(qdap)

o   library(openNLP)

o   library(plyr)

o   library(NLP)

o   library(parallel)

·         Installed these in sequence. While installing "qdap" I had issues:

o   CMD Used to install libraries:

§  install.packages("<Package Name>",dep=TRUE)

o   Issue while installing "qdap"

§  Initial issue : Java tool kit was missing. Used the following commands to install  to openJDK:

·         apt-get install -y openjdk-6-jdk (Ran at root)

·         update-java-alternatives -s java-6-openjdk

·         R CMD javareconf

·         apt-get install -y openjdk-7-jdk

·         update-java-alternatives -s java-1.7.0-openjdk-amd64

o   Current issue and error message while installing "qdap":

§  Error Message: "openNLP.models.en" not available



Regards

Prakash


From: skalp.oettli@gmail.com [mailto:skalp.oettli@gmail.com] On Behalf Of Pascal Oettli
Sent: Saturday, August 31, 2013 5:51 PM
To: Balakrishnan, Prakash Devkumar (Global Analytics)
Cc: r-help
Subject: Re: [R] Issue with R libraries

Hello,

Could you at least provide error messages? I just broke my crystal ball.

Regards,
Pascal

2013/8/31 prakashdevkumar <prakash.dev-kumar@hp.com<mailto:prakash.dev-kumar@hp.com>>
I have an Ubuntu Quantal 12.10 Server 64-bit instance. Trying to install R
libraries. Facing issue in installing library(qdap)
library(openNLP)
Can you suggest me how to go ahead.




--
View this message in context: http://r.789695.n4.nabble.com/Issue-with-R-libraries-tp4675074.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org<mailto:R-help@r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


	[[alternative HTML version deleted]]

