Possibly overkill, I use a Windows batch file that calls a perl script.
Both the bat and pl files need to be in the executable path. Open a
command prompt, type `pwd ' and then drag the file or folder from the
Windows Explorer to the cmd. The script will return the file with
backslashes convert
I wanted to round rather than truncate timestamps
# create a data set to work with
s <- 30 * rnorm(10, 1, 0.1)
gps.timestamp <- Sys.time() + s*1:10
gps.timestamp <- c(round(gps.timestamp[1], "min"), gps.timestamp,
as.POSIXct("2012-06-08 17:32:59"), as.POSIXct("2012-06-08 17:32:30"))
f <- funct
ere:
http://gis.washington.edu/phurvitz/R/rodbc_problem/
-P.
**
Phil Hurvitz, MFR | PhD Student, Urban Planning | CBE
1107 NE 45th Street, Suite 535 | Box 354802
University of Washington, Seattle, Washington 98195-4802,
3 matches
Mail list logo