Project

General

Profile

Bug #3543

org.ecoinformatics.seek.R.RExpression

Added by Paul Allen over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
10/22/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3543

Description

Actor is failing to properly generate directory name for setwd() R command. R is expecting "/" as file separators yet the critical statement uses the OS file separator. See line 304:

OLD:
String execDir = home + workflowName + "_" + WorkflowExecutionListener.getInstance().getId(toplevel()) + sep;

SHOULD BE:
String execDir = home + workflowName + "_" + WorkflowExecutionListener.getInstance().getId(toplevel()) + "/";

It seems that actor would not run properly on any Windows OS with current code.

History

#1 Updated by Derik Barseghian over 10 years ago

Thanks for reporting, I broke this with my last checkin when trying to clean up hardcoded paths. R wants paths to use / as separator, not the windows separator.
Fixed with r8151. Also fixed: .sav files weren't writing out to the subdirs beneath .kepler.

I think there may be other OS dependent issues lurking with how RExpression deals with file separators...

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3543

Also available in: Atom PDF