R wrapper for ArrayFire