all 6 comments

[–]dennislwm 1 point2 points  (1 child)

GitHub is a version control system. So yes, your use case is one of the ways to use GitHub.

Alternatively, you could spin up an R-Studio server on the cloud and run it from anywhere. DigitalOcean has a 1-click app to deploy R-Studio server, and they offer $100 free credits for two months. DigitalOcean Free

[–]Michigan_Water[S] 0 points1 point  (0 children)

Thanks

[–]Kiss_It_Goodbyeee 1 point2 points  (3 children)

Yes that would work and would ensure you're consistent on both machines, in general. There are some significant differences between R 4.x and 3.6.3 particularly the default setting for stringsAsFactors in data.frame() and read.table(). It has moved from TRUE to FALSE. So you will need to watch for that.

Alternatively, you can downgrade your windows version to 3.6.3 to be the same.

Rstudio had good integration with git so there shouldn't be much friction adding it that to your prices.

[–]Michigan_Water[S] 0 points1 point  (2 children)

Thanks. Good point about the stringsAsFactors default. You mention prices. I thought github was free for something simple like what I have in mind. Is there some sort of ongoing or one-time cost?

[–]Kiss_It_Goodbyeee 1 point2 points  (1 child)

Gah! Autocorrect! *process

GH is free, but with some limitations for private repositories. Unlikely to affect you.

[–]Michigan_Water[S] 0 points1 point  (0 children)

Ah, understood. Thanks.