« Return to Thread: Issues with file.info?

Re: Issues with file.info?

by JustADude :: Rate this Message:

Reply to Author | View in Thread


Issue was with an entire directory/folder or list of files in a directory.  It seemed to work fine for a single file or being sent a single file/folder.  

I will try to generate some example code to demonstrate the problem.

Thanks again for all the replies.



--- On Thu, 7/9/09, jim holtman <jholtman@...> wrote:

> From: jim holtman <jholtman@...>
> Subject: Re: [R] Issues with file.info?
> To: "Jason Rupert" <jasonkrupert@...>
> Cc: R-help@...
> Date: Thursday, July 9, 2009, 3:04 PM
> Works fine for me on 2.9.1:
>
> > file.info('/jph')
>      size isdir mode   
>            mtime 
>              ctime
>     atime exe
> /jph    0  TRUE  777 2009-06-29
> 15:15:13 2008-02-14 09:31:26
> 2009-07-09 15:57:04  no
> >
>
>
>
> On Thu, Jul 9, 2009 at 2:02 PM, Jason Rupert<jasonkrupert@...>
> wrote:
> >
> > Are there any tricks associated with file.info?
> >
> > I just tried it on a directory folder and it returned
> NA for all fields for all files.  I tried it on a different
> folder with different files and it still returned NA.
> >
> > I tried it on a specific file and it returned all the
> proper info correctly.
> >
> > Just wondering if there are any tricks I've
> overlooked.
> >
> > ______________________________________________
> > R-help@...
> mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained,
> reproducible code.
> >
>
>
>
> --
> Jim Holtman
> Cincinnati, OH
> +1 513 646 9390
>
> What is the problem that you are trying to solve?
>




______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

 « Return to Thread: Issues with file.info?