Dear Rich,

If you want to look at Rdata-files in a quick way in the 
terminal, use this little gem in your .zshrc.local:

readrdata() { Rscript -e "options(width=$COLUMNS); load('$1'); sapply(ls(), 
get, simplify=F)" | less }

Merry Christmas!

Best,
Rasmus

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to