I don't see why the Debian shared libraries shouldn't work, but it's not too hard to make shared ATLAS: first you need to get the flags for position-independent code (-fPIC on gcc) into the compilations, which can be done in the "config" program (add it to the defaults for the C and Fortran compiler flags), then you extract the object files from the .a archive built by "make install" and put them into a shared library with ld -shared. See the "Program Library Howto" at http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/Program-Librar y-HOWTO.pdf. PS I couldn't make it work without saying "yes" to pthreads in the config program, though, and trying to give the libraries different names (in the config program) also didn't work. Reid Huntsinger -----Original Message----- From: G?ran Brostr?m [mailto:gb at stat.umu.se] Sent: Wednesday, October 02, 2002 3:06 AM To: r-help at stat.math.ethz.ch Subject: [R] Atlas shared In a FAQ on an ATLAS home page I see that shared libraries are not supported, and indeed, when I build from source I only get static libraries. R needs shared libraries (right?!), so how do I get that? With Debian (and Windows?) there are no problems, since there are prebuilt shared libraries, but how about RedHat? (These are my three systems.) How do I get shared atlas libraries that work with R on RedHat? Thanks, G?ran --- G?ran Brostr?m tel: +46 90 786 5223 Department of Statistics fax: +46 90 786 6614 Ume? University http://www.stat.umu.se/egna/gb/ SE-90187 Ume?, Sweden e-mail: gb at stat.umu.se -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> In a FAQ on an ATLAS home page I see that shared libraries are not > supported, and indeed, when I build from source I only get static > libraries. R needs shared libraries (right?!), so how do I get that? > With Debian (and Windows?) there are no problems, since there are > prebuilt shared libraries, but how about RedHat? (These are my three > systems.) > > How do I get shared atlas libraries that work with R on RedHat?You could try to fudge it and simply place the Debian libraries onto a RH system, preferably by converting the .deb into a .rpm via the alien program. Or you could study the build process of Debian's atlas package and apply it to a .rpm. My recollection from talking to our Atlas maintainer is that this is not a straightforward process -- so your cost/benefit analysis might lead you to the first solution. Dirk -- According to the latest figures, 43% of all signatures are totally worthless. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello I have a matlab program. I would like to transfer code in R. Is there any translator ? Thanks for your help -- Michel ARNAUD CIRAD TA60/15 73, av. Jean Fran?ois Breton 34938 MONTPELLIER CEDEX 5 tel : 04 67 59 38 34 Fax : 04 67 59 38 38 -------------- next part -------------- A non-text attachment was scrubbed... Name: michel.arnaud.vcf Type: text/x-vcard Size: 204 bytes Desc: Carte pour Michel ARNAUD Url : https://stat.ethz.ch/pipermail/r-help/attachments/20021003/1454bf97/michel.arnaud.vcf
> From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk] > > G?ran Brostr?m <gb at stat.umu.se> writes: > > > > Roger Peng suggested that it should be possible to link with > > the _static_ libraries. Haven't checked, and haven't noticed any > > reaction to his suggestion either. Would be nice if it worked. > > That works fine. As far as I remember you just need to set LDFLAGS > with the relevant -L option, e.g. > > LDFLAGS=-L/usr/src/pd/ATLAS/lib/Linux_PIIISSE1_2/ ./configure > makeI thought passing it to configure in the --with-blas= argument also works, no? Andy> -- > O__ ---- Peter Dalgaard Blegdamsvej 3 > c/ /'_ --- Dept. of Biostatistics 2200 Cph. N > (*) \(*) -- University of Copenhagen Denmark Ph: > (+45) 35327918 > ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: > (+45) 35327907 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. > -.-.-.-.-.-.-.-.- > r-help mailing list -- Readhttp://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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello Michel a good place to start would be R-and-octave.txt, on the contributed section of CRAN (Octave is the free version of Matlab). This shows how common Matlab idioms translate to R. There seem to be more and more people interested in porting from Matlab/octave to R. How about a specialist mailing list? rksh> > Hello > > I have a matlab program. I would like to transfer code in R. Is there any translator ? > Thanks for your help > > > ---- Robin Hankin, Lecturer, School of Geography and Environmental Science Tamaki Campus Private Bag 92019 Auckland New Zealand r.hankin at auckland.ac.nz tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042 as of: Fri Oct 4 08:49:00 NZST 2002 This (linux) system up continuously for: 400 days, 15 hours, 31 minutes -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._