Equivalent to unix "less" command within R console
Not really. There are the commands
head()
andtail()
for showing the beginning and end of objectsprint()
for explicitly showing an object, and just its name followed by return does the samesummary()
for concise summary that depends on the objectstr()
for its structure
and more. An equivalent for less
would be a little orthogonal to the language and system. Where the Unix shell offers you less
to view the content of a file (which is presumed to be ascii-encoded), it cannot know about all types.
R is different in that it knows about the object types which is why summary()
-- as well as the whole modeling framework -- are more appropriate.
Follow-up edit: Another possibility is provided by edit()
as well as edit.data.frame()
.