Bug 380658

Summary: Option to directly open script files
Product: [Applications] rkward Reporter: RKWard Team <rkward-devel>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description RKWard Team 2014-11-21 11:53:41 UTC
-- Originally posted by (AT sourceforge.net): fly0s --

-- This ticket was imported from http://sourceforge.net/p/rkward/feature-requests/124 on 2017-05-31 14:49:01 +0100 --
In order to enhance the integration of RKward into the desktop, it would be nice to have an option to execute Rkward in a "script mode", in which we provide a script file and Rkward open the editor with a blank workspace (or with a provided workspace).

It could be something like this: "rkward -script file.R". Then, since the MIME type already exists for R source files, when clicking on a foo.R file in (say) Dolphin, RKward would be launched, with foo.R in the editor and a blank workspace.

Right now, if one wants to just open a script and run some commands inside, one has to run RKward beforehand, click on "Open file", then navigate to the file and open it, which can quickly become frustrating if you have the file available in a Dolphin window...
Comment 1 Thomas Friedrichsmeier 2014-11-21 12:40:05 UTC
Hi!

Just to let you know, that - incidentally - I am just working on this feature.

Regards
Thomas
Comment 2 RKWard Team 2014-11-21 12:47:51 UTC
-- Originally posted by (AT sourceforge.net): fly0s --
Hi!

Good to hear! Great minds think alike! ;)

Thanks and good luck!
Comment 3 Thomas Friedrichsmeier 2015-06-05 18:22:35 UTC
- **status**: open --> closed
- **Group**: ------- --> IMPLEMENTED
Comment 4 Thomas Friedrichsmeier 2015-06-05 18:22:35 UTC
Implemented in 0.6.3