Replace $R with just R.