Use:
Sys.setenv(JAVA_HOME='...path to JRE...')
e.g.
Sys.setenv(JAVA_HOME='C:\\Program Files\\Java\\jdk1.7.0_51\\jre')
Your environment variable is wrong.
More Related Contents:
- R: rJava package install failing
- Using the rJava package on Win7 64 bit with R
- R – Error : .onLoad failed in loadNamespace() for ‘rJava’
- Problems when trying to load a package in R due to rJava
- How to plot intersecting ranges in Excel/R/Matlab [closed]
- Finding unique values in a dataset for market basket analysis in csv file
- Extract row corresponding to minimum value of a variable by group
- Remove columns from dataframe where ALL values are NA
- Proxy setting for R
- Pass column name in data.table using variable [duplicate]
- Merge several data.frames into one data.frame with a loop
- How to parse milliseconds?
- Overlaying histograms with ggplot2 in R
- Sum values in a rolling/sliding window
- Detect at least one match between each data frame row and values in vector
- Extract Month and Year From Date in R
- Adding labels to ggplot bar chart
- How to edit and debug R library sources
- Is there a faster lm function
- Access odd-named object returned by getSymbols
- R – emulate the default behavior of hist() with ggplot2 for bin width
- How to jitter both geom_line and geom_point by the same magnitude?
- How to show only part of the plot area of polar ggplot with facet?
- ggplot multiple grouping bar
- pie chart with ggplot2 with specific order and percentage annotations
- Is there a way to paste together the elements of a vector in R without using a loop?
- ddply for sum by group in R
- Merge dataframes, different lengths
- Dealing with spaces and “weird” characters in column names with dplyr::rename()
- Filtering rows in R unexpectedly removes NAs when using subset or dplyr::filter