Greetings, I downloaded R for my mac from software, R binaries, rm123, base and then downloaded "rm123.sit.hqx" Now, when I open R and try to type anything in the blank, I get a message that I need CarbonLib 1.20 or newer to run R. Please tell me what this means and where to go to get it. By the way, when I type anything in and recieve the error message, R will then refuse to close and the only way I can shut down my computer is to force the program to quit. Thanks, Mary Loftfield University of Washington -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, 4 May 2001, Mary Loftfield wrote:> Greetings, > > I downloaded R for my mac from software, R binaries, rm123, base and > then downloaded "rm123.sit.hqx" Now, when I open R and try to type > anything in the blank, I get a message that I need CarbonLib 1.20 or > newer to run R. Please tell me what this means and where to go to get > it.You can get it at http://asu.info.apple.com/swupdates.nsf/artnum/n11916 'Carbon' is the Apple codename for an API that allows developers to write programs portable between MacOS 9 and X, as a transitional step to real MacOS programs. More useful information (including the above link) is in the rmac faq at http://www.eco-dip.unimi.it/R/rmac-FAQ.html This faq was mentioned in the R-mac 1.2.3 announcement but not, apparently, linked from CRAN. -thomas Thomas Lumley Asst. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
M. Edward (Ed) Borasky
2001-May-04 19:29 UTC
[R] Does R use the ATLAS linear algebra library?
I was visiting the ATLAS home page and they claim that the R project uses the ATLAS libraries. ATLAS is an adaptive linear algebra library. Is this true? It would save me a *lot* of time if it is :-). -- znmeb at aracnet.com (M. Edward Borasky) http://www.aracnet.com/~znmeb How to Stop A Folksinger Cold # 4 "Tie me kangaroo down, sport..." Tie your own kangaroo down -- and stop calling me "sport"! -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, 4 May 2001, M. Edward (Ed) Borasky wrote:> I was visiting the ATLAS home page and they claim that the R project uses > the ATLAS libraries. ATLAS is an adaptive linear algebra library. Is this true? > It would save me a *lot* of time if it is :-)../configure will detect and use ATLAS if it is present on your system. ATLAS is not included with the R distribution, though. -thomas Thomas Lumley Asst. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
A search on Apple's support site yielded the following: CarbonLib 1.2 allows developers to write an application with one set of sources deployed across both Mac OS 8.6, all Mac OS 9 releases and Mac OS X systems with minimal effort. CarbonLib 1.2 has a number of new features and updates to existing technologies. It also addresses several outstanding customer issues. This information was found at http://kbase.info.apple.com/cgi-bin/WebObjects/kbase.woa/wo/2.25.17.5.0.0.1.8 CarbonLib 1.2.5 can be downloaded from the following URL: http://downloAd.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Other_System/CarbonLib_1.2.5.smi.bin By the way, while it probably wasn't critical in this instance, it would be helpful if you indicate which version of the MacOS (or any OS for that matter) you are using. Regards, Alex On Fri, 4 May 2001, Mary Loftfield wrote:> Greetings, > > I downloaded R for my mac from software, R binaries, rm123, base and > then downloaded "rm123.sit.hqx" Now, when I open R and try to type > anything in the blank, I get a message that I need CarbonLib 1.20 or > newer to run R. Please tell me what this means and where to go to get > it. > > By the way, when I type anything in and recieve the error message, R > will then refuse to close and the only way I can shut down my computer > is to force the program to quit. > > Thanks, Mary Loftfield > University of Washington > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thomas Lumley <tlumley at u.washington.edu> writes:> On Fri, 4 May 2001, M. Edward (Ed) Borasky wrote: > > > I was visiting the ATLAS home page and they claim that the R project uses > > the ATLAS libraries. ATLAS is an adaptive linear algebra library. Is this true? > > It would save me a *lot* of time if it is :-). > > ./configure will detect and use ATLAS if it is present on your system. > ATLAS is not included with the R distribution, though.The differences between ATLAS and regular BLAS are most noticeable when working with large matrices and when using level 3 BLAS. (The BLAS are Basic Linear Algebra Subroutines. Level 1 BLAS are vector-vector operations; level 2 are matrix-vector operations; and level 3 are matrix-matrix operations.) Current versions of R use only level 1 BLAS so using ATLAS does not result in much of a speedup. Today I did some experiments on the development (1.3.0) version of R that involved replacing the internals of the matrix multiplication operator and the crossprod function by a call to a level 3 BLAS routine (dgemm). The results are nothing short of astonishing. Using R-1.2.2 (no level 3 BLAS but with ATLAS) > mm <- matrix(rnorm(10^6), ncol = 10^3) > dim(mm) [1] 1000 1000 > gc() used (Mb) gc trigger (Mb) Ncells 174137 4.7 350000 9.4 Vcells 1889966 14.5 3429835 26.2 > system.time(mm %*% mm) [1] 59.07 0.04 69.32 0.00 0.00 > system.time(crossprod(mm)) [1] 25.76 0.02 30.27 0.00 0.00 Using R-1.3.0 with level 3 BLAS for %*% but without ATLAS > system.time(mm %*% mm) [1] 28.09 0.03 33.14 0.00 0.00 > system.time(crossprod(mm)) [1] 27.97 0.07 32.94 0.00 0.00 Using R-1.3.0 with level 3 BLAS for %*% and ATLAS > system.time(mm %*% mm) [1] 2.81 0.03 3.30 0.00 0.00 > system.time(mm %*% mm) [1] 2.83 0.05 3.58 0.00 0.00 > system.time(crossprod(mm)) [1] 2.84 0.03 3.35 0.00 0.00 We see that using level 3 BLAS results in a 2-fold increase in speed for %*% and slows crossprod a bit. However, using level 3 BLAS and ATLAS results in a 20-fold increase in speed for %*% and about a 10-fold increase in speed for crossprod. Such speed increases are most noticeable for large matrices. With small matrices the time spend in "housekeeping" tasks dominates the time spent in numerical calculation. We will incorporate the level 3 BLAS into R-1.3.0. If you have ATLAS installed so it can be detected during the configuration of R it should make linear algebra operations on large matrices faster. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I should have mentioned that my timings were done on a 900 MHz Athlon processor running Debian GNU/Linux 2.3. The system has 768 MB of memory. Apparently the optimizations used in ATLAS are particularly effective on the Athlon. Other processors may not show such dramatic speed gains. I did not compile ATLAS for this machine. I used the Debian atlas2 package which, according to the documentation, was optimized for a Pentium II (350 MHz). There may be some modest gains achieved by recompiling. I tried to recompile from the sources but the Debian package build failed and it is too late at night to start working on why it failed. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._