[Rd] Errors in installing package "rJava" on Ubuntu (PR#13992)

Dirk Eddelbuettel edd at debian.org
Sat Oct 10 15:46:13 CEST 2009



On 10 October 2009 at 04:15, lmramba at gmail.com wrote:
| *Hello,
| I have had this serious problem while trying to install package rJava. It is
| a requirement by the package JGR and it cannot be downloaded due to the
| error indicated below.

a) Problems with packages should go to the maintainer, not the lists.  So
   this one is for Simon.

b) That said, also wrong list. 

   Debian and Ubuntu questions go to the r-sig-debian list.

| I have googled and looked at the FAQ but no solution yet.
| 
| Please advise.
| Kind regards,
| Lazarus
| 
| > install.packages("rJava")*

c) "Wrong" (in the 'you are making your life to complicated' sense) as

   $ sudo apt-get install r-cran-rjava 

   works:

   edd at joe:~$ sudo apt-get install r-cran-rjava
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   The following NEW packages will be installed:
     r-cran-rjava
   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
   Need to get 225kB of archives.
   After this operation, 836kB of additional disk space will be used.
   Get:1 http://archive.ubuntu.com jaunty/universe r-cran-rjava 0.6-2-1 [225kB]
   Fetched 225kB in 1s (146kB/s)
   Selecting previously deselected package r-cran-rjava.
   (Reading database ... 397686 files and directories currently installed.)
   Unpacking r-cran-rjava (from .../r-cran-rjava_0.6-2-1_i386.deb) ...
   Setting up r-cran-rjava (0.6-2-1) ...
   edd at joe:~$

   Having this installed should provide the base for installed RWeka, JGR,
   ... and other users of rJava.

So in sum: not a bug in R and you just created extra work for R Core to
maintain the bug database.

Dirk

| Warning in install.packages("rJava") :
|   argument 'lib' is missing: using
| '/home/lmramba/R/i486-pc-linux-gnu-library/2.9'
| *Error in read.dcf(file = tmpf) : Line starting '<html> ...' is malformed!*
| >
| *> install.packages("JGR")*
| Warning in install.packages("JGR") :
|   argument 'lib' is missing: using
| '/home/lmramba/R/i486-pc-linux-gnu-library/2.9'
| *Error in read.dcf(file = tmpf) : Line starting '<html> ...' is malformed!
| *
| *> sessionInfo()*
| R version 2.9.2 (2009-08-24)
| i486-pc-linux-gnu
| 
| locale:
| LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C
| 
| attached base packages:
| [1] stats     graphics  grDevices utils     datasets  methods   base
| 
| loaded via a namespace (and not attached):
| [1] tcltk_2.9.2 tools_2.9.2
| >
| 
| 	[[alternative HTML version deleted]]
| 
| ______________________________________________
| R-devel at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Three out of two people have difficulties with fractions.



More information about the R-devel mailing list