R Lists
kodingwindow@kw:~$ R ... > flist <- list("Apple","Orange","Grapes","Apple") > flist [1] "Apple" "Orange" "Grapes" "Apple" > length(flist) [1] 4 > nlist <- list(1,2,3,4,5) > length(nlist) [1] 5 > nlist <- list(1:10) > nlist [[1]] [1] 1 2 3 4 5 6 7 8 9 10 > length(nlist) [1] 1
Advertisement