[R] Problem with installing "mapview"

Debasish Pai Mazumder pai1981 at gmail.com
Tue Jan 26 01:20:26 CET 2016


Hi all,

I am using Rstudio version 0.99.491. I am trying install "mapview" package.
install.packages("mapview")

I receive following error message

configure: error: Cannot compile a simple JNI program. See config.log for
details.

Make sure you have Java Development Kit installed and correctly registered
in R.
If in doubt, re-run "R CMD javareconf" as root.

ERROR: configuration failed for package ‘rJava’
* removing ‘/Volumes/Users/debasish/Library/R/3.2/library/rJava’
Warning in install.packages :
  installation of package ‘rJava’ had non-zero exit status
ERROR: dependency ‘rJava’ is not available for package ‘OpenStreetMap’
* removing ‘/Volumes/Users/debasish/Library/R/3.2/library/OpenStreetMap’
Warning in install.packages :
  installation of package ‘OpenStreetMap’ had non-zero exit status
ERROR: dependency ‘OpenStreetMap’ is not available for package ‘mapview’
* removing ‘/Volumes/Users/debasish/Library/R/3.2/library/mapview’
Warning in install.packages :
  installation of package ‘mapview’ had non-zero exit status

Then I tried install rJava package
install.packages("rJava")

I got followings

configure: error: Cannot compile a simple JNI program. See config.log for
details.

Make sure you have Java Development Kit installed and correctly registered
in R.
If in doubt, re-run "R CMD javareconf" as root.

ERROR: configuration failed for package ‘rJava’
* removing ‘/Volumes/Users/debasish/Library/R/3.2/library/rJava’
Warning in install.packages :
  installation of package ‘rJava’ had non-zero exit status

Please let me know is there any other way to install mapview package

-Debasish

	[[alternative HTML version deleted]]



More information about the R-help mailing list