2 column Section in R Markdown

后端 未结 5 1920
情书的邮戳
情书的邮戳 2020-11-28 01:51

I\'m very new at R Markdown and I\'m putting together an R Markdown HTML page for some new R users at my work to give them an intro and walk them through some simple demos.

5条回答
  •  一生所求
    2020-11-28 02:36

    rmarkdown file:

    #### Put in your css file or directly in rmarkdown
    
    
    
    #### This section will have three columns
    
    
    **1** one **2** two **3** three **4** four **5** five **6** six **7** seven **8** eight **9** nine
    #### This section will have two columns
    ```{r} head(mtcars) tail(mtcars) ```

    Gives me this


    Edit

    To be more precise with the column elements, you can use a div for each set of elements:

    Rmd file

    
    
    #### This section will have three columns
    
    
    **1** one **2** two
    **3** three **4** four **5** five **6** six
    **7** seven **8** eight **9** nine

    Gives me

提交回复
热议问题