由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - Help on Running C code in R
相关主题
Any one who have called C++ function in R and the C++ used gsl library ? c++的compile和debug是不是不是一回事?
请问哪里能下载R.h文件.求教:R里面怎么屏蔽一个子程序打印到屏幕的输出?
有人在Windows下用R吗?新手拜谢:Convert R package to Splus
Need urgent helps: How to use DDE to import password-protected excel file into SAS?如何在matlab中直接call R呢?
怎么避免sas batch模式打开sas文件有熟悉R的人简单讲讲怎么做包?
问个R的问题 不明白这个error message新手求教:linux下怎么跑R文件?
初级问题怎么在linux下提交matlab任务?
请教关于 build R package in windows 的问题(有包子)samtools
相关话题的讨论汇总
话题: running话题: code话题: package话题: bin话题: rtools
进入Statistics版参与讨论
1 (共1页)
F****r
发帖数: 151
1
The project I am working on now borrows the C source code in an R package. I
just made some changes according to the requirement of our project. The
problem is that how I can run the C code in R after I have changed it? The
online help says that they strongly encourage people do it through create an
R package. I really hope that I can avoid that since I am quite sure that
it will take me a while to learn how to create an R package..
Is there any other way that I can run the C code in R?
Loo
b********p
发帖数: 875
2
R CMD SHLIB a.c
F****r
发帖数: 151
3
谢谢楼上。 核心步骤就是 R CMD SHLIB a.c
DUMMY 级详细步骤如下(牛人可直接飘过):
WindowXP 系统, R 2.7.1 已经下载安装 在c:文件路径c:\R
1.从http://www.murdoch-sutherland.com/Rtools/下载安装Rtools28.exe ,存为c:\Rtools
2.在MS-DOS的prompt下,把路径改为 c:\R\bin
3.在c:\R\bin>后输入路径
PATH=c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;c:\texmf\miktex\
bin;c:\progra~1\htmhe~1;c:\R\bin;c:\windows;c:\windows\system32
注意你的路径可能会不同,要因人制宜。 参考 page 54 Appendix E of R
Installation and Administration , 尤其注意以下两段:
First:
Your PATH may include ‘.’ first, then the ‘bi
1 (共1页)
进入Statistics版参与讨论
相关主题
samtools怎么避免sas batch模式打开sas文件
【求教】创建R package 的问题问个R的问题 不明白这个error message
有人在unix下run sas的么?有个简单问题请教 在线等初级问题
R question-run on cluster请教关于 build R package in windows 的问题(有包子)
Any one who have called C++ function in R and the C++ used gsl library ? c++的compile和debug是不是不是一回事?
请问哪里能下载R.h文件.求教:R里面怎么屏蔽一个子程序打印到屏幕的输出?
有人在Windows下用R吗?新手拜谢:Convert R package to Splus
Need urgent helps: How to use DDE to import password-protected excel file into SAS?如何在matlab中直接call R呢?
相关话题的讨论汇总
话题: running话题: code话题: package话题: bin话题: rtools