r allocation a