Class: Swineherd::Script::RScript
- Inherits:
-
Object
- Object
- Swineherd::Script::RScript
- Includes:
- Common
- Defined in:
- lib/swineherd/script/r_script.rb
Instance Attribute Summary
Attributes included from Common
#attributes, #input, #options, #output
Instance Method Summary collapse
Methods included from Common
#env, #initialize, #refresh!, #run, #script
Instance Method Details
#cmd ⇒ Object
9 10 11 |
# File 'lib/swineherd/script/r_script.rb', line 9 def cmd local_cmd end |
#local_cmd ⇒ Object
5 6 7 |
# File 'lib/swineherd/script/r_script.rb', line 5 def local_cmd "/usr/bin/Rscript --vanilla #{script}" end |