Message-ID: <CAHT1vpiUr-PKpxwhYzGnx_pvVJa5-RWzZLW1PYzXghLfYR8_Og@mail.gmail.com>
Date: 2016-09-21T11:49:48Z
From: Roman Luštrik
Subject: xlsx load
In-Reply-To: <CANLCanVd-FVrprmMhSQFFWB+MXdPTG3Q5+wzG-K+hJxmdnHm8Q@mail.gmail.com>
Hi,
have you tried the `readxl` (
https://cran.r-project.org/web/packages/readxl/index.html) package? In my
experience, it works quite well with no Java dependencies.
Cheers,
Roman
On Wed, Sep 21, 2016 at 1:02 PM, Mahnaz Rabbaniha <rab.mahnaz at gmail.com>
wrote:
> Dear all
>
> I want to load the xlsx package and ,the R version is 3.3.1 (2016-06-21) .
> but i cant and have taken this message:
>
> > local({pkg <- select.list(sort(.packages(all.available =
> TRUE)),graphics=TRUE)
> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
> Loading required package: rJava
> Error : .onLoad failed in loadNamespace() for 'rJava', details:
> call: fun(libname, pkgname)
> error: JAVA_HOME cannot be determined from the Registry
> Error: package ?rJava? could not be loaded
>
>
> > local({pkg <- select.list(sort(.packages(all.available =
> TRUE)),graphics=TRUE)
> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
> Error : .onLoad failed in loadNamespace() for 'rJava', details:
> call: fun(libname, pkgname)
> error: JAVA_HOME cannot be determined from the Registry
> Error: package or namespace load failed for ?rJava
>
>
> please help me
>
> *Mahnaz *
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
--
In God we trust, all others bring data.
[[alternative HTML version deleted]]