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

Create a custom single user image #4

Open
betatim opened this issue Jan 23, 2018 · 10 comments
Open

Create a custom single user image #4

betatim opened this issue Jan 23, 2018 · 10 comments

Comments

@betatim
Copy link
Member

betatim commented Jan 23, 2018

We want to have some custom libraries and tools installed in the single user image.

Things we need for sure:

More ideas?

@betatim
Copy link
Member Author

betatim commented Jan 23, 2018

We can test drive this image via mybinder.org and this repository I think.

@betatim
Copy link
Member Author

betatim commented Jan 23, 2018

@madprime
Copy link
Collaborator

madprime commented Jan 24, 2018

anaconda? Well, that's not really a library, it's a bunch. I think @gedankenstuecke is better at data analysis in general, and especially in R, and is more familiar with libraries that would be desired.

@gedankenstuecke
Copy link
Collaborator

I've never tried the R kernel, but can users install packages in it using install.packages() or devtools in their own notebooks? Because in that case we wouldn't need to provide any packages for R I think. Installing packages with these two methods is pretty straight forward.

@madprime
Copy link
Collaborator

madprime commented Jan 24, 2018

I think "R kernel" just means the ability to do a Jupyter notebook in R. https://github.com/IRkernel/IRkernel And yes, we should start by having that! RStudio sounds good to me but I don't speak R.

Would devtools itself be a package? (or maybe it's a default thing?)

@gedankenstuecke
Copy link
Collaborator

Yeah, but if users get full control of their R session they can just install stuff on their own. devtools is its own package (which might be useful to be preinstalled) but it can also be just installed with install.packages() if users can do this.

@madprime
Copy link
Collaborator

I may misunderstand, but I suspect pre-installation of libraries/packages/tools on the user image is in part desirable as a time-saver – assuming installation of these things by each user (even if theoretically doable) takes any amount of time to perform.

@gedankenstuecke
Copy link
Collaborator

Sure, then I'd say we go with tinyverse, which has all the packages you want.

@madprime
Copy link
Collaborator

For Python I wondered if something enabling "import from a remote URL" might exist –
and found this. I think it'd be a great addition, assuming it works as it promises?
https://github.com/operatorequals/httpimport

(And a comment – although the README refers to importing from a github "master" branch URL, for security reasons, I'd generally encourage imports from URLs that refer to a specific commit hash.)

@betatim
Copy link
Member Author

betatim commented Feb 28, 2018

Add pip install open-humans-api to the image.

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

3 participants