Skip to content
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

a suggestion for package installation part #7

Open
kose-y opened this issue Feb 12, 2019 · 1 comment
Open

a suggestion for package installation part #7

kose-y opened this issue Feb 12, 2019 · 1 comment

Comments

@kose-y
Copy link
Member

kose-y commented Feb 12, 2019

Currently, most of the tutorials lead the readers to the Julia REPL to install packages. Wouldn't it be easier to install packages from the Pkg mode from the notebooks? A line beginning with ] runs a command in Pkg mode, just as how shell mode works in "In [2]" of IHT/Mendel_IHT_tutorial.ipynb. For example, we can use

]add https://github.com/OpenMendel/SnpArrays.jl
]add https://github.com/OpenMendel/MendelSearch.jl
]add https://github.com/OpenMendel/MendelBase.jl
]add https://github.com/biona001/MendelIHT.jl
]add DataFrames, Distributions, BenchmarkTools, Random, LinearAlgebra 

in separate cells to install the packages for the IHT tutorial.

Another possible approach would be beginning with using Pkg in Julia mode as in VCTest tutorial.

@Hua-Zhou
Copy link
Member

Nice tips. Thanks, @kose-y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants