Quantreg - 'could not find function"rq"'
On Jan 7, 2010, at 8:07 AM, Meyners, Michael, LAUSANNE,
AppliedMathematics wrote:
Are you sure you called library(Quantreg) before calling any function? M.
Are you both using a package with the exact spelling "Quantreg"? I would have expected it to be : library(quantreg)
David. > >> -----Original Message----- >> From: r-help-bounces at r-project.org >> [mailto:r-help-bounces at r-project.org] On Behalf Of Gough Lauren >> Sent: Donnerstag, 7. Januar 2010 13:44 >> To: r-help at r-project.org >> Subject: [R] Quantreg - 'could not find function"rq"' >> >> Hi all, >> >> >> >> I'm having some troubles with the Quantreg package. I am >> using R version 2.10.0, and have downloaded the most recent >> version of Quantreg >> (4.44) and SparseM (0.83 - required package). However, when >> I try to run an analysis (e.g. fit1<-rq(y~x, tau=0.5)) I get >> an error message saying that the function "rq" could not be >> found. I get the same message when I try to search for any >> of the other functions that should be in the package (e.g. >> help(anova.rq)). >> >> >> >> I used this package last year and still have the old versions >> of both quantreg and SparseM saved on my machine. When I >> load these older packages and attempt an analysis (which, >> incidentally, worked fine last >> February) I get the same error messages as I do with the new >> versions. >> >> >> >> The only think I have changed since last February is the >> version of R I am using - is there any reason why quantreg >> wouldn't work in version 2.10.0? I'm not very experienced >> with R so I'm struggling to work out what may be going wrong >> - does anyone have any suggestions!? >> >> >> >> Many thanks >> >> >> >> Lauren >> >> >> >> --_______________________________________ >> >> >> >> Lauren Gough - Postgraduate Research Student University of >> Nottingham, School of Geography, Nottingham, NG7 2RD >> >> Tel: +44 (0)115 8467052 >> Email: lgxlg1 at nottingham.ac.uk <mailto:lgxkl2 at nottingham.ac.uk> >> >> P Consider the environment. Please don't print this e-mail >> unless you really need to. >> >> >> >> This message has been checked for viruses but the contents of >> an attachment may still contain software viruses which could >> damage your computer system: >> you are advised to perform your own checks. Email >> communications with the University of Nottingham may be >> monitored as permitted by UK legislation. >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius, MD Heritage Laboratories West Hartford, CT