On 06.09.2012 20:58, Santosh wrote:> Dear Rxperts..
>
> I am trying to install a few packages in R (version 2.14.2) on a *64-bit
> Window 7* workstation. Some of the errors are posted below.. Both 32-bit
> and 64-bit versions of R were installed. I did not get errors while
> installing packages through *32-bit R*, except that it could not update
> some of the packages (already installed with 64-bit R)
>
> *A*) When I start *64-bit R (2.14.2)*
> Loading required package: tcltk
> Loading required package: R2HTML
> Error in structure(.External("dotTcl", ..., PACKAGE =
"tcltk"), class > "tclObj") :
> [tcl] invalid command name "dde".
> In addition: Warning message:
> In tclRequire("dde", warn = TRUE) : Tcl package 'dde' not
found
>> options(repos='http://cran.stat.ucla.edu')
>> install.packages("dde",dependencies=T)
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
> package ?dde? is not available (for R version 2.14.2)
>
> *B)* While installing "rJava" from *64-bit R (2.14.2)*
>>
install.packages("rJava",repos='http://cran.stat.ucla.edu')
> trying URL '
> http://cran.stat.ucla.edu/bin/windows/contrib/2.14/rJava_0.9-3.zip'
> Content type 'application/zip' length 745867 bytes (728 Kb)
> opened URL
> downloaded 728 Kb
>
> package ?rJava? successfully unpacked and MD5 sums checked
>
> The downloaded packages are in
> C:\Users\santosh\AppData\Local\Temp\RtmpsJ5HoF\downloaded_packages
>> library(rJava)
> Error : .onLoad failed in loadNamespace() for 'rJava', details:
> call: fun(libname, pkgname)
> error: JAVA_HOME cannot be determined from the Registry
> Error: package/namespace load failed for ?rJava?
>
> *B*) While installing "XML" *64-bit R (2.14.2)*
>>
install.packages("XML",repos='http://www.omegahat.org/R')
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
> package ?XML? is not available (for R version 2.14.2)
>
XML: This is because Omegahat does not host a binary version for
R-2.14.x for Windows. Use the version from CRAN extras.
> Using *64-bit R (2.14.2), *I could not install other packages like
"xlsx"
> that depend on "rJava". Installing the latest JRE has not seemed
to help.
You need a 64-bit version of Java for rJava running on a 64-bit R, I
guess you only have a 32-bit Java installed.
Uwe Ligges
> Any suggestions/solutions are most welcome
>
> Thanks and regards,
> Santosh
>
> [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help at 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.
>