TWINSPAN in R