opal.workspaces function

Get the R workspaces from a opal.