add missing use of R