Running Cube Scripts from R Scripts
From time to time, it makes sense to not re-invent the wheel by building something in R that is already available in another program, like Cube Voyager.
This is incredibly easy:
system("voyager.exe script.S /Start /CloseWhenDone")
That's it! BUT...
If you want the output from a matrix available to R, the last line of your Cube script should include something like:
This will convert the output matrix to an omx file. The star runs it from the command prompt.