Hi, I have an R script (transferred from SPLUS) and would like to compile a standalone EXE (or DLL) for WINNT. Would somebody know how this works or how it could be done ? Thanks so much for any hints and suggestions; best regards F. Falk Huettmann Geography Dept.-Earth Science- 2500 University Drive N.W. University of Calgary Calgary AB, T2N 1N4 CANADA Email: falk at ucalgary.ca Tel. 403 210 5422 (lab) 403 230 3122 (home) Fax 403 282 6561
Hi, Falk: When you wrote "transferred from SPLUS", I got concerned: Is this S-Plus script something you or a colleague wrote or part of S-Plus? I assume it is NOT part of Insightful's intellectual property (IP). If it is, I would stay far away. I'm not an attorney, but I would expect that Insightful might sue, and if they did, they might easily win. We must meticulously respect Insightful's IP. If any Insightful IP finds its way into an officially sanctioned R package, it could be very serious. Spencer Graves Falk Huettmann wrote:> Hi, > > I have an R script (transferred from SPLUS) and would like to compile a > standalone EXE (or DLL) > for WINNT. Would somebody know how this works or how it could be done ? > > Thanks so much for any hints and suggestions; best regards > > F. > > > Falk Huettmann > Geography Dept.-Earth Science- > 2500 University Drive N.W. > University of Calgary > Calgary AB, T2N 1N4 CANADA > Email: falk at ucalgary.ca > Tel. 403 210 5422 (lab) > 403 230 3122 (home) > Fax 403 282 6561 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
On Tue, 6 May 2003, Falk Huettmann wrote:> I have an R script (transferred from SPLUS) and would like to compile a > standalone EXE (or DLL) > for WINNT. Would somebody know how this works or how it could be done ?To do what exactly? You cannot compile R code to machine code: you need an R interpreter. I don't see the point of having a single script as an application anyway: don't you need some control, e.g. of the input? It is possible to write a graphical front end in e.g. Visual Basic and use that to send a script to an embedded R interpreter (most easily by DCOM under Windows, but it can be done directly). Perhaps you could start at the beginning and tell us what you want to achieve (rather than asking for some specific technical solution)? -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595