我正在尝试阅读enter link description here
中的文件前15行描述文件,但我不想要它们。所以我使用skip = 15。
具体来说,我使用:
post = db.products(request.args(0, cast=int))
我得到以下内容:
xx <- read.table(file = "4br_grossc.comments", skip=15)
有关如何处理此文件的任何建议?我希望它有三个字段(仅限) - 触发号,单字母代码和最后一个字段中的自由流动文本。
非常感谢!
答案 0 :(得分:0)
你试过了吗?
xx <- read.table(file = "4br_grossc.comments", skip=15, header=TRUE)