Skip to content

Commit

Permalink
Update StartRserve.java
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrichet authored Sep 4, 2019
1 parent 34fdc0d commit ba1178b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/org/math/R/StartRserve.java
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,12 @@ public static boolean installRserve(String Rcmd, String http_proxy, String repos
* @return success
*/
public static boolean installRserve(String Rcmd) {
Log.Out.println("Install Rserve from local filesystem...");
if (RserveDaemon.app_dir().isDirectory()) {
Log.Out.println("Already installed Rserve. (in "+RserveDaemon.app_dir().getAbsolutePath()+")");
return true;
}

Log.Out.println("Install Rserve from local filesystem... (in "+RserveDaemon.app_dir().getAbsolutePath()+")");

String pack_suffix = ".tar.gz";
if (RserveDaemon.isWindows()) {
Expand Down

0 comments on commit ba1178b

Please sign in to comment.