小编Jas*_*se_的帖子

如何使用Sweave控制回波宽度

我在sweave中的echo输出宽度有问题,我有一个包含大量文本的列表.问题是来自R的回声响应在pdf中运行.我试过用

<<>>=
options(width=40)
@
Run Code Online (Sandbox Code Playgroud)

但这并没有改变任何事情.

例如:设置列表(不显示在latex中).

<<echo=FALSE>>=
my_list <- list(example="Site location was fixed using a Silvia Navigator handheld GPS     in October 2003.  Point of reference used was the station Bench Mark. If the bench mark location was remote from the site then the point of reference used was changed to the 0-1 metre gauge. Bench Mark location was then recorded as a separate entry in the Site History section [but not used as the site location].\r\nFor a Station location map …
Run Code Online (Sandbox Code Playgroud)

r sweave

5
推荐指数
1
解决办法
854
查看次数

标签 统计

r ×1

sweave ×1