C# Class Microsoft.R.Interpreters.RInterpreterInfo

Inheritance: IRInterpreterInfo
ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
RInterpreterInfo ( string name, string path, IFileSystem fs = null ) : System
VerifyInstallation ( ISupportedRVersionRange svr = null, IFileSystem fs = null, ICoreShell coreShell = null ) : bool

Private Methods

Method Description
DetermineVersion ( IFileSystem fs ) : System.Version
ExtractVersionString ( string original ) : string
GetRVersionFromBinary ( IFileSystem fs, string basePath ) : System.Version
GetRVersionPartsFromFileMinorVersion ( int minorVersion, int &minor, int &revision ) : void

Given R minor file version like 10 converts it to R engine minor version. For example, file may have version 3.10 which means R 3.1.0. In turn, file version 2.125 means R engine version is 2.12.5.

IsSameVersion ( System.Version v1, System.Version v2 ) : bool
NormalizeRPath ( string path ) : string

Method Details

RInterpreterInfo() public method

public RInterpreterInfo ( string name, string path, IFileSystem fs = null ) : System
name string
path string
fs IFileSystem
return System

VerifyInstallation() public method

public VerifyInstallation ( ISupportedRVersionRange svr = null, IFileSystem fs = null, ICoreShell coreShell = null ) : bool
svr ISupportedRVersionRange
fs IFileSystem
coreShell ICoreShell
return bool