楼主: amoybc
5445 5

【分享】Easy way of combining R with Latex [推广有奖]

  • 0关注
  • 1粉丝

菜鸟

已卖:28份资源

高中生

97%

还不是VIP/贵宾

-

威望
0
论坛币
300 个
通用积分
2.3810
学术水平
15 点
热心指数
15 点
信用等级
5 点
经验
778 点
帖子
33
精华
0
在线时间
24 小时
注册时间
2007-4-15
最后登录
2020-12-26

楼主
amoybc 发表于 2007-6-15 12:26:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币


It is extremely easy to combine R with Latex.

1. For table, you might consider using package(xtable) which could automatically generate the tex code for the table. All what you have to do is design your table in R by using command "dimnames" and "digits" command in "xtable" package.

126409.pdf (145.09 KB)

2. For including graphics, a better way is to output your plots in a ".pdf" format which can be achieved by using command "pdf()", then insert the pdf plots into your latex file. At last use latex2pdf to get your job done!

3.There is an even more powerful package which is the "Vignette" package that allow one to interactive with R under Latex environment!

package
310968.zip (210.78 KB)


manual 2009年版本 

310969.pdf (149.65 KB)

[此贴子已经被yahoocom于2009-4-2 17:27:56编辑过]

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:combining LaTeX Late ning Easy 分享 LaTeX Easy combining

Believe what you find it reasonable to believe

沙发
isonomia 发表于 2009-1-3 16:57:00
[em01]谢谢分享

藤椅
isonomia 发表于 2009-1-3 17:00:00
简单搜了一下,和:LaTeX相关的R包有
RcmdrPlugin.Export
r2lUniv
relax
reporttools
xtable

板凳
ft3499100 发表于 2009-9-20 09:05:06
great~ thanks

报纸
qoiqpwqr 发表于 2009-9-20 12:44:40
这个很有用,谢谢楼主分享。

地板
zhuzhude 发表于 2009-12-10 14:51:21
楼主大好人呀

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 06:03