maRce10 / Rraven

Integrating R with Raven
https://marce10.github.io/Rraven
10 stars 3 forks source link

Add parameters for detector preset and view preset #4

Closed DanWoodrich closed 6 years ago

DanWoodrich commented 6 years ago

Hi Marcelo,

I was looking in the log file and think I guessed luckily on what parameters Raven would accept. I added parameters for detector type ("-detPreset:") and window/view preset ("-viewPreset:") and have been using this code successfully, no renaming "Default" detector needed.

I found it is also important to specify the view (or as the Raven GUI calls it, "window") preset because the detector will behave differently under different window presets.

I only tested this code for Windows OS but tried to follow the pattern for Mac and Linux.

I wanted to share in case you like this solution better. Thanks for looking at this for me, your package has been extremely helpful for my project