Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
外部コードのオプション付きで Knitr パッケージを使用しています。チャンク内の行を読み飛ばす方法はありますか? 例えば:
## @knitr chunk1 a <- 1:100 ## This comment should not appear ## @knitr chunk2 print(a[1:12])
上記の例では、最終的な *.pdf に 3 行目が表示されないようにしたいと考えています。ヒントをありがとう。