On Fri, 24 Dec 2021, Rasmus Liland wrote:

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 }

Rasmus,

I use bash, not zsh. And running the readdata() command in R produces no
output.

Thanks for the thought,

Rich

______________________________________________
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