public class RUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
R_TYPE_PROPERTY |
Constructor and Description |
---|
RUtil() |
Modifier and Type | Method and Description |
---|---|
protected static String |
getArchLibraryPath(String libraryRepository)
On some platform, rJava dll are installed into a sub directory depending on system arch.
|
static void |
initJri()
Try to call "R" process to get location where jri is installed.
|
protected static void |
parseRscriptOutput(InputStream is)
Parse valid Rscript output to find if rJava is installed and where it is installed.
|
protected static void |
setJavaLibraryPath(String newValue)
Set runtime java library path.
|
public static final String R_TYPE_PROPERTY
public static void initJri()
protected static void parseRscriptOutput(InputStream is) throws IOException
is
- process outputIOException
protected static String getArchLibraryPath(String libraryRepository)
libraryRepository
- library base repositoryprotected static void setJavaLibraryPath(String newValue)
newValue
- new value to setCopyright © 1999–2020 CodeLutin. All rights reserved.