# NOT RUN {
sfiles <- list.files(path=system.file("files/structure",package="pophelper"),
full.names=TRUE)
# create a qlist of all runs
slist <- readQStructure(sfiles)
# use ind names from file
slist <- readQStructure(sfiles[1],indlabfromfile=TRUE)
# access the first run
slist <- readQStructure(sfiles)[[1]]
# access names of runs
names(slist)
# }
Run the code above in your browser using DataLab