added R rpc calls and top-level analytics actor