I would expect that both the chunk options at the top of the file + at the beginning of the chunk are used when I'm running from within RStudio (not knitting.) This is because this behavior worked in previous versions of RStudio, including versions and. Please let me know if you have any suggestions-any help is greatly appreciated! However, when I knit this file, it works fine i.e., there isn't a message that shows up in the html file, so my sense is that this issue is potentially related to RStudio's inline rendering. Within the chunk for messages/warnings, I still get the same result. Even weirder, when I set the chunk options i.e., In particular, what I see is thatĪs you can see, the message shows up even though I've explicitly set it to FALSE in my global chunk settings. The example I posted above demonstrates this issue. In particular, I'm seeing messages and warnings inline even though I've explicitly set them to FALSE. However, one issue I've seen is that my global chunk options aren't being respected. Usually, I like running all of my chunks in RMarkdown as opposed to knitting since my file can be quite large and I sometimes will run chunks out of order. However, since I'm using read_csv, which has a message/warning about the column types, I see the following in RStudio: Since I've explicitly set warnings and messages to FALSE, I would expect that the last chunk would return only a plot. Here's the example I've been playing with:. Hi! I was wondering if I could get some help with an odd issue that I've encountered when setting up a new computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |