From 55a815260bc4e3bf1027cd1c79e5500103f19970 Mon Sep 17 00:00:00 2001 From: boB Rudis Date: Sun, 12 Mar 2017 09:32:53 -0400 Subject: [PATCH] README --- README.Rmd | 7 ++++++- README.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.Rmd b/README.Rmd index dc73367..c8a884c 100644 --- a/README.Rmd +++ b/README.Rmd @@ -11,8 +11,9 @@ The following functions are implemented: - `bare_combine`: Turn a selection of comma-separated bare strings into a - `base::combine`: statement - `bare_rename`: Turn a selection of comma-separated bare strings into a `dplyr::rename` statement +- `join_rows`: Join `cr`/`lf`-separated selected rows of text into a single space-separated row -### More Info +### Bare Rename The RStudio Addins menu selection "Bare Rename" will take a text selection and make it into `dplyr::rename()` statement For example: @@ -28,6 +29,8 @@ will be converted to: **NOTE**: not all backtick-edge cases are handled (yet). +### Bare Combine + Similarly, the RStudio Addins menu selection "Bare Combine" will take a text selection and make it into a `c()` statement. For example: a,b c,d,e f @@ -42,6 +45,8 @@ will be converted to: **NOTE**: not all double-quote edge cases are handled (yet). +### Join Rows + Finally, unless I'm missing something, RStudio doesn't have a "join rows" option, so you can use the RStudio Addins menu selection "Join Rows" to do just that. So: a diff --git a/README.md b/README.md index fba8d77..15bc744 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,9 @@ The following functions are implemented: - `bare_combine`: Turn a selection of comma-separated bare strings into a - `base::combine`: statement - `bare_rename`: Turn a selection of comma-separated bare strings into a `dplyr::rename` statement +- `join_rows`: Join `cr`/`lf`-separated selected rows of text into a single space-separated row -### More Info +### Bare Rename The RStudio Addins menu selection "Bare Rename" will take a text selection and make it into `dplyr::rename()` statement For example: @@ -24,6 +25,8 @@ will be converted to: **NOTE**: not all backtick-edge cases are handled (yet). +### Bare Combine + Similarly, the RStudio Addins menu selection "Bare Combine" will take a text selection and make it into a `c()` statement. For example: a,b c,d,e f @@ -38,6 +41,8 @@ will be converted to: **NOTE**: not all double-quote edge cases are handled (yet). +### Join Rows + Finally, unless I'm missing something, RStudio doesn't have a "join rows" option, so you can use the RStudio Addins menu selection "Join Rows" to do just that. So: a