Thank you for the hints, finally I was looking for the substitution of splitted$"2" to splitted[[as.character(counter)]] I did not know that I can substitute f.e the $"2" with [[2]] or/and $y (second column) with [[2]] Knut