Error while calculating the information value

r

#1

I am currently finding the information value for variable selection for modelling.For this, I am trying to install GitHub package of it.But I am getting the error.

install developer tool and then woe package from GitHub

install.packages("devtools")
library(devtools)
install_github("tomasgreif/woe")
Downloading github repo tomasgreif/woe@master
Installing woe
Installing 3 packages: gsubfn, Rcpp, stringi
package ‘gsubfn’ successfully unpacked and MD5 sums checked
package ‘Rcpp’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘Rcpp’
package ‘stringi’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘stringi’
"C:/PROGRA~1/R/R-32~1.1/bin/x64/R" --no-site-file --no-environ --no-save  \
  --no-restore CMD INSTALL "C:/Users/hp  \
  pc/AppData/Local/Temp/RtmpKQgvmo/devtoolse808be219f/tomasgreif-woe-43fcf26"  \
  --library="C:/Users/hp pc/Documents/R/win-library/3.2" --install-tests 

* installing *source* package 'woe' ...
** R
** data
*** moving datasets to lazyload DB
** demo
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'Rcpp'
ERROR: lazy loading failed for package 'woe'
* removing 'C:/Users/hp pc/Documents/R/win-library/3.2/woe'
Error: Command failed (1)

#2

@hinduja1234,

You can install package “woe” in Rstudio.
> install.packages(“woe”)
Installing package into ‘C:/Users/Analytics Vidhya/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.2/woe_0.2.zip
Content type ‘application/zip’ length 12890 bytes (12 KB)
downloaded 12 KB

package ‘woe’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\Analytics Vidhya\AppData\Local\Temp\Rtmp8s5kg1\downloaded_packages

Regards,
Mark