citation() x <- c(10.4, 5.6, 3.1, 6.4, 21.7) length(x) rm(x) x[1:3] # hihi, ez nem szamit 28 -> x[1] 28 -> x[1:3] c(28, 24) -> x[1:2]