tying within RStudio