全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
2520 2
2011-02-10
悬赏 10 个论坛币 未解决
我要用的package 是 NonAddPenalty
url http://www.biostat.uzh.ch/research/software/nonaddpenalty.html
网上只有linux 版本的 ,请问如何修改软件包 才能在 windows下 使用该包?
二维码

扫码加我 拉你入群

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

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

全部回复
2011-2-11 10:51:59
下载rtools,然后自己编译它。
二维码

扫码加我 拉你入群

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

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

2011-2-12 02:57:59
I tried to build a windows package for you, but failed to install on my windows machine due to errors.

Build log

* checking for file 'NonAddPenalty/DESCRIPTION' ... OK
* preparing 'NonAddPenalty':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking whether 'INDEX' is up-to-date ... NO
* use '--force' to remove the existing 'INDEX'
* excluding invalid files
Subdirectory 'R' contains invalid file names:
  zzz.0
Subdirectory 'man' contains invalid file names:
  RUN.ME big.dvi big.pdf
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c AIC.c -o AIC.o
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c GridMISE.c -o GridMISE.o
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c Iteration.c -o Iteration.o
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c bivariate.c -o bivariate.o
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c ll.c -o ll.o
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c matalg.c -o matalg.o
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c matrixS.c -o matrixS.o
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c matrixZ.c -o matrixZ.o
gcc -I"C:/PROGRA~1/R/R-212~1.1/include"         -O3 -Wall  -std=gnu99 -c options.c -o options.o
gcc -shared -s -static-libgcc -o NonAddPenalty.dll tmp.def AIC.o GridMISE.o Iteration.o bivariate.o ll.o matalg.o matrixS.o matrixZ.o options.o -LC:/PROGRA~1/R/R-212~1.1/bin/i386 -lR
.................

packaged installation of 'NonAddPenalty' as NonAddPenalty_0.7-9.zip
* DONE (NonAddPenalty)

Try if you can install the attached on you computer.

Good luck.





1# heartfly1980
附件列表
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群