Skip to content

Why R does not appear on GNU pages

3 messages · Alvaro A. Novo, Brian Ripley, Yusuke Uchiyama

#
Hi,

I installed the package quantreg, but something is wrong. I have no Fortran
knowledge, but from programming background it seems that the code as some 
bug/inconsistency. I could only find the file rq.f (see error message below)
in the directory created
after untar the package (~/quantreg/src/rq.f). I edited the file and in 
fact there's a bunch of "go to ..." statements where things are going wrong.

I believe there's nothing "missing" in my o.s. and/or applications. I was
able to install the survival analysis package error free.

Any ideas? Thanks in advance to all for your inputs.

Alvaro 

	--------- DETAILS ----------
Version 0.63.1  (December 5, 1998) 

Here's the message I got during installation: 

--------- BEGIN INSTALLATION MESSAGE ---------- 

[root at localhost /root]# R INSTALL -l /usr/lib/R/library quantreg
Installing package `quantreg' ...
 libs
g77  -O2 -fpic -c rq.f -o rq.o
rq.f: In subroutine `rq':
rq.f:511: warning:
         go to 60
               1
rq.f:641: (continued):
   60    idxcf = idxcf+1
   2
Reference to label at (1) is outside block containing definition at (2)
rq.f:498: warning:
         go to 70
               1
rq.f:645: (continued):
   70    if(lup)then
   2
Reference to label at (1) is outside block containing definition at (2)
ld -shared -o /usr/lib/R/library/quantreg/libs/quantreg.so rq.o 
 R
 data
 help
Formats: text html latex example 
  Patacamaya                        text    html    latex   example
  Ranks                             text    html    latex   example
  Rq                                text    html    latex   example
  Trq                               text    html    latex   example
  qrq                               text    html    latex   example
  rrs.test                          text    html    latex   example
  trq.print                         text    html    latex   example
 DONE (quantreg)

DONE (INSTALL)
--------------------- END INSTALL MESSAGE --------------------

The error message within R is:
Error: dynamic library `Quantreg' not found

 


 

	--	--	--	--	--	--	--	--	
			      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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, 6 Jan 1999, Alvaro A. Novo wrote:

            
Those are warnings coming from g77 but this is allowed Fortran (if perhaps
not very good Fortran).  You will get warnings from g77 from quite a few
CRAN packages, but in this case I get warnings from Sun's f77 too.
The problem is actually in the output you sent (thanks):
Note the case difference. quantreg/R/zzz.R contains

".First.lib" <- 
function(lib, pkg) {
   library.dynam("Quantreg", pkg, lib) }

and you need to replace "Quantreg" by "quantreg". This does not matter on a
DOS file system which is what the submitter used (on Windows 98, I
believe), and indeed the files are in DOS format.

This then works for me. (There is also a line in R/rq.R,

        if(!is.loaded(symbol.For("rq")))
                dyn.load("rq.dll")  #Changed(Kjetil). May need rewording
for non-windows systems 
that should be removed in R.)


I was going to suggest it would be better to contact the porter rather
than this list, but he has not given his email address anywhere in
the files (it is usually in the DESCRIPTION file).  So Kjetil,
quantreg_2.0-2, please. (If you can, use LF-terminated file: the simplest
way I know on Windows is to use zip -ll and then unzip.)
#
Hello,

I wander why there is no introduction to R on GNU pages.
If the reason is because there don't have been any document yet, I would like to write it and send it to GNU project.

I will appreciate any comments, let us discuss about this.

Yusuke Uchiyama
e-mail: yusuke at kais.kyoto-u.ac.jp

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._