Testing connection with R.