Implement an memory allocator(new, delete) with R_Calloc and R_Free