楼主: xenron
2037 2

[书籍介绍] R代码性能改善.how to speed up R code [pdf] [推广有奖]

  • 0关注
  • 3粉丝

已卖:2669份资源

本科生

18%

还不是VIP/贵宾

-

威望
0
论坛币
8876 个
通用积分
38.6923
学术水平
12 点
热心指数
20 点
信用等级
11 点
经验
9401 点
帖子
66
精华
0
在线时间
58 小时
注册时间
2015-7-11
最后登录
2021-11-8

楼主
xenron 发表于 2016-4-29 20:40:12 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
R代码性能改善
how to speed up R code

Contents
1 Your computer 3
1.1 HHD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Monitoring your computer . . . . . . . . . . . . . . . . . . . . 7
2 One R instance, one core 13
2.1 Writing your code right . . . . . . . . . . . . . . . . . . . . . 16
2.2 What part of my code is slow? . . . . . . . . . . . . . . . . . 20
2.3 Writing part of your code in C . . . . . . . . . . . . . . . . . 25
3 Using the others cores of your computer 35
3.1 Several R instances, one core for each . . . . . . . . . . . . . 35
3.2 One R instance, several cores . . . . . . . . . . . . . . . . . . 41
3.2.1 pnmath . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.2.2 pnmath0 . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.2.3 doSMP . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3.2.4 doMC . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.2.5 parallel and snow . . . . . . . . . . . . . . . . . . . . . 48
4 Using R on a cluster 49
4.1 Unix commands . . . . . . . . . . . . . . . . . . . . . . . . . . 52
4.2 First example: Hmem . . . . . . . . . . . . . . . . . . . . . . 55
4.3 Green . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4.4 Where is my cluster? . . . . . . . . . . . . . . . . . . . . . . . 62


二维码

扫码加我 拉你入群

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

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

关键词:speed code ODE R代码 How speed

how_to_speed_up_R_code.pdf
下载链接: https://bbs.pinggu.org/a-2024472.html

3.08 MB

需要: 3 个论坛币  [购买]

沙发
nieqiang110(真实交易用户) 学生认证  发表于 2016-4-29 20:44:53
谢谢楼主,好人!

藤椅
yangming98(真实交易用户) 发表于 2016-4-30 08:39:51 来自手机
xenron 发表于 2016-4-29 20:40
R代码性能改善
how to speed up R code

好的?

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

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