Skip to content

Instantly share code, notes, and snippets.

@lrasmus
Created April 13, 2018 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lrasmus/1decc4c4af6dc61e45167a64b638c2f0 to your computer and use it in GitHub Desktop.
Save lrasmus/1decc4c4af6dc61e45167a64b638c2f0 to your computer and use it in GitHub Desktop.
Test R.NET app loading xgboost
using RDotNet;
namespace RDotNetTester
{
class Program
{
static void Main(string[] args)
{
REngine.SetEnvironmentVariables();
var engine = REngine.GetInstance(null, true, null);
engine.Evaluate("library(xgboost)");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment