Unable to load shared object '[...]R-Inst/library/rJava/libs/x64/rJava.dll'

Unable to load shared object '[...]R-Inst/library/rJava/libs/x64/rJava.dll'

I'm using an R Learner node in which I'm applying Rellief algorithm to the training set in order to look for most important features. I'm using FSelector library. My code is the following:

 

df <- knime.in
#install.packages('FSelector', dependencies=TRUE, repos='http://cran.rstudio.com/') # I used this line of code the first time to install the package
library(FSelector)
weights = relief(TARGET~., df, neighbours.count = knime.flow.in[["neighboursCount"]], sample.size = knime.flow.in[["sampleSize"]]) #parameters neighbour.count and sample.size are controlled by flow variables
subset = cutoff.k(weights, knime.flow.in[["colNumber"]]) #the number of features to take is controlled by a flow variable
subset = c(subset, "TARGET")

I encountered the following error:

Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Program Files/KNIME/plugins/org.knime.ext.r3.bin.win32.x86_3.0.3.v201508240951/R-Inst/library/rJava/libs/x64/rJava.dll':

LoadLibrary failure:

Unable to load shared object '[...]R-Inst/library/rJava/libs/x64/rJava.dll'

I'm using an R Learner node in which I'm applying Rellief algorithm to the training set in order to look for most important features. I'm using FSelector library. My code is the following:

 

df <- knime.in
#install.packages('FSelector', dependencies=TRUE, repos='http://cran.rstudio.com/') # I used this line of code the first time to install the package
library(FSelector)
weights = relief(TARGET~., df, neighbours.count = knime.flow.in[["neighboursCount"]], sample.size = knime.flow.in[["sampleSize"]]) #parameters neighbour.count and sample.size are controlled by flow variables
subset = cutoff.k(weights, knime.flow.in[["colNumber"]]) #the number of features to take is controlled by a flow variable
subset = c(subset, "TARGET")

I encountered the following error:

Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Program Files/KNIME/plugins/org.knime.ext.r3.bin.win32.x86_3.0.3.v201508240951/R-Inst/library/rJava/libs/x64/rJava.dll':

LoadLibrary failure:  the specified module could not be found.

closing as duplicate,

follow ups here: https://tech.knime.org/forum/knime-general/unable-to-load-shared-object-r-instlibraryrjavalibsx64rjavadll