Skip to content

Conversation

@mt-digital
Copy link

There is a comma at the end of the third line in the snippet under "Custom key bindings" in the README. The comma causes an error, so I removed it.

There is a comma at the end of the third line in the snippet pasted below, under "Custom key bindings" in the README. The comma causes an error, so I removed it.

```R
options(
    radian.escape_key_map = list(
        list(key = "-", value = " <- "),
    ),
    radian.ctrl_key_map = list(
        list(key = "right", value = " %>% ")
    )
)
```
@osalamon
Copy link

I just wanted to do the same as @mt-digital, on my Xubuntu 24.04.2 LTS noble it caused the following err after running radian cmd:

$USER@xyz:~$ radian
Got an error while loading radian profile
Error in list(list(key = "-", value = " <- "), ) : argument 2 is empty
R version 4.5.1 (2025-06-13) -- "Great Square Root"
Platform: x86_64-pc-linux-gnu (64-bit)

Easily fixed by minor edit of ~/.config/radian/profile, e.g.:

options(
    radian.ctrl_key_map = list(
        list(key = "right", value = " |> "),
	list(key = "left", value = " <- ")
    )
)

But that's not why I am writing: I am not sure, by looking at the master as well as dev branches' README.md, whether @randy3k's force-push above went through well...

Sorry if bothering and it was intended like that.

Anyway, thanks a lot for the tool! I prefer radian a lot more than standard R console 😃

Cheers,
Ondrej

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants