r-novice-inflammation icon indicating copy to clipboard operation
r-novice-inflammation copied to clipboard

Command Line Programs

Open MichaelBAnderson opened this issue 4 years ago • 2 comments

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

MichaelBAnderson avatar Oct 28 '19 18:10 MichaelBAnderson

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

HaoZeke avatar Oct 29 '19 11:10 HaoZeke

Sure. I have my demo on the 31st, so I will do it shortly afterwards. Thanks!


From: Rohit Goswami [email protected] Sent: Tuesday, October 29, 2019 6:54:31 AM To: swcarpentry/r-novice-inflammation [email protected] Cc: Anderson, Michael [email protected]; Author [email protected] Subject: Re: [swcarpentry/r-novice-inflammation] Command Line Programs (#455)

External Email - Please verify sender email address before responding.

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fswcarpentry%2Fr-novice-inflammation%2Fissues%2F455%3Femail_source%3Dnotifications%26email_token%3DAKW6SCXAKUYOG3UXEYAX4LTQRAP7PA5CNFSM4JF6LHJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECQG2HY%23issuecomment-547384607&data=02%7C01%7Cmichael.b.anderson%40okstate.edu%7C2f1691f671c541debba308d75c66cdf8%7C2a69c91de8494e34a230cdf8b27e1964%7C0%7C0%7C637079468928513501&sdata=1HYrP8HAdYJkN%2FllmQcnGyJhRvIsNmy2234juA94mD0%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKW6SCRQNM4DZW53OLO4IBLQRAP7PANCNFSM4JF6LHJQ&data=02%7C01%7Cmichael.b.anderson%40okstate.edu%7C2f1691f671c541debba308d75c66cdf8%7C2a69c91de8494e34a230cdf8b27e1964%7C0%7C0%7C637079468928523458&sdata=HqcUAluC2iO8Exhzakm2lebUyYZ%2FHo8VHlMEY8mOMlA%3D&reserved=0.

MichaelBAnderson avatar Oct 29 '19 12:10 MichaelBAnderson