[R] porting splancs library to R
rsb at reclus.nhh.no
Tue Sep 19 10:27:17 CEST 2000
On Tue, 19 Sep 2000, joseph d. hughes wrote:
> I am trying to port the splancs library for S++ version 4.0 to R. I
> have modified the original FORTRAN to use dllwrap/dlltool (e.g.
> removed common blocks). I have been able to generate dll's
> (splancs.dll) using dllwrap/dlltool and Ming32 g77 with a -mdll
> switch. As of yet I have not been able to generate a dll that can be
> loaded by R.
> Does anyone out there have any suggestions. An example of a
> successful MAKEFILE or dllwrap/dlltool batch file would be greatly
(I'm assuming that this is for a Windows 9*/NT platform)
Both Nicholas Lewin-Koh <kohnicho at comp.nus.edu.sg> and I have compiled
splancs using the rw1011 standard compilation route with success - keeping
to the instructions given in the readme.packages file and using Brian
Ripley's portal works wonders. The R source package we used is on
but still has the original copyright texts, and has not been released to
CRAN. Barry Rowlingson has said:
"I'm happy to release the code under an 'unlimited distribution'
license. I'm not sure about copyright - as long as my name, email, and
web address is in there somewhere I'm happy. I think some mention of
zero-warranty shuold go in there too."
"Splancs is free. Take it, use it, modify it, but make sure anyone who
gets it can find out where it first came from easily enough."
but I'm not sure that that is enough for CRAN. I've added examples, test
data, and for successive releases of R check that "R CMD check splancs"
works. I have however taken out the uk() function and data. The data sets
are from Bailey and Gatrell's "Interactive Spatial Data Analysis", and
their distribution has been approved. If the licence issue is resolved,
then having the source and binaries on CRAN would help a fair number of
people who ask from time to time.
I will zip up the Windows NT4 binary later today, and put it on the ftp
server mentioned above.
Hope this helps,
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no
and: Department of Geography and Regional Development, University of
Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help