Hi John Kane,


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



-----Original Message-----
From: John Kane [mailto:jrkrid...@inbox.com]
Sent: Saturday, August 31, 2013 5:49 PM
To: Balakrishnan, Prakash Devkumar (Global Analytics); r-help@r-project.org
Subject: RE: [R] Issue with R libraries



What error messages etc are you getting?

What actual commands are you using?

sessionInfo?



John Kane

Kingston ON Canada





> -----Original Message-----

> From: prakash.dev-ku...@hp.com<mailto:prakash.dev-ku...@hp.com>

> Sent: Sat, 31 Aug 2013 03:35:37 -0700 (PDT)

> To: r-help@r-project.org<mailto:r-help@r-project.org>

> Subject: [R] Issue with R libraries

>

> 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.



____________________________________________________________

GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at 
http://www.inbox.com/smileys Works with AIM®, MSN® Messenger, Yahoo!® 
Messenger, ICQ®, Google Talk™ and most webmails





        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to