Problem loading quantreg

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem loading quantreg

derekverley
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’
Reply | Threaded
Open this post in threaded view
|

Re: Problem loading quantreg

David Winsemius

On Apr 28, 2011, at 6:15 PM, derekverley wrote:

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

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

--
David.

>
> 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.
>
> ______________________________________________
> [hidden email] 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
West Hartford, CT

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Problem loading quantreg

Andrew Robinson-6
In reply to this post by derekverley
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:

> 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.
>
> ______________________________________________
> [hidden email] 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.

--
Andrew Robinson  
Program Manager, ACERA
Department of Mathematics and Statistics            Tel: +61-3-8344-6410
University of Melbourne, VIC 3010 Australia               (prefer email)
http://www.ms.unimelb.edu.au/~andrewpr              Fax: +61-3-8344-4599
http://www.acera.unimelb.edu.au/

Forest Analytics with R (Springer, 2011)
http://www.ms.unimelb.edu.au/FAwR/
Introduction to Scientific Programming and Simulation using R (CRC, 2009):
http://www.ms.unimelb.edu.au/spuRs/

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Problem loading quantreg

Prof Brian Ripley
In reply to this post by derekverley
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:

> 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.
>
> ______________________________________________
> [hidden email] 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.
>
--
Brian D. Ripley,                  [hidden email]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
______________________________________________
[hidden email] 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.