Quick lesson: How to make tables in MS Word from your data in R

Quick lesson: How to make tables in MS Word from your data in R

R for Ecology

3 года назад

20,428 Просмотров

Check out my other courses and blog here:
https://www.rforecology.com

This here is a quick lesson on how to convert data frames from R into tables in Microsoft Word.

Link for converting text to tables in MS Word for Windows:
https://support.microsoft.com/en-us/office/convert-text-to-a-table-or-a-table-to-text-b5ce45db-52d5-4fe3-8e9c-e04b62f189e1#:~:text=Select%20the%20text%20that%20you,columns%20and%20rows%20you%20want.

Interested in full courses on R for Ecologists? Check out this link to find courses and sign up to our email list for updates:
www.rforecology.com

Software versions used in this video:
- Microsoft Word for Mac version 16.44
- R version 4.03
- RStudio version 1.3.1093

Тэги:

#Microsoft_Word #RStudio #R_Studio #dataframe #table #data_frame #Ecology #Science_with_R #Exporting_tables #Exporting_tables_from_R #MS_Word #Rstats #Data_Viz #data_visualization #gplot2 #datavis #dataviz #Rstudio #ecology #r_programming #data_science #r_tutorial #biology #r_for_biology #r_for_ecology #environmental_science #r_for_biologists #r_for_ecologists #RVideoTutorials
Ссылки и html тэги не поддерживаются


Комментарии:

@HellhammerHH
@HellhammerHH - 12.09.2023 05:46

Thank you sir 🫡

Ответить
@ProfBoggs
@ProfBoggs - 30.05.2023 22:47

Have you found an R solution for cases when you want your exported table to contain values with thousands commas? That is, the table contains numbers like 1000, 3243, and so on. I don't want to manually add 121 thousands commas to this appendix table in my Word document.

I can imagine complicated solutions by reading the exported csv into Excel, then setting cell type to numeric, then exporting again as a csv file that uses slashes instead of commas to separate, and then adding it into MS-Word. But that is a clunky solution.

Ответить
@MrDrcubed
@MrDrcubed - 27.02.2023 21:53

Defeats the purpose. Should have written an R code to automatically save R tables to word.

Ответить
@TheGuaranas
@TheGuaranas - 08.12.2022 20:21

in the last step, how exactly did you format the table to make it look tht nice? without the tiles and the thicker lines?
Thx!

Ответить
@Methuselah_
@Methuselah_ - 04.10.2022 04:17

How to create tables in R Markdown?

Ответить
@harryporter9965
@harryporter9965 - 19.10.2021 14:41

Hello Sir,
Which libraries are you using to perform your tasks?

Ответить