# NOT RUN {
# }
# NOT RUN {
## examples will not be run during package compilation
## since they would require accessing and writing to
## external files
## load Italian ultra- prefix vgc
## and write to external text file
data(ItaUltra.emp.vgc)
write.vgc(ItaUltra.emp.vgc,"ultra.vgc")
## now ultra.vgc is a text file with columns N, V and V1
## we ready it back in
New.vgc <- read.vgc("ultra.vgc")
## same vgc as ItaUltra.emp.vgc, compare:
summary(New.vgc)
summary(ItaUltra.emp.vgc)
head(New.vgc)
head(ItaUltra.emp.vgc)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab