访问 Win7 文件属性 [英] Accessing Win7 file attributes

查看:29
本文介绍了访问 Win7 文件属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在 R 中读取和导入 Windows 7 目录中存在的文件的所有可用操作系统属性.

I need to read and import in R all available OS attributes for files that are present in a Windows 7 directory.

我需要的属性:

  1. 所有者

file.info 给了我一组预定义的属性,这些属性只是我需要的一部分,见下文:

file.info is giving me a predefined set of attributes which are only part of what I need, see below:

  1. 尺寸
  2. isdir
  3. 模式
  4. 时间
  5. ctime
  6. 时间
  7. exe

推荐答案

您可以使用 file.info() 从计算机的文件系统中获取文件信息.

You can use file.info() to get file information from the computer's file system.

这篇关于访问 Win7 文件属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆