Ambiguous match : Overloaded methods : Calling PowerShell

Nov 9, 2015 at 4:00 PM
We are trying to use this library to call PowerShell commands and scripts from R. Unfortunately we are getting stuck trying to call the .Invoke() method. The issue appears to be that it's overloaded and when clrCall is used there is no way to specify which version of the method to call..

We then get an error:

Error in clrCall(ps,"Invoke") :


Message: Ambigous match found

The methods only appear to differ by return type.

Any suggestions would be more than welcome.