-
Notifications
You must be signed in to change notification settings - Fork 1
Development environment setup
Stephen Davies edited this page Jul 3, 2019
·
7 revisions
This is a basic guide on getting new SpecStar contributes ready to complete their tasks. This guide will be broken into two parts. The first part will get your computer ready to compute/add to code (downloading julia, R, etc). The second part will get you ready to get involved in our project. This guide is designed for Windows users, but I can't imagine other operating systems will be too different.
Getting your computer ready for the code:
- Download the following items:
- https://julialang.org/downloads/ (The Julia language)
- https://cran.r-project.org/mirrors.html (The R language)
- https://atom.io/ (https://junolab.org/ (This is an extension of Atom)) (This is just the IDE I am using, others should work fine)
- Install all necessary R packages; currently we only use
DescTools
.- To install an R package, start R in administrator mode, type
install.packages("packageName")
, choose a mirror near you, and accept all the prompts.)
- To install an R package, start R in administrator mode, type
- Next up is adding the necessary packages to julia
- Julia has a built in package mode, once you open a session of Julia simply type "]" to enter this mode
- one at a time, type "add " followed by the packages name
- The currently used Julia packages are: RCall, Gadfly, LightGraphs, GraphPlot, Compose, ColorSchemes, Colors, Random, Cairo, Fontconfig, DataFrames, Distributions
Getting with the team:
- Download the following items:
- https://www.atlassian.com/git/tutorials/install-git#windows (installing git, this will allow you to push/pull/etc)
- Create a Slack and join our group (there are apps, but if you'd rather, you can do this entirely online)
- To get up to date on the current findings ask someone for access to the PubPub
- Download Zoom for future video calls.
Troubleshooting:
- If you're having problems with RCall make sure R is in your "PATH" environment variable. Follow the instructions on this website for help: http://yizhexu.com/2017/02/r-path/
- Make sure everything is running in Administrator mode
- Make sure the "ineq" package is installed in R, not Julia
If there are any other problems, or you have any questions, feel free to ask anyone in the group. We're all happy to help!