我有一个R Markdown,它是我在RStudio中编织成html的。我可以使用fig.width和fig.height来调整绘图的分辨率,但是我似乎不能加宽页面输出,使文本输出不换行,或者让绘图在物理上看起来更大。我试过了:
```{r}选项(width=2000)
和
```{r}knitr::opts_knit$set(width=2000)
和
```{r,out.width=2000}输出页面宽度永远不会改变。任何帮助都将不胜感激。
发布于 2015-10-07 10:13:42
此Rmd文件会生成不同的绘图大小:
---
title: "Untitled"
author: "Me"
date: "6 - 10 - 2015"
output: html_document
---
I have a R Markdown that I knit to html from within RStudio. I can use fig.width and fig.height to adjust the resolution of my plots but I can't seem to widen the page output so that text output doesn't wrap or so that the plots appear physically larger. I have tried:
```{r}选项(width=2000)
and
```{r}knitr::opts_knit$set(width=2000)
plot(汽车)
and
```{r,out.width=2000}#使用out.width=2000
plot(汽车)
or
```{r,fig.width=4}#使用fig.width=4
plot(汽车)

https://stackoverflow.com/questions/32977047
复制相似问题