r to size_t