add r support