Søren Højsgaard <[EMAIL PROTECTED]> writes:
> Something like
>
> less <- function(a){
> fn <- paste(tempdir(),"\\dataframe.txt",sep='',collapse='')
> write.table(a, quote=F, file=fn)
> system(paste("less ",fn))
> }
>
> could perhaps help you (assuming that you have less on your computer). I
> agree that it would be very nice to have a built-in version...
Like page(), you mean... ?
:-)
(This goes via file.show, so Windows GUI users get a separate window,
I suppose.)
> Regards
> Søren
>
>
>
> > -----Oprindelig meddelelse-----
> > Fra: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] På vegne af Mike Wolfgang
> > Sendt: 29. juni 2006 04:29
> > Til: R-help list
> > Emne: [R] re-direct to "more" or "less"
> >
> > Dear list,
> >
> > sometimes my function generates too much data and shows them
> > on screen, i cannot view first several lines until program
> > ends and I have to scroll my mouse up to get them. Is there
> > any re-direction function in R to pipeline outputs to "more"
> > or "less" type functions?
> > Thanks
> >
> > mike
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [email protected] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> > http://www.R-project.org/posting-guide.html
> >
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html