Problem Installing ROCR package


Hi. I have a problem with installing ROCR package in both R Studio and R 3.4.3, as it come out as:
Loading required package: gplots
Error: package or namespace load failed for ‘gplots’ in inDL(x, as.logical(local), as.logical(now), …):
unable to load shared object ‘C:/Users/User/Documents/R/win-library/3.4/bitops/libs/x64/bitops.dll’:
LoadLibrary failure: %1 is not a valid Win32 application.

Then I went to install gplots and it appears as:
Failed with error: ‘package ‘gplots’ could not be loaded’
In addition: Warning messages:
1: package ‘ROCR’ was built under R version 3.4.3
2: package ‘gplots’ was built under R version 3.4.3
Error in .requirePackage(package) :
unable to find required package ‘ROCR’

With this problem I could not proceed to use the function ‘prediction’ on the logistic regression problem and further creating the ROC curve. Pls help asap! Thanks!


try installing the gplots package separately first. Sometimes that can resolve this issue