C# Class BSky.Statistics.R.RPackageManager

Mostrar archivo Open project: BlueSkyStatistics/BlueSkyRepository Class Usage Examples

Public Methods

Method Description
AddUserSessionPackage ( string packagename ) : void
CompareVersion ( string Aversion, string Bversion ) : int
GetCommaSeparatedWithSingleQuotes ( string pkgs ) : string
GetCurrentlyLoadedPackages ( ) : string[]
GetInstalledPacakgeVersion ( string RPackageName ) : string
GetInstalledPackages ( ) : string[]
GetPackageNameFromZip ( string fullpathpackagefilename, string &packageversion ) : string
InstallMultiPackageFromZip ( string fullpathpackagefilenames, bool autoLoad = true, bool overwrite = false ) : UAReturn
InstallPackageFromCRAN ( string packagename ) : UAReturn
InstallPackageFromZip ( string fullpathpackagefilename, bool autoLoad = true, bool overwrite = false ) : UAReturn
InstallReqPackageFromCRAN ( string packagename ) : UAReturn
IsUserPackage ( string packagename ) : bool
LoadMultiplePackages ( string packagenames, bool AddToUserPackageList ) : UAReturn
LoadPackage ( string packagename, bool AddToUserPackageList ) : UAReturn
ObjectToStringArray ( object obj ) : string[]
RPackageManager ( RService dispatcher, Journal journal ) : System.Text
UnLoadMultiPackage ( string packagenames ) : UAReturn
UnLoadPackage ( string packagename ) : UAReturn
UninstallMultiPakckage ( string packagenames ) : UAReturn
UninstallPackage ( string packagename ) : UAReturn
isPackageInstalled ( string packagename ) : bool
isPackageLoaded ( string packagename ) : bool
setCRANMirror ( ) : UAReturn

Method Details

AddUserSessionPackage() public method

public AddUserSessionPackage ( string packagename ) : void
packagename string
return void

CompareVersion() public method

public CompareVersion ( string Aversion, string Bversion ) : int
Aversion string
Bversion string
return int

GetCommaSeparatedWithSingleQuotes() public method

public GetCommaSeparatedWithSingleQuotes ( string pkgs ) : string
pkgs string
return string

GetCurrentlyLoadedPackages() public method

public GetCurrentlyLoadedPackages ( ) : string[]
return string[]

GetInstalledPacakgeVersion() public method

public GetInstalledPacakgeVersion ( string RPackageName ) : string
RPackageName string
return string

GetInstalledPackages() public method

public GetInstalledPackages ( ) : string[]
return string[]

GetPackageNameFromZip() public method

public GetPackageNameFromZip ( string fullpathpackagefilename, string &packageversion ) : string
fullpathpackagefilename string
packageversion string
return string

InstallMultiPackageFromZip() public method

public InstallMultiPackageFromZip ( string fullpathpackagefilenames, bool autoLoad = true, bool overwrite = false ) : UAReturn
fullpathpackagefilenames string
autoLoad bool
overwrite bool
return BSky.Statistics.Common.UAReturn

InstallPackageFromCRAN() public method

public InstallPackageFromCRAN ( string packagename ) : UAReturn
packagename string
return BSky.Statistics.Common.UAReturn

InstallPackageFromZip() public method

public InstallPackageFromZip ( string fullpathpackagefilename, bool autoLoad = true, bool overwrite = false ) : UAReturn
fullpathpackagefilename string
autoLoad bool
overwrite bool
return BSky.Statistics.Common.UAReturn

InstallReqPackageFromCRAN() public method

public InstallReqPackageFromCRAN ( string packagename ) : UAReturn
packagename string
return BSky.Statistics.Common.UAReturn

IsUserPackage() public method

public IsUserPackage ( string packagename ) : bool
packagename string
return bool

LoadMultiplePackages() public method

public LoadMultiplePackages ( string packagenames, bool AddToUserPackageList ) : UAReturn
packagenames string
AddToUserPackageList bool
return BSky.Statistics.Common.UAReturn

LoadPackage() public method

public LoadPackage ( string packagename, bool AddToUserPackageList ) : UAReturn
packagename string
AddToUserPackageList bool
return BSky.Statistics.Common.UAReturn

ObjectToStringArray() public method

public ObjectToStringArray ( object obj ) : string[]
obj object
return string[]

RPackageManager() public method

public RPackageManager ( RService dispatcher, Journal journal ) : System.Text
dispatcher RService
journal Journal
return System.Text

UnLoadMultiPackage() public method

public UnLoadMultiPackage ( string packagenames ) : UAReturn
packagenames string
return BSky.Statistics.Common.UAReturn

UnLoadPackage() public method

public UnLoadPackage ( string packagename ) : UAReturn
packagename string
return BSky.Statistics.Common.UAReturn

UninstallMultiPakckage() public method

public UninstallMultiPakckage ( string packagenames ) : UAReturn
packagenames string
return BSky.Statistics.Common.UAReturn

UninstallPackage() public method

public UninstallPackage ( string packagename ) : UAReturn
packagename string
return BSky.Statistics.Common.UAReturn

isPackageInstalled() public method

public isPackageInstalled ( string packagename ) : bool
packagename string
return bool

isPackageLoaded() public method

public isPackageLoaded ( string packagename ) : bool
packagename string
return bool

setCRANMirror() public method

public setCRANMirror ( ) : UAReturn
return BSky.Statistics.Common.UAReturn