Added configure for R.