I found out that the "options" function in R doesn't persist through the chunks.
To be specific, I first write down a chunk like
options(digits = 15)
and then write down a separate chunk like
a = 1/2^10
a
But the 'digits' option I had set in the previous chunk doesn't work at all and goes back to the default.
I found out that the "options" function works in the specific chunk that it's in, but it is annoying to write down these options in every single chunks.
Is there any way to fix this? Any help is appreciated!