You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Pretty-print named vectors and matrices? #800
I find it quite hard to separate the names of the vector from the vector values itself. A color coded way to differentiate the two would be greatly appreciated.
Edit:
While I'm at it, printing a named matrix would also be greatly appreciated.
Here's an example problem generated using Claude
# Create the matrix with random values
set.seed(123) # For reproducibilitymat<-matrix(rnorm(400, mean=50, sd=15), nrow=20, ncol=20)
# Create row namesrow_names<- paste0("Row_", sprintf("%02d", 1:20))
# Create column namescol_names<- paste0("Col_", sprintf("%02d", 1:20))
# Assign names
rownames(mat) <-row_names
colnames(mat) <-col_names# Display the matrix
print(mat)
Activity
[-][Feature Request] Pretty-print named vectors?[/-][+][Feature Request] Pretty-print named vectors and matrices?[/+]