C# Класс Microsoft.R.Interpreters.RInstallation

Verifies that R is installed in the folder specified in settings. If nothing is specified settings try and find highest version.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetCompatibleEngines ( ISupportedRVersionRange svl = null ) : IEnumerable

Retrieves path to the latest (highest version) R installation from registry. Typically in the form 'Program Files\R\R-3.2.1' Selects highest from compatible versions, not just the highest.

RInstallation ( ) : System
RInstallation ( IRegistry registry, IFileSystem fileSystem ) : System

Приватные методы

Метод Описание
GetCompatibleEnginesFromRegistry ( ISupportedRVersionRange svr ) : IEnumerable

Retrieves path to the all compatible R installations from registry.

GetInstalledEnginesFromRegistry ( ) : IEnumerable

Retrieves information on installed R versions in registry.

GetRVersionFromFolderName ( string folderName ) : System.Version
NameFromKey ( string key ) : string
TryFindRInProgramFiles ( ISupportedRVersionRange supportedVersions ) : IRInterpreterInfo

Описание методов

GetCompatibleEngines() публичный Метод

Retrieves path to the latest (highest version) R installation from registry. Typically in the form 'Program Files\R\R-3.2.1' Selects highest from compatible versions, not just the highest.
public GetCompatibleEngines ( ISupportedRVersionRange svl = null ) : IEnumerable
svl ISupportedRVersionRange
Результат IEnumerable

RInstallation() публичный Метод

public RInstallation ( ) : System
Результат System

RInstallation() публичный Метод

public RInstallation ( IRegistry registry, IFileSystem fileSystem ) : System
registry IRegistry
fileSystem IFileSystem
Результат System