Added R and associated test.