Skip to content

Problem loading quantreg

4 messages · derekverley, David Winsemius, Andrew Robinson +1 more

#
Hi all,

I'm trying to load the quantreg package but keep running into problems no
matter which method I have tried.  Does anybody know what this error (below)
means in plain language and what I might do to get this installed.  I have
not had problems downloading/installing/running packages in the past.

thanks in advance,

derek

Begin R output:

trying URL 'http://cran.stat.ucla.edu/src/contrib/quantreg_4.65.tar.gz'
Content type 'application/x-tar' length 2366176 bytes (2.3 Mb)
opened URL
==================================================
downloaded 2.3 Mb

* installing *source* package ?quantreg? ...
** libs
*** arch - i386
gfortran -arch i386   -fPIC  -g -O2 -c akj.f -o akj.o
make: gfortran: No such file or directory
make: *** [akj.o] Error 1
ERROR: compilation failed for package ?quantreg?
* removing
?/Library/Frameworks/R.framework/Versions/2.12/Resources/library/quantreg?

The downloaded packages are in

?/private/var/folders/4m/4mHSx7JtHL88Cl-gi19+Zk+++TI/-Tmp-/RtmpApfBjX/downloaded_packages?

--
View this message in context: http://r.789695.n4.nabble.com/Problem-loading-quantreg-tp3482397p3482397.html
Sent from the R help mailing list archive at Nabble.com.
#
On Apr 28, 2011, at 6:15 PM, derekverley wrote:

            
Perhaps you didn't install any from source that require a fortran  
compiler. That's what appears to be missing from your machine (of  
whatever unstated OS you may be running.)
#
Hi Derek,

I infer from the output that you're using a Mac.  Generally including
that kind of information is useful.

Your computer lacks the requisite software to install the package.
Make is saying that it can't find 'gfortran'.   

See this page for some more insight:

http://r.research.att.com/tools/

I hope that this helps,

Andrew
On Thu, Apr 28, 2011 at 03:15:41PM -0700, derekverley wrote:

  
    
#
Actually, you are trying to *install* it

- on a Mac (without telling us)
- from source (why? people usually install binary packages there)
- asking on the wrong list (R-sig-mac is appropriate)
- with an incomplete R installation.  Go to the CRAN Mac OS X pages 
and read what they say about installing Tcl/Tk and gfortran.

And follow-ups to R-sig-mac please.
On Thu, 28 Apr 2011, derekverley wrote: