Hi, forgive me if it is due to my "laziness" :) I am wondering if there are functionalities in R, which can do like "more" and "tab" in linux: more(one.data.frame) so I can browse through it. Sometimes I can use one.data.frame[1:100,], but still not as good as "more" in linux. tab: can I use tab to auto complete an defined object name in R so I don't have to type the full name? I knew ESS can do it but it is a little bit funny when I use ESS and it can delete something that you cannot delete from R, like pressing del key all the time and you see what i mean. thanks, weiwei -- Weiwei Shi, Ph.D "Did you always know?" "No, I did not. But I believed..." ---Matrix III
Gabor Grothendieck
2005-Jul-08 23:55 UTC
[R] "more" and "tab" functionalities in R under linux
Here are some possibilities: - head(iris) will show the first few rows of the data frame - edit(iris) will put up a spreadsheet with the data frame in it that you can scroll - In JGR (a GUI front end for R) you can use the object browser (ctrl-B) - If the object is a file rather than a data frame use file.show On 7/8/05, Weiwei Shi <helprhelp at gmail.com> wrote:> Hi, > forgive me if it is due to my "laziness" :) > I am wondering if there are functionalities in R, which can do like > "more" and "tab" in linux: > more(one.data.frame) so I can browse through it. Sometimes I can use > one.data.frame[1:100,], but still not as good as "more" in linux. > > tab: > can I use tab to auto complete an defined object name in R so I don't > have to type the full name? I knew ESS can do it but it is a little > bit funny when I use ESS and it can delete something that you cannot > delete from R, like pressing del key all the time and you see what i > mean. > > thanks, > > weiwei > -- > Weiwei Shi, Ph.D > > "Did you always know?" > "No, I did not. But I believed..." > ---Matrix III > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >