[r] Print values for multiple variables on the same line from within a for-loop