Hi, I guess that the simplest way is by using RStudio. I'd suggest to create a new R MarkDown document, and create (or load) your data in a dataframe. You're able to build nice tables by using this library kableExtra
(interesting post here). Below a sample code. Once you've built your R Markdown you can then knit it as Html, Pdf or Word directly from R Studio.
---
title: "Test"
author: "Alessio Benedetti"
date: "30 marzo 2019"
output:
pdf_document: default
html_document: default
---
## Including Table
First we should a couple of libraries.
```{r libraries, echo=FALSE}
library(knitr)
library(kableExtra)
Then we can define a sample dataframe.
column1 <- c(1,2,3,4,5)
column2 <- c('hi', 'have', 'a', 'nice', 'day')
column3 <- c(TRUE, TRUE, FALSE, TRUE, FALSE)
df <- data.frame(column1, column2, column3)
And finally we can display the sample table with a nice format!
df %>% kable() %>% kable_styling()