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 ba1178b commit 1e19952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 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,7 @@ public static boolean installRserve(String Rcmd, String http_proxy, String repos
* @return success
*/
public static boolean installRserve(String Rcmd) {
if (RserveDaemon.app_dir().isDirectory()) {
if (new File(RserveDaemon.app_dir(),"Rserve").isDirectory()) {
Log.Out.println("Already installed Rserve. (in "+RserveDaemon.app_dir().getAbsolutePath()+")");
return true;
}
Expand Down

0 comments on commit 1e19952

Please sign in to comment.