[英]Get more than 1000 observation for View() function
我正在使用RStudion,当我使用View()命令时,我只能看到前1000行。 是否可以获得超过1000行? 或少于1000行? 是否有可能获得像500:1000那样的范围观察?
提前致谢。
这有可能发生:
假设您有一个名为df的data.frame,它具有2000行和2列。 要查看所有这些内容,您需要在控制台上明确输入:
utils::View(df) #however this will open a new separate window to view all the records.
为了仅查看data.frame的500:1000条记录,请执行以下操作:
utils::View(df[500:1000,]) #i.e. use the standard way of slicing the data.frame in the function.
希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.