## A sample file including a header and two rows of data.
## Date / Time Easting Northing Depth
## \%d/\%m/\%Y \%H:\%M:\%OS m m m
## 06/01/2001 01:01:59.000 727972.52 4138308.65 3.12
## 06/01/2001 01:01:59.200 727972.51 4138308.68 3.12
f <- system.file("RSurvey-ex/confluence.txt", package = "RSurvey")
con <- file(f, open = "r", encoding = "latin1")
srvy.import(file = con)
f <- paste(getwd(), "/test.txt", sep="")
con <- file(f, open = "w", encoding = "latin1")
srvy.export(file = con)Run the code above in your browser using DataLab