I am doing an RMarkdown document using RStudio and knitr. I want my code snippets to print without wrapping text in the html file I am creating. Is there an option that I am missing that stops text wrapping? So far, I have only asked questions about how to remove scrollbars, making me think that maybe something has changed recently. (RStudio Version 0.99.892, R Version 3.2.2) Thank you!
A simple RMarkdown document example. (Default Settings Section):
---
title: "Stop looking bad RMarkdown!"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r}
x <- matrix(nrow = 3, ncol = 20, data = 1)
x
```
If you run this, you will see that the matrix x is split into two rows. I want this to be only one line you need to scroll to see all this.