I am trying to create a markdown of my analysis process on Kaggle but am running into issues. I am trying to follow similar steps to Google Data Analytics: Capstone Project(Cyclistic) | Kaggle because I like the way it's laid out. But when I try to run codes on Kaggle I receive error messages and I'm just curious how. And I don't know how to bring up my results for things like str() but no reveal other results like loading libraries in. Here's the error code I received:
Thanks so much for your help! I do have an additional question. What code could I use to hide some results but show others? Like show the str() data in my markdown but not loading the packages? And why don't you have to use "r" "" when creating code?
In this IDE you can run only specific line or part of code. Im dont know in this window of Kaggle.
But for example if you put # before a portion of code is not executed. You could disable some lines, but when there are many lines it would be a lot of work. Because this I recomend you use Rstudio.
library(tidyverse)
x<- 5
# this run the library and x object.
but if you put # before library
# library(tidyverse)
x<- 5
# this run the x object.