Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Line Programs #455

Open
MichaelBAnderson opened this issue Oct 28, 2019 · 2 comments
Open

Command Line Programs #455

MichaelBAnderson opened this issue Oct 28, 2019 · 2 comments

Comments

@MichaelBAnderson
Copy link

@MichaelBAnderson MichaelBAnderson commented Oct 28, 2019

Dear Carpentries,

As I was preparing for my demonstration, I ran into an issue with episode 5: Command Line Programs.

Previous to this episode everything was straight-forward but, at-least for me, this lesson required some initial clarification for setup and use:

1. The lesson instructs the students to create an R script with a notepad editor (Notepad) and save the file as <session_info.R> and change the file extension from .txt to .R (thus creating an R script)

  • it does not say where to save these newly created R scripts (this is critical and where I was confused)

Solution: Any R script that is to be used by command-line programs (CMD line / Bash) must be saved to the same folder as R.exe and Rscript.exe

I am unsure if this confused others but it took me awhile to figure out.

Thanks,

-Michael Anderson

@HaoZeke
Copy link
Member

@HaoZeke HaoZeke commented Oct 29, 2019

Thanks for the great catch and for detailing your experience. Would you like to go forward with improving the docs via a pull-request?

@MichaelBAnderson
Copy link
Author

@MichaelBAnderson MichaelBAnderson commented Oct 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants