[R] New Beginner: Problems w/loading Matrix package

Huntsinger, Reid reid_huntsinger at merck.com
Wed Oct 17 18:01:17 CEST 2001


First, you might want to get a BLAS optimized for your machine. One way is
to get ATLAS and run it. It automatically tunes the BLAS code to your setup.
But first maybe you want to get things working with the BLAS you have.

Second, "make distclean" removes the Makefile, among other things, so if you
issued this command twice (or somehow otherwise deleted the Makefile), you
would get a message like the one you got (On linux with make 3.79.1 I get
"make: *** No rule to make target 'clean'. Stop." but maybe you have a
different make). 

(re-) Run the configure script to regenerate the Makefile (and recognize the
BLAS library): 

$ ./configure [--with-whatever-options]

(make sure the file config.cache is gone in case "make distclean" didn't
work...)

Then you should be able to start over. 

Hope that helps,

Reid Huntsinger

-----Original Message-----
From: Leslie_Branch at hgsi.com [mailto:Leslie_Branch at hgsi.com]
Sent: Wednesday, October 17, 2001 10:53 AM
To: r-help at stat.math.ethz.ch
Subject: [R] New Beginner: Problems w/loading Matrix package


Hello all,

I am 2 days old in compiling and installing R-1.3.1 and having all kinds of
problems with one particular package named "Matrix_0.3-15.tar.gz"

Where should I start?

OK!

I have successfully installed R version R-1.3.1 as well as a host of other
packages (piece of cake).  When I tried to install the Matrix package, I
got an error message stating that the "BLAS library could not be found"  I
then downloaded a copy of the blas(blas.tgz) tar file from
www.netlib.org/blas that contained nothing but function files.  I created
the library using Fortran (g77) and "ar".  I called it "blas.a", moved it
to the /usr/local/lib directory and made sure my path was set.  That still
didn't work.  Next I was told that I probably need to recompile R so it can
recognize the blas library.  I tried to do a "make distclean" to start over
and I get another error message that says:

make: Fatal error: Don't know how to make target `clean`

HELP!

Sorry to bore you with this R 101 basic stuff, but I have no clue as to
what to do next.  Any assistance will be greatly appreciated.


Leslie

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

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



More information about the R-help mailing list