2

I was able to generate a word document report having a simple table using R markdown but I was not able to generate the report with table having grids.

I tried to create a reproducible code.

---
title: "Unable to create table having grids"
output: word_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

## R Markdown simple table

Tables             Are           Cool
-------------     -----------   -----------
col 3 is         right-aligned  $1600 
col 2 is         centered         $12 
zebra stripes    are neat         $1"


## Table Does Not have grids in it.

+--------------+---------------+---------+
|Tables        | Are           | Cool    |
+==============+===============+=========+
|col 3 is      | right-aligned | $1600   |
+--------------+---------------+---------+
|col 2 is      | centered      |   $12   |
+--------------+---------------+---------+
radhikesh93
  • 870
  • 9
  • 25

0 Answers0