klmr / klmr/sys

Improve support for interactive mode

Open
#8 0 comments 0 reactions 1 assignee View on GitHub

@klmr is already working on this.

Since Nov 27, 2015.

enhancement
Dominant language
R
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

If sys$cmdline$parse is run in interactive mode, provide a prompt for the user to enter the command line usage.

Problem: how to enter arguments?

  1. As a shell command line
    • + more natural
    • + harder to make mistake
    • + can copy & paste from actual command line
    • − how to parse this in R to be consistent with shell?
      • potential solution: spawn subprocess, pass arguments un-shell-quoted, return output of commandArgs().
  2. As an R expression
    • + consistent usage
    • + allows reusing predefined R variables
      • … but then, why bother calling parse?
  3. Allow either
    • how?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.