R.NET 1.9.0

Install-Package R.NET -Version 1.9.0
dotnet add package R.NET --version 1.9.0
<PackageReference Include="R.NET" Version="1.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add R.NET --version 1.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: R.NET, 1.9.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install R.NET as a Cake Addin
#addin nuget:?package=R.NET&version=1.9.0

// Install R.NET as a Cake Tool
#tool nuget:?package=R.NET&version=1.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


  • R.NET can on all recent R versions from 3.4 onwards, including adjustments for R 4.0.x. While not extensively tested, any of the R 3.X releases should be supported. Note that on Linux only 3.5.y is supported due to a difficulty in detecting R versions on that OS.
  • Workaround: The R engine overrides PATH and R_HOME if a .Renviron file is present, at least on on Windows. This led to Default 'stats' package functions fail to load
  • Change on windows: if several versions of R are installed and registered in the windows registry, the most recent is the default R engine loaded.
  • Contributions by Luke Rasmussen and Kieren Johnstone are gratefully acknowledged

NuGet packages (7)

Showing the top 5 NuGet packages that depend on R.NET:

Package Downloads

Transitional package, you can remove and directly use nuget package ID R.NET


An F# Type Provider providing strongly typed access to the R statistical package. The type provider automatically discovers available R packages and makes them easily accessible from F#, so you can easily call powerful packages and visualization libraries from code running on the .NET platform.


QuantConnect LEAN Engine: Algorithm.CSharp Project - A collection of C# algorithm demonstrations for how to use the API


QuantConnect LEAN Engine: Launcher Project - Main startup executable for live and backtesting


A .NET interoperability library to access the R statistical language runtime from .NET languages. The library is designed for fast data exchange, in process.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on R.NET:

Repository Stars
Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
.NET interop library to call the R statistical language in the same process
Version Downloads Last updated
1.9.0 60,417 10/4/2020
1.8.2 59,667 5/20/2019
1.8.1 3,068 5/4/2019
1.8.0 1,942 5/4/2019
1.8.0-alpha2 471 5/4/2019
1.8.0-alpha1 689 3/25/2019
1.7.0 72,547 8/29/2017
1.5.5 39,763 9/16/2013
1.5.4 2,016 8/24/2013
1.5.3 1,048 8/17/2013
1.5.2 1,144 8/10/2013 1,299 7/30/2013
1.5.0 3,670 7/28/2012

Fix an issue with character columns in data frames, that occured for 3.5+ versions of R