I've looked through the FAQ and can't find anything about this. I'm working on a Sun machine, running Solaris 2.7. I'm a new R-user; have been using Splus for millenia, and finally decided it was time I got going with R. So I downloaded R, installed it, fiddled about a bit, and found that command-line editing was absent. Scrounging through the documentation some more, I saw it to indicate that if GNU readline is installed on the system, then R ***does*** provide command-line editing. So I got readline and installed it --- there seemed to be no problems with that. Then I (re) issued the ./configure, make, and make install commands for R. Then I fired up R, typed a few commands, and tried typing <ctrl>-p, which according to ``An Introduction to R'' by Venables and Smith et al., should take me to the previous command. Instead, I simply got ``^P'' appearing on the screen. What am I missing? (***Please*** don't tell me to use ESS --- (a) I don't want to; I am emacs-averse. (b) I ***did*** try to install ESS, despite (a), and could not get that %%^#*#)%'-ing thing to work either!) cheers, Rolf Turner rolf at math.unb.ca -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Rolf Turner <rolf at math.unb.ca> writes:> Scrounging through the documentation some more, I saw it to indicate > that if GNU readline is installed on the system, then R ***does*** > provide command-line editing. So I got readline and installed it --- > there seemed to be no problems with that. > > Then I (re) issued the ./configure, make, and make install commands > for R. > > Then I fired up R, typed a few commands, and tried typing <ctrl>-p, > which according to ``An Introduction to R'' by Venables and Smith > et al., should take me to the previous command. Instead, I simply > got ``^P'' appearing on the screen. What am I missing?The build process probably needs help finding the readline libraries and/or header files. Where did you install them?> (***Please*** don't tell me to use ESS --- (a) I don't want to; I > am emacs-averse. (b) I ***did*** try to install ESS, despite (a), > and could not get that %%^#*#)%'-ing thing to work either!)If at first, you don't succeed.... ;-) -- 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 -- 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 Wed, 5 Sep 2001, Rolf Turner wrote:> > I've looked through the FAQ and can't find anything about > this. > > I'm working on a Sun machine, running Solaris 2.7. > > I'm a new R-user; have been using Splus for millenia, and finally > decided it was time I got going with R. So I downloaded R, installed > it, fiddled about a bit, and found that command-line editing was > absent. > > Scrounging through the documentation some more, I saw it to indicate > that if GNU readline is installed on the system, then R ***does*** > provide command-line editing. So I got readline and installed it --- > there seemed to be no problems with that. > > Then I (re) issued the ./configure, make, and make install commands > for R. > > Then I fired up R, typed a few commands, and tried typing <ctrl>-p, > which according to ``An Introduction to R'' by Venables and Smith > et al., should take me to the previous command. Instead, I simply > got ``^P'' appearing on the screen. What am I missing?does up-arrow work? It's easier .... If not, you need to delete config.cache and re-configure, I expect. For me command-line editing in R on Solaris 2.7 aka 7 works as it does in tcsh (and finally in S-PLUS 6.0 ...). -- Brian D. Ripley, ripley at stats.ox.ac.uk 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Rolf Turner <rolf at math.unb.ca> writes:> I've looked through the FAQ and can't find anything about > this. > > I'm working on a Sun machine, running Solaris 2.7. > > I'm a new R-user; have been using Splus for millenia, and finally > decided it was time I got going with R. So I downloaded R, installed > it, fiddled about a bit, and found that command-line editing was > absent. > > Scrounging through the documentation some more, I saw it to indicate > that if GNU readline is installed on the system, then R ***does*** > provide command-line editing. So I got readline and installed it --- > there seemed to be no problems with that. > > Then I (re) issued the ./configure, make, and make install commands > for R.- Make sure to follow Prof. Ripley's advise to remove config.cache . - Once you fire up the newly built R, you can verify that the readline library was picked up correctly using the capabilities function: R> capabilities("cledit") cledit TRUE - If you are Emacs averse, why do you use ^P instead of Esc k ? :-) -tom> > Then I fired up R, typed a few commands, and tried typing <ctrl>-p, > which according to ``An Introduction to R'' by Venables and Smith > et al., should take me to the previous command. Instead, I simply > got ``^P'' appearing on the screen. What am I missing? > > (***Please*** don't tell me to use ESS --- (a) I don't want to; I > am emacs-averse. (b) I ***did*** try to install ESS, despite (a), > and could not get that %%^#*#)%'-ing thing to work either!) > > cheers, > > Rolf Turner > rolf at math.unb.ca-- mailto:tov at ece.cmu.edu (Tom Vogels) Tel: (412) 268-6638 FAX: -3204 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Is it possible to call the routines in the standalone library libRmath from Fortran programs? I'm using g77 on Linux. G?ran Brostr?m -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._