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]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.