How do I get the data set that is in the console to appear up top as a table?
Hello Sarah,
The view() function is used for that for example:
view(iris)
view(stackeddata[order(stackeddata$TotalCosts),])
Like this? It's coming up with this error; Error in view(stackeddata[order(stackeddata$TotalCosts), ]) :
could not find function "view"
it might be that you don't yet have tidyverse installed.
install.packages("tidyverse")
after that completes
library(tidyverse)
then the function should work.
I would guess your session got corrupted in some way. Ctrl Shift and F10 to restart.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.