Comments (6)
Agreed, but how would you go about this?
In hadleyverse, I set CRAN as the default using a .Rprofile in root, so that at least I can use Rscript -e install_github.
In the RStudio image (and thus images depending on it), I can create the .Rprofile
in the user's home directory as part of the script that runs on execution (via supervisord
). I can't do it in the Dockerfile itself because we want to be able to specify a user variable at runtime, not hardwire it during build.
from rocker.
There are different users as @cboettig points out; RStudio runs as user 'rstudio'.
The sanest place would be /etc/R/Rprofile.site
And we probably want to to set it in r-base rather than the later ones.
from rocker.
@eddelbuettel I shoulda waited for you before committing, that's a much better solution.
You'd think I'd have caught on by now to use the global configs instead of adding crap to $HOME ...
from rocker.
Changes pushed to sandbox branch (As @eddelbuettel suggests, to avoid too many pointless builds on the Docker Hub we'll merge sandbox to master daily).
from rocker.
What about making sandbox the default branch for this repo? Then pull request would go there by default.
from rocker.
Okay, this is now done in r-base.
from rocker.
Related Issues (20)
- Migrating from Dockerhub? HOT 3
- Container for RStudio (not server) HOT 1
- MRAN repository snapshots were deleted - Failing jobs because packages can't be found anymore HOT 5
- docker v18 & packages repositories & rocker's images HOT 5
- unable to load shared object
- Update results in deletion of all install package...
- installation testing fails HOT 1
- r: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
- Docker image r-base:4.2.1 not reproducible HOT 4
- Installing unstable apt packages? HOT 4
- Local Zotero Integration? HOT 3
- R session terminated HOT 1
- latest r-base breaks install of `curl` package HOT 8
- xz-utils backdoor HOT 4
- Potential high vulnerability in r-base:4.3.1 HOT 3
- Installing packages fails due to broken openssl package in debian testing HOT 2
- Alternative Methods of Extending Images? HOT 5
- update 'latest' version to 4.4.0 RDS security flaw HOT 2
- New `usrmerge` issues. HOT 5
- 502 Returned by Rstudio Server when executing 'client_init' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocker.