Giter Site home page Giter Site logo

Windows installation about grf HOT 4 CLOSED

grf-labs avatar grf-labs commented on September 18, 2024
Windows installation

from grf.

Comments (4)

susanathey avatar susanathey commented on September 18, 2024

Thanks SO much for the suggestion--this sounds like an easy fix and we'll try to implement it asap. Let us know if you have other comments or suggestions--we're actively working on the package.

from grf.

jtibshirani avatar jtibshirani commented on September 18, 2024

Thanks so much @bquistorff for the ticket! It's good to know it's very minor additional work to support Windows. Would it be possible for you to list your version of R, RTools, and the C++ compiler, so we can make sure to test the installation on our end?

I'm hesitant to simply reverse the symlinks, since we'd eventually like to add other bindings (python, etc.) and it'd be best if the core directory was the C++ source of truth. For now I've uploaded a version of the package to releases/gradient-forest-alpha.tar.gz without symlinks. This non-symlink version is also available as a branch, test/windows-support.

from grf.

bquistorff avatar bquistorff commented on September 18, 2024

I was using Microsoft R Open 3.3.2 and RTools 3.4 (which has the C++ compiler I believe). I was also able to install from the tar.gz you posted. Great! On Windows, installation can then be done in one line with:

install.packages("https://raw.github.com/swager/gradient-forest/master/releases/gradient-forest-alpha.tar.gz", repos = NULL, type="source")

from grf.

jtibshirani avatar jtibshirani commented on September 18, 2024

I ended up removing the symlinks, and instead updated build_package.R to copy in the relevant source files before building the package. Running devtools::install_githubwill no longer work, but I've updated the README to suggest using the command above (thanks!)

from grf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.