You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consoleLogger.WriteLineError($"RPlotExporter requires R_HOME to point to the parent directory of the existing '{Path.DirectorySeparatorChar}bin{Path.DirectorySeparatorChar}{rscriptExecutable} (currently points to {rHome})");
95
+
consoleLogger.WriteLineError($"{nameof(RPlotExporter)} requires R_HOME to point to the parent directory of the existing '{Path.DirectorySeparatorChar}bin{Path.DirectorySeparatorChar}{rscriptExecutable} (currently points to {rHome})");
96
+
returnfalse;
97
97
}
98
98
99
99
// No R_HOME, or R_HOME points to a wrong folder, try the path
100
100
rscriptPath=FindInPath(rscriptExecutable);
101
-
if(rscriptPath==null)
101
+
if(rscriptPath!=null)
102
+
returntrue;
103
+
104
+
if(RuntimeInformation.IsWindows())
102
105
{
103
-
consoleLogger.WriteLineError($"RPlotExporter couldn't find {rscriptExecutable} in your PATH and no R_HOME environment variable is defined");
0 commit comments