Skip to content

Instantly share code, notes, and snippets.

View TimTaylor's full-sized avatar

Tim Taylor TimTaylor

View GitHub Profile
@grantmcdermott
grantmcdermott / print.data.frame
Created February 20, 2026 20:49
Nice(r) base R data.frame print method
print.data.frame = function(x, ..., topn = 5, nrows = 20) {
nr = nrow(x)
if (nr <= nrows) {
out = x
splitprint = FALSE
} else {
out = rbind(head(x, topn), tail(x, topn))
splitprint = TRUE
}
@tgirke
tgirke / _Nvim-R-Tmux.md
Last active October 13, 2023 05:29
Nvim-R-Tmux: An Integrated Working Environment for R

Nvim-R-Tmux: Neovim-based IDE for R

!!! This Gist tutorial is deprecated. Its new version is available here !!!

This is some red text.

  • Author: Thomas Girke
  • Last update: 18-Nov-2020