Assumes that this has been exported from R.