Hi, I have been trying to dyn.load a library (rq.obj), which will allow me to run a quantile regression function, but so far unsuccessfully. I have tried under windows 98 and R 6.24: 1) dyn.load("d:\\...\\rq.obj") 2) dyn.load("d:\...\rq.obj") 3) 1 and 2 accounting for case sensitivity. 4) dyn.load("d:/.../rq.obj") 5) Place the files in the directory where from I start R and then issue the command dyn.load("rq.obj"). One way or the other I always get the following error message: Error in dyn.load(x) : unable to load shared library "D:\Documents\rq.obj" NOTE: According to the FAQ, Add-on Packages can only be added under Unix, or at least, the information there is only for Unix. Is that so, or is it possible to do it under Windows 98? I am a newbie, but I believe that I have a package since it contains several files with extensions .s, .r, .q and so on. This quantile regression package was prepared by Prof. Roger Koenker for Windows (he uses Unix). Has this happened to you? Any ideas? I would really appreciate your help. Thanks a zillion, Alvaro Novo -- -- -- -- -- -- -- -- Alvaro A. Novo 2116 S. Orchard St., #304 Urbana, IL 61801 novo at uiuc.edu anovo at ysidro.econ.uiuc.edu http://www.students.uiuc.edu/~novo/Alvaro.htm 217-337-4893 -- -- -- -- -- -- -- -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Kjetil Halvorsen
1998-Nov-29 17:31 UTC
[R] dyn.load and/or add new package (Windows 98) - ratfor
I also have planned to get Koenker's quantile regression functions to work under R (Windows), but cannot find something which understands ratfor. If anyone can point me to that, I'll give it a try soon. Specifically to the Q's: 1) dyn.load("d:\\...\\rq.obj")> 2) dyn.load("d:\...\rq.obj")Trying to lode the code compiled for S is optimistic, I beleave that to be 16-bit DLL's which R will not understand. They must be recompiled, which is easy, given that the ratfor problem can be solved. Kjetil Halvorsen Alvaro A. Novo wrote:> > Hi, > > I have been trying to dyn.load a library (rq.obj), which will allow me to run > a quantile regression function, but so far unsuccessfully. > I have tried under windows 98 and R 6.24: > > 1) dyn.load("d:\\...\\rq.obj") > 2) dyn.load("d:\...\rq.obj") > 3) 1 and 2 accounting for case sensitivity. > 4) dyn.load("d:/.../rq.obj") > 5) Place the files in the directory where from I start R and then issue the > command dyn.load("rq.obj"). > > One way or the other I always get the following error message: > > Error in dyn.load(x) : unable to load shared library "D:\Documents\rq.obj" > > NOTE: According to the FAQ, Add-on Packages can only be added under Unix, or at > least, the information there is only for Unix. Is that so, or is it possible > to do it under Windows 98? I am a newbie, but I believe that I have a package > since it contains several files with extensions .s, .r, .q and so on. > This quantile regression package was prepared by Prof. Roger Koenker for > Windows (he uses Unix). > > Has this happened to you? Any ideas? I would really appreciate your help. > > Thanks a zillion, > > Alvaro Novo > -- -- -- -- -- -- -- -- > Alvaro A. Novo > 2116 S. Orchard St., #304 > Urbana, IL 61801 > > novo at uiuc.edu > anovo at ysidro.econ.uiuc.edu > http://www.students.uiuc.edu/~novo/Alvaro.htm > 217-337-4893 > -- -- -- -- -- -- -- -- > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
In article <Pine.SOL.3.96.981128001121.4739B-100000 at ysidro>, Alvaro A. Novo <anovo at ysidro.econ.uiuc.edu> writes>Hi, > >I have been trying to dyn.load a library (rq.obj), which will allow me to run >a quantile regression function, but so far unsuccessfully.In R, you can only dyn.load dll files, not obj files. In addition they have to be built with the Mingw32 compiler (either directly on a Win9* system, or cross-compiled from a unix system). Even then, there is a bug in Win9* built dll's which may prevent dynamic loading (cross- compiled OK). See Guido's help file for more information on building dll's. Perhaps you are confusing R with S+ where an obj file can be dynamically loaded with dyn.load, provided the obj file was created with the Watcom 10.* compiler.>This quantile regression package was prepared by Prof. Roger Koenker for >Windows (he uses Unix).Did he design it for use with R on a Windows system ? What compiler did he use ? -- Douglas Steele -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._