Realization theorems for operator-valued R-functions