First off thanks Chris G. for your webinar on RASController recently good stuff. I got the book and am now trying to convert some of this to program R.
I have imported the COM object, and can open RAS and do a few basic things (very similar post as Chris Kelley's post in C# Link here)
I cannot figure out how to get the Compute_CurrentPlan to work. Has anyone accomplished this in R?
Here is what I have so far...
# Ensure required packages are loaded
# To see all COM objects
# Launch the Registry Editor.
# Click Start, and then click Run.
# In the Open box, type "regedit", and then click OK.
# on the left expand HKEY_CLASSES_ROOT
# Look for RAS objects
# Open the RAS Controller
# Dim HRC As New HECRASController
HRC <- COMCreate("RAS503.HECRASController")
#RF <- COMCreate("RAS503.HECRASFlow")
#RG <- COMCreate("RAS503.HECRASGeometry")