-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
> Behalf Of Peter Alspach
> Sent: Tuesday, July 21, 2009 4:03 PM
> To: Erin Hodgess; R help
> Subject: Re: [R] time attribute from a file
>
> Tena koe Erin
>
> You could write a wee wrappe
Hi,
On Jul 21, 2009, at 4:54 PM, Erin Hodgess wrote:
Dear R People:
I am reading in a file via read.table. Is there a way to bring in
the time that the file was created, please?
See: ?file.info and the mtime, ctime, atime attributes it returns.
-steve
--
Steve Lianoglou
Graduate Student
21, 2009 4:03 PM
To: Erin Hodgess; R help
Subject: Re: [R] time attribute from a file
Tena koe Erin
You could write a wee wrapper and give the file an attribute. For
example,
copy <- function (file = "clipboard", sep = "\t", na.strings = c("NA",
Erin Hodgess wrote:
Dear R People:
I am reading in a file via read.table. Is there a way to bring in
the time that the file was created, please?
Use file.info on the same file ?
HTH,
Tobias
__
R-help@r-project.org mailing list
https://stat.ethz.c
Tena koe Erin
You could write a wee wrapper and give the file an attribute. For
example,
copy <- function (file = "clipboard", sep = "\t", na.strings = c("NA",
"*"), as.is = T, ...)
{
myX <- read.table(file, sep = sep, na.strings = na.strings,
as.is = as.is, ...)
attr(myX,
5 matches
Mail list logo