if (FALSE) {
## Let's write the example data to an ADF file:
data(adf.example)
## Let's put it in the current working directory:
write.adf(adf.example, "test.adf")
## You can also use file connections to do the same:
con <- file("test2.adf", "wb")
write.adf(adf.example, con)
close(con)
## Last but not least the same object can be saved
## as an adz file:
write.adz(adf.example, "test.3.adz")
}
Run the code above in your browser using DataLab