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
Batch processing multiple station files with R in windows #56
Comments
To run the batch script in Windows, once you have run the climpact2.batch.installer.r script:
|
HelloI managed to make it work this way:- open the command execution window (bash.exe or else)- use the "cd" command to access the climpact2-master directory. You might need to go step by step untill you get to the directory.- when in the directory, open R by taping "R" in the command (i used R 3.4.4)- then install the packages by taping: source ("installers/climpact2.batch.installer.r"). This will install all the needed packages - make sure you have prepared your stations files and the batch file- exit R by typing q()- run the Rscript....I followed these steps and finally got results. Hope this helps youSent from my Samsung Galaxy smartphone.
-------- Original message --------From: anuragsharma03 <notifications@github.com> Date: 2/5/19 19:19 (GMT+03:00) To: ARCCSS-extremes/climpact2 <climpact2@noreply.github.com> Cc: Wendso <ouedraogo_agathe@yahoo.fr>, Author <author@noreply.github.com> Subject: Re: [ARCCSS-extremes/climpact2] Batch processing multiple station files with R in windows (#56)
Sir, I am also running the batch opeartion on windows. I am getting error"cant open file 'climpacr2.GUI.r' : No such file or directory".
I have attached the screenshot of cmd terminal. Please tell me where I am making error in giving directory address.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/ARCCSS-extremes/climpact2","title":"ARCCSS-extremes/climpact2","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/ARCCSS-extremes/climpact2"}},"updates":{"snippets":[{"icon":"PERSON","message":"@anuragsharma03 in #56: ![capture2](https://user-images.githubusercontent.com/47248875/52287130-9649ec80-298f-11e9-9e48-ee204810c58d.JPG)\r\nSir, I am also running the batch opeartion on windows. I am getting error\"cant open file 'climpacr2.GUI.r' : No such file or directory\".\r\nI have attached the screenshot of cmd terminal. Please tell me where I am making error in giving directory address.\r\n "}],"action":{"name":"View Issue","url":"#56 (comment)"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#56 (comment)",
"url": "#56 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
Yes, you should try running the commands shown in your screenshot but from within the climpact2 directory (i.e. use the "cd" command as Wendso said). |
Hello
I have 85 stations for which I want to use Climpact. The Rscript provided seems to be for Linux. Can you help me with tutorial on how to make it on Windows? I have prepared all the stations files and the metadata file is also okay. But I am stuck because on the section 5 of user guide it requires command line arguments to be passed on Linux. How do I do it if I have Windows? Please help me?
The text was updated successfully, but these errors were encountered: