similar to: Using vi syntax in command line editing.

Displaying 20 results from an estimated 4000 matches similar to: "Using vi syntax in command line editing."

2024 Nov 26
1
Using vi syntax in command line editing.
Maybe https://stackoverflow.com/questions/6235034/vi-keybindings-for-r-command-line-like-in-bash ?? (tl;dr "set editing-mode vi" or "set keymap vi" in .inputrc ... ) On 11/25/24 20:09, Rolf Turner wrote: > > > I have recently acquired a new laptop. (My old one was giving me > ominous messages on boot-up, about possible hard drive problems.) > > I
2007 Sep 24
2
asterisk cli - vi keybindings ?
This might sound lika a "small" issu, but here it goes: I'm a long time unix user and my shell history usage and editing is configured to use vi keybindings; it's something that's already built into my fingers and using different bindings, like the arrow keys to fetch previous lines, really blows me !... :-( Is there any way to setup the asterisk cli to use such
2019 Oct 23
2
issues with Asterisk CLI
Hello, I have Asterisk 16.2 on Debian. In the Asterisk CLI, I would like to change 2 things: 1) change the keybindings for commandline editing (what in bash is called "readline" editing of the command line) The CLI is missing some very useful keybindings, and even worse, has misconfigured others, For instance, "ctrl"+"w" should delete the last word backward. But
2024 Feb 05
1
Help
Please see fortunes::fortune(285). cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619
2024 Apr 22
1
x[0]: Can '0' be made an allowed index in R?
See fortunes::fortune(36). cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619
2024 May 07
1
Is there some way to customize colours for the View output?
On Tue, 7 May 2024 06:34:50 -0400 Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 07/05/2024 6:31 a.m., Iago Gin? V?zquez wrote: > > Thanks Duncan. > > > > I am currently on Windows. Is there any solution for it? > > Switch to Linux or MacOS? Fortune nomination! cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of
2024 Sep 29
1
Is there a sexy way ...?
On Sat, 28 Sep 2024 10:26:31 +0100 CALUM POLWART <polc1410 at gmail.com> wrote: > Avi > > I fear this was all a huge social experiment. > > Testing if a post titled "sexy way" would increase engagement... <SNIP> I conjecture that this conjecture was tongue-in-cheek. Be that as it were ??, let me assure everyone that such was not my intention. The usage
2024 Dec 02
1
Fortune nomination.
On Sun, 1 Dec 2024 21:43:45 -0800 Bert Gunter <bgunter.4567 at gmail.com> wrote: > Finally, my best advice would be to forget about SAS if you wish to > use R. Trying to translate SAS paradigms into R is the devil's work. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone:
2024 Feb 27
1
Interactions in regression
I have no real idea what you are trying to do, but if a table is what you want, you can probably get it using the table() function. Or, more likely, the xtabs() function. Using your example from an earlier post (adjusted to make it comprehensible to the human mind): set.seed(1000) time <- factor(rep(c("Pre","Post"),each=200)) treatment <-
2024 Sep 29
1
Is there a sexy way ...?
Admit it, Rolf. Haven't you wondered if S, in a more private way, is sexier than R? OK, kidding aside, we have talked this to death. Just FYI, the conversation was stimulating for some of us and I have continued on my own and located functions I see as useful in the stringi and stringr packages to make my silly version ever less silly! LOL! -----Original Message----- From: Rolf Turner
2024 Apr 22
1
x[0]: Can '0' be made an allowed index in R?
Heh. Did anyone bring up negative indices yet? -pd > On 22 Apr 2024, at 10:46 , Rolf Turner <rolfturner at posteo.net> wrote: > > > See fortunes::fortune(36). > > cheers, > > Rolf Turner > > -- > Honorary Research Fellow > Department of Statistics > University of Auckland > Stats. Dep't. (secretaries) phone: > +64-9-373-7599
2025 May 19
1
Looking for a function or a set of steps
On Sun, 18 May 2025 13:40:31 -0400 paul zachos via R-help <r-help at r-project.org> wrote: > Dear R Community > > I am an R beginner > > I have a vector of ?1?s and ?0?s > > x > [1] 0 0 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 0 > [28] 0 1 1 0 1 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 1 > [55] 0 0 1 0 1 0 0 0 1 1 1 1 0 1 0 0 0 1 0 0 1 1 0 0 0 0 0
2024 Feb 28
1
Interactions in regression
Hi Rolf, No it is not. I don't know to which question did you want to respond ? I desribed everything in my first email and attached links from SO with pictures included, which are quite understandable. Cheers, Jacek wt., 27 lut 2024 o 02:29 Rolf Turner <rolfturner at posteo.net> napisa?(a): > > I have no real idea what you are trying to do, but if a table is > what you
2004 Nov 19
1
R (unix) command line editing for native speakers of vi
As an inveterate user of vi, I was pleased to stumble on how to use it for editing R commands. When an interactive R session is launched under unix, the command line editor most likely defaults to emacs. Typing <esc>,<ctrl>+j will switch this to vi editing mode (see below for possible exceptions). excerpted from readline(3) manpage: vi-editing-mode (M-C-j) When in emacs
2025 May 19
1
Looking for a function or a set of steps
Rolf, If it is homework, I have to wonder at what level the class is before any of the proposed answers would be considered acceptable by the instructor. For a true beginner who has not even learned that much of R is vectorized, we are back to perhaps using a manual loop with indices and ... I will say that these days, I see too many assignments handed in by novices, such as 12-year-old kids
2024 May 10
0
Heads-up: r2u installs (only) to /usr/lib/R/site-library.
I started using r2u (see https://eddelbuettel.github.io/r2u) recently and thought I was having a problem in that I was getting out-of-date versions of packages. I made enquiries of Dirk Eddelbuettel about this, and he enlightened me as to what the problem really was. I was seeing old versions of packages that were stored in a library, different from /usr/lib/R/site-library. I have a personal
2024 Aug 05
0
Checking something.
Apologies for the noise. R.T. -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619
2025 Feb 05
1
Looking for simple line-splitting code
On Wed, 5 Feb 2025 08:44:12 -0500 Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > If I have this object: > > x <- c("abc\ndef", "", "ghi") > > and I write it to a file using `writeLines(x, "test.txt")`, my text > editor sees a 5 line file: > > 1: abc > 2: def > 3: > 4: ghi > 5: >
2024 May 13
1
Is there some way to customize colours for the View output?
Hi all, I've just could test your suggestions on using dataedit... entries now, and indeed they work... partially. See, please, the next screenshot: https://ibb.co/Dkn2pVs dataedituser modifies the red borders dataedittext the yellow text dataeditfg... I do not know, specified to green the output of View(mtcars) does not change from that of the screenshot dataeditbg is the (almost) black
2024 May 13
1
Is there some way to customize colours for the View output?
I just tried it on an old Windows computer. I don't see dataeditfg in the preferences menu; I think it is the internal variable name used for "dataedittext". The row and column names don't appear to be controllable from that menu, they seem (on my machine) to be displayed in the same colour as the background of a dialog box, i.e. some kind of gray. I don't think R