I found opencpu to be significantly slower than the corresponding R function called within R. One of the reasons might be that I exchange data back and forth between the server and the client using:
ocpu.rpc()
every time the user gives an input and pulling back the data on the client when the action is finished.
Could succesive calls of:
ocpu.call()
lead to a significant speed up?