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:  Impossibile trovare il modulo specificato.

 

"Impossibile trovare il modulo specificato" means "the specified module could not be found"

It says me "comment field is required", but I have written all I had to say. I don't understand.

Hi Potato,

Could you please provide some more details about the R installation you are using?

Best,

Roland