r segment for