Reputation: 210
I have a vector in .Rmd file let's say
x <- c(1,2,3,4)
I want to print and export this file to html or doc file to look like
Any ideas?
Upvotes: 1
Views: 489
Reputation: 887158
We can do
```{r, code2, results = "asis", echo = FALSE}
cat(paste("*", x), sep="\n")
```
-output
Upvotes: 1