souravc83 / fastboost Goto Github PK
View Code? Open in Web Editor NEWA fast Adaboost implementation for R
License: Other
A fast Adaboost implementation for R
License: Other
I receive the following error when attempting to install the fastBoost package:
Commands:
library(devtools)
devtools::install_github("souravc83/fastBoost")
Output:
Downloading GitHub repo souravc83/fastBoost@master
from URL https://api.github.com/repos/souravc83/fastBoost/zipball/master
Installing fastBoost
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore CMD INSTALL \
'/tmp/RtmpoexmVy/devtools11bc3251d1c/souravc83-fastBoost-c4314e7' \
--library='/home/myusername/R/x86_64-pc-linux-gnu-library/3.2' --install-tests
* installing *source* package ‘fastBoost’ ...
** libs
g++ -I/usr/share/R/include -DNDEBUG -I"/home/myusername/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o
g++ -I/usr/share/R/include -DNDEBUG -I"/home/myusername/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c adaboost_main.cpp -o adaboost_main.o
adaboost_main.cpp: In function ‘Rcpp::List adaboost_main_loop_(SEXP, Rcpp::DataFrame, int, Rcpp::Function, Rcpp::IntegerVector, SEXP, std::__cxx11::string)’:
adaboost_main.cpp:244:29: error: ‘to_string’ is not a member of ‘std’
std::string list_name = std::to_string(i);
^
/usr/lib/R/etc/Makeconf:143: recipe for target 'adaboost_main.o' failed
make: *** [adaboost_main.o] Error 1
ERROR: compilation failed for package ‘fastBoost’
* removing ‘/home/myusername/R/x86_64-pc-linux-gnu-library/3.2/fastBoost’
Error: Command failed (1)
Here is my relevant session info:
R version 3.2.4 Revised (2016-03-16 r70336)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 15.10
...
other attached packages:
[1] devtools_1.10.0 Rcpp_0.12.4
I appreciate the work you are doing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.