私はモデルの結果を生成してrマークダウンで印刷するためにforループを使用しています。それをきれいに保つために、モデル結果を印刷する前にコメントを印刷するのが良いでしょう。マークダウンのループでrのコメントを印刷
Rのハッシュタグの背後にコメント付きのテキストを印刷する方法はありますか?
#this is the number
print(1)
#this is the number
print(2)
#this is the number
print(3)
#this is the number
print(4)
これは役に立ちましたか?http://stackoverflow.com/questions/17178831/generate-markdown-comments-within-for-loop –