Are you sure you called library(Quantreg) before calling any function? M.
> -----Original Message----- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Gough Lauren > Sent: Donnerstag, 7. Januar 2010 13:44 > To: r-help@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: lgx...@nottingham.ac.uk <mailto:lgx...@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@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@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.