Hello I want to compile some R-packages under windows (rmutil and revent for instance from Pr Lindsey) I followed the instrictions given in the help. The compilation succeeded, but I can't run the programs. I receive the message: "error in dyn.oad(file): unable to load shared library "C:\R\Rwo650/library/rmutil" LoadLibrary failure. I found the given path quite strange!! (what about these "/" and "\"?) I succeeded in loading the event library butI doesn't work. Thank for your help. Marie-H?l?ne Delsemme -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 14 Sep 1999, [iso-8859-1] Marie-Hélène Delsemme wrote:> Hello > > I want to compile some R-packages under windows (rmutil and revent for > instance from Pr Lindsey) > I followed the instrictions given in the help. The compilation succeeded, > but I can't run the programs. > > I receive the message: "error in dyn.oad(file): unable to load shared > library "C:\R\Rwo650/library/rmutil" > LoadLibrary failure. > > I found the given path quite strange!! (what about these "/" and "\"?)That is no problem: they are all mapped as needed (to / or \, depending on context: Windows can be pretty inconsistent). The problem is that the path should be much longer: C:\R\Rwo650/library/rmutil/libs/rmutil.dll Given your address, I think you need to consult the author for advice on why this is going wrong in those packages. You can see how all this works by reading the R source code (that is how I found out). Warning: I don't know what `Rwo650' is, but there is not yet an official version of R-0.65.0 for Windows, and there are a few problems in compiling it up from the source code. This will remain the position until the principal porter (Guido Masarotto) is back in action, and I have no idea when that might be. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
If you use the latest gcc-2.95 together with the M. Khans msvcrt patch (this means, the compiled programs use msvcrt.dll instead of the somewhat dated crtdll.dll) at least rmutil should work. Karl> -----Original Message----- > From: owner-r-help at stat.math.ethz.ch > [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of Marie-H?l?ne > Delsemme > Sent: Dienstag, 14. September 1999 11:39 > To: r-help at stat.math.ethz.ch > Subject: [R] Problems with compilation of R packages. > > > Hello > > I want to compile some R-packages under windows (rmutil and revent for > instance from Pr Lindsey) > I followed the instrictions given in the help. The compilation succeeded, > but I can't run the programs. > > I receive the message: "error in dyn.oad(file): unable to load shared > library "C:\R\Rwo650/library/rmutil" > LoadLibrary failure. > > I found the given path quite strange!! (what about these "/" and "\"?) > > I succeeded in loading the event library butI doesn't work. > > Thank for your help. > > Marie-H?l?ne Delsemme > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. > -.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. > _._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._