remi-daigle / studyGroup

http://r-bar.ca
Other
0 stars 1 forks source link

Integrating R Studio with Git for Project Management #14

Closed dravery closed 8 years ago

dravery commented 8 years ago

So, we could use a session on this :-)

remi-daigle commented 8 years ago

yeah, I would be interested in hearing about this, but I never use git through Rstudio myself. I mostly interact with the github desktop app.

@paleolimbot didn't you say you used git in the Rstudio GUI? We have an opening for Nov 20th (hint hint, nudge nudge)

paleolimbot commented 8 years ago

sure, it's really simple and won't take long. RStudio is actually my favourite git interface. Friday (20th) works for me!

remi-daigle commented 8 years ago

That's awesome @paleolimbot !

Do you want to take a stab at creating the event on the website? In short, you create an issue describing what you will talk about and create a file that links to it in the _posts directory. More info here

If you need any help let me know!

paleolimbot commented 8 years ago

it worked! I'll create a new issue and link it to that instead of this one.

remi-daigle commented 8 years ago

whoa, you're fast!

Yeah I was just gonna say, I already see it on the site but it would be better to start a 'fresh' issue. Clearly you're on top of it!

paleolimbot commented 8 years ago

could one of you try to get git up and running with RStudio on Windows? I have no way of doing this and it's half the battle with using RStudio's git interface. It may be that installing the GitHub desktop app does this automatically?

dravery commented 8 years ago

According to the directions and what I've read, you just need to install git, not github or git desktop, then point to the executable in RStudio. I'll try it later...can't today.

trev

On 11/16/2015 11:18 AM, Dewey Dunnington wrote:

could one of you try to get git up and running with RStudio on Windows? I have no way of doing this and it's half the battle with using RStudio's git interface. It may be that installing the GitHub desktop app does this automatically?

— Reply to this email directly or view it on GitHub https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157064223.

remi-daigle commented 8 years ago

OK, I just did it! It's super easy on Windows, it's just a matter of installing git and in RStudio going into Tools>Global Options>Git/SVN, then set the "Git executable" which in my case was in "C:/Program Files/Git/bin/git.exe" (probably pretty normal for windows)

dravery commented 8 years ago

I just tried that to a massive failure...stupid windows... t

On 11/16/2015 5:46 PM, Remi Daigle wrote:

OK, I just did it! It's super easy on Windows, it's just a matter of installing git and in RStudio going into Tools>Global Options>Git/SVN, then set the "Git executable" which in my case was in "C:/Program Files/Git/bin/git.exe" (probably pretty normal for windows)

— Reply to this email directly or view it on GitHub https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157180486.

remi-daigle commented 8 years ago

What happened?!?!

paleolimbot commented 8 years ago

I tried on my XP virtual machine and it crashed RStudio every time it opened...

On Mon, Nov 16, 2015 at 5:52 PM, Remi Daigle notifications@github.com wrote:

What happened?!?!

— Reply to this email directly or view it on GitHub https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157182089 .

dravery commented 8 years ago

git.exe is fine now...at first it would throw an error. I had a project open, closed it and now it seems fine. I have to link it to a git repository via a project now.

I'd like to move some of the shared projects I have to git. I get 5 free academic private gits :-) Might as well use them!

BUT, I'm also trying to become MORE organized, not less so. Therefore, if Dewey knows more about organizing git repositories, great! I think their interface is waaaaaayyyyy tooooo geeky and completely un user friendly.

trev

On 11/16/2015 5:54 PM, Dewey Dunnington wrote:

I tried on my XP virtual machine and it crashed RStudio every time it opened...

On Mon, Nov 16, 2015 at 5:52 PM, Remi Daigle notifications@github.com wrote:

What happened?!?!

— Reply to this email directly or view it on GitHub

https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157182089 .

— Reply to this email directly or view it on GitHub https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157182543.

paleolimbot commented 8 years ago

I was going to do a kind of combination of organizing your project folders, modularizing code, and then talk about git (because git is most effective for projects that are well-organized and modularized).

NOOB-R would be quite effective on GitHub as a public repository, any plans to migrate it over?

On Mon, Nov 16, 2015 at 5:57 PM, Trevor Avery notifications@github.com wrote:

git.exe is fine now...at first it would throw an error. I had a project open, closed it and now it seems fine. I have to link it to a git repository via a project now.

I'd like to move some of the shared projects I have to git. I get 5 free academic private gits :-) Might as well use them!

BUT, I'm also trying to become MORE organized, not less so. Therefore, if Dewey knows more about organizing git repositories, great! I think their interface is waaaaaayyyyy tooooo geeky and completely un user friendly.

trev

On 11/16/2015 5:54 PM, Dewey Dunnington wrote:

I tried on my XP virtual machine and it crashed RStudio every time it opened...

On Mon, Nov 16, 2015 at 5:52 PM, Remi Daigle notifications@github.com wrote:

What happened?!?!

— Reply to this email directly or view it on GitHub

< https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157182089

.

— Reply to this email directly or view it on GitHub < https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157182543 .

— Reply to this email directly or view it on GitHub https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157183338 .

dravery commented 8 years ago

Noob-R would be great as a markdown doc ideally too. But, alas, I haven't the time right now to do that.

I am having the grad class produce a markdown document for data cleaning, organizing, input, etc. And, Lita is making one for some simple GIS work. And, I have a student starting next semester that will be working on one for pulling data form NRCAN etc. for tides, weather, etc. along with post processing tips and tricks.

trev

On 11/16/2015 6:08 PM, Dewey Dunnington wrote:

I was going to do a kind of combination of organizing your project folders, modularizing code, and then talk about git (because git is most effective for projects that are well-organized and modularized).

NOOB-R would be quite effective on GitHub as a public repository, any plans to migrate it over?

On Mon, Nov 16, 2015 at 5:57 PM, Trevor Avery notifications@github.com wrote:

git.exe is fine now...at first it would throw an error. I had a project open, closed it and now it seems fine. I have to link it to a git repository via a project now.

I'd like to move some of the shared projects I have to git. I get 5 free academic private gits :-) Might as well use them!

BUT, I'm also trying to become MORE organized, not less so. Therefore, if Dewey knows more about organizing git repositories, great! I think their interface is waaaaaayyyyy tooooo geeky and completely un user friendly.

trev

On 11/16/2015 5:54 PM, Dewey Dunnington wrote:

I tried on my XP virtual machine and it crashed RStudio every time it opened...

On Mon, Nov 16, 2015 at 5:52 PM, Remi Daigle notifications@github.com wrote:

What happened?!?!

— Reply to this email directly or view it on GitHub

<

https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157182089

.

— Reply to this email directly or view it on GitHub <

https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157182543

.

— Reply to this email directly or view it on GitHub

https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157183338 .

— Reply to this email directly or view it on GitHub https://github.com/remi-daigle/studyGroup/issues/14#issuecomment-157186883.

remi-daigle commented 8 years ago

@paleolimbot are you going to create the new issue?

rystanley commented 8 years ago

I am excited for this! Sorry I can't contribute more, buried in R over here at BIO at the moment. I am keen to see the results. I agree with @paleolimbot that the Noob-R would be great to put up on GitHub, if only for a teaching tool to use Git.

paleolimbot commented 8 years ago

on it! just curious about the noob-r thing, I imagine that would take a while.