Re: [Rd] include dll in R-package

2012-08-31 Thread Prof Brian Ripley
ansen" , r-devel@r-project.org Sent: Tuesday, August 28, 2012 7:02:02 AM Subject: Re: [Rd] include dll in R-package On 28-08-2012, at 01:29, LIYING HUANG wrote: I am quite new in R, I looked at R manual- how to build R Package, still not very clear. Yes, it would be very helpful if I could

Re: [Rd] include dll in R-package

2012-08-31 Thread LIYING HUANG
m: "Berend Hasselman" To: "LIYING HUANG" Cc: "Kasper Daniel Hansen" , r-devel@r-project.org Sent: Tuesday, August 28, 2012 7:02:02 AM Subject: Re: [Rd] include dll in R-package On 28-08-2012, at 01:29, LIYING HUANG wrote: > > I am quite new in R, I looked at R man

Re: [Rd] include dll in R-package

2012-08-29 Thread Prof Brian Ripley
On 29/08/2012 12:19, Berend Hasselman wrote: On 29-08-2012, at 05:31, LIYING HUANG wrote: Thanks a lot for those examples, is there any example with Fortran source codes which could depend on an external Fortran DLL? I wouldn't know. Berend What does 'depend on' mean here? (All the co

Re: [Rd] include dll in R-package

2012-08-29 Thread Berend Hasselman
On 29-08-2012, at 05:31, LIYING HUANG wrote: > > > Thanks a lot for those examples, is there any example with Fortran > source codes which could depend on an external Fortran DLL? > I wouldn't know. Berend __ R-devel@r-project.org mailing list htt

Re: [Rd] include dll in R-package

2012-08-29 Thread LIYING HUANG
8 月 28日 上午 7:02:02 主题: Re: [Rd] include dll in R-package On 28-08-2012, at 01:29, LIYING HUANG wrote: > > I am quite new in R, I looked at R manual- how to build R Package, > still not very clear. Yes, it would be very helpful if I could > download a package having Fortran source co

Re: [Rd] include dll in R-package

2012-08-28 Thread Berend Hasselman
On 28-08-2012, at 01:29, LIYING HUANG wrote: > > I am quite new in R, I looked at R manual- how to build R Package, > still not very clear. Yes, it would be very helpful if I could > download a package having Fortran source codes to look at, Do > you know any package built with Fortran source

Re: [Rd] include dll in R-package

2012-08-27 Thread LIYING HUANG
asper Daniel Hansen" 收件人: "LIYING HUANG" 抄送: r-devel@r-project.org 发送时间: 星期五, 2012年 8 月 24日 上午 10:19:14 主题: Re: [Rd] include dll in R-package You need to setup a Makevars.win and at lest modify PKG_LIBS and probably PKG_FFLAGS PKG_CFLAGS depending on how you link to the DLL. I

Re: [Rd] include dll in R-package

2012-08-27 Thread LIYING HUANG
at I could learn? Thanks! Liying - 原始邮件 - 发件人: "Jeff Ryan" 收件人: "Kasper Daniel Hansen" 抄送: r-devel@r-project.org, "Dirk Eddelbuettel" 发送时间: 星期五, 2012年 8 月 24日 上午 10:28:50 主题: Re: [Rd] include dll in R-package Any package can link to external DLLs. You

Re: [Rd] include dll in R-package

2012-08-25 Thread Henrik Bengtsson
L v1.3 comments /Henrik > > Thanks! > Liying > > > - Original Message - > From: "Kasper Daniel Hansen" > To: "Dirk Eddelbuettel" > Cc: "LIYING HUANG" , r-devel@r-project.org > Sent: Friday, August 24, 2012 10:21:18 AM > Subject: Re:

Re: [Rd] include dll in R-package

2012-08-25 Thread LIYING HUANG
uot; To: "Dirk Eddelbuettel" Cc: "LIYING HUANG" , r-devel@r-project.org Sent: Friday, August 24, 2012 10:21:18 AM Subject: Re: [Rd] include dll in R-package On Fri, Aug 24, 2012 at 10:16 AM, Dirk Eddelbuettel < e...@debian.org > wrote: On 24 August 2012 at 09:0

Re: [Rd] include dll in R-package

2012-08-24 Thread Jeff Ryan
Any package can link to external DLLs. You'll need to make that an explicit dependency, have some configure script and distribute the library somewhere else, but many packages on CRAN already do this. My RBerkeley uses a user installed Oracle Berkeley DB that is linked to at configure time, of co

Re: [Rd] include dll in R-package

2012-08-24 Thread Kasper Daniel Hansen
On Fri, Aug 24, 2012 at 10:16 AM, Dirk Eddelbuettel wrote: > > On 24 August 2012 at 09:06, LIYING HUANG wrote: > | We have several projects in the center done by researchers over years > | in Fortran, there are copy right issues etc to prevent us from > ^^^

Re: [Rd] include dll in R-package

2012-08-24 Thread Kasper Daniel Hansen
You need to setup a Makevars.win and at lest modify PKG_LIBS and probably PKG_FFLAGS PKG_CFLAGS depending on how you link to the DLL. I suggest downloading example packages from Bioc / CRAN to look at. Kasper On Fri, Aug 24, 2012 at 9:06 AM, LIYING HUANG wrote: > > Hi, > > We have several p

Re: [Rd] include dll in R-package

2012-08-24 Thread Dirk Eddelbuettel
On 24 August 2012 at 09:06, LIYING HUANG wrote: | We have several projects in the center done by researchers over years | in Fortran, there are copy right issues etc to prevent us from | giving away the source codes, but a lot of soc

[Rd] include dll in R-package

2012-08-24 Thread LIYING HUANG
Hi, We have several projects in the center done by researchers over years in Fortran, there are copy right issues etc to prevent us from giving away the source codes, but a lot of social scientist are interested to use the program. We tried to use dlls to make plugins (available in our website)