imbs-hl / ranger

A Fast Implementation of Random Forests
http://imbs-hl.github.io/ranger/
765 stars 190 forks source link

Simple fix for installation issue found? #719

Open RightHandOfDoom opened 2 months ago

RightHandOfDoom commented 2 months ago

Hi everybody! I saw that some users had trouble installing the ranger package. I tried this (Windows machine, R 4.1.2):

Sys.setenv("PKG_CXXFLAGS"="-std=c++14") install.packages("ranger", type="source")

Worked like a charm.

amrcode1 commented 3 weeks ago

Hi everybody! I saw that some users had trouble installing the ranger package. I tried this (Windows machine, R 4.1.2):

Sys.setenv("PKG_CXXFLAGS"="-std=c++14") install.packages("ranger", type="source")

Worked like a charm.

Thanks, this work perfect for my work computer with limited administrator permission (Windows 10, 22H2), in my personal laptop i dont needed this tweak.