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 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
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
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 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
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
2024 Jan 14
1
Fwd: Strange results : bootrstrp CIs
On Sat, 13 Jan 2024 17:59:16 -0500
Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
<SNIP>
> My guess is that one of the bootstrap samples had a different
> selection of countries, so factor(Country) had different levels, and
> that would really mess things up.
>
> You'll need to decide how to handle that: If you are trying to
> estimate the coefficient for
2023 Aug 27
1
Query on finding root
On Fri, 25 Aug 2023 22:17:05 +0530
ASHLIN VARKEY <ashlinvarkey at gmail.com> wrote:
> Sir,
Please note that r-help is a mailing list, not a knight! ??
> I want to solve the equation Q(u)=mean, where Q(u) represents the
> quantile function. Here my Q(u)=(c*u^lamda1)/((1-u)^lamda2), which is
> the quantile function of Davies (Power-pareto) distribution. Hence I
> want to
2024 Apr 22
2
x[0]: Can '0' be made an allowed index in R?
You could have negative indices. There are two ways to do this.
1) provide a large offset.
Offset <- 30
for (i in -29 to 120) { print(df[i+Offset])}
2) use absolute values if all indices are negative.
for (i in -200 to -1) {print(df[abs(i)])}
Tim
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of Peter Dalgaard via R-help
Sent: Monday, April 22,
2024 Apr 23
1
x[0]: Can '0' be made an allowed index in R?
Doesn't sound like you got the point. x[-1] normally removes the first element. With 0-based indices, this cannot work.
- pd
> On 22 Apr 2024, at 17:31 , Ebert,Timothy Aaron <tebert at ufl.edu> wrote:
>
> You could have negative indices. There are two ways to do this.
> 1) provide a large offset.
> Offset <- 30
> for (i in -29 to 120) { print(df[i+Offset])}
>