I have created a tutorial in learnr
and I have noticed that for each code chunk that I create, I need to rerun the code from previous chunks if I wish to use the same data.
For instance, if I have something like this :
oneway <- aov(data=iris, Petal.Length~Species)
which I make in one exercise chunk, and I run:
summary(oneway)
in the next chunk, it will not recognize "oneway" anymore.