Comments (1)
Testing this out. We should be able to set the default easily enough (https://support.rstudio.com/hc/en-us/articles/360047157094-Managing-R-with-Rprofile-Renviron-Rprofile-site-Renviron-site-rsession-conf-and-repos-conf). Unfortunately it does look like there are binary incompatibilities, at least with the package I got (sf, links to libproj)
(notebook) jovyan@jupyter-taugspurger-40microsoft-2ecom:~$ cat /srv/conda/envs/notebook/lib/R/etc/Rprofile.site
options(
repos = c(REPO_NAME = "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"),
HTTPUserAgent = "R/4.1.1 R (4.1.1 x86_64-pc-linux-gnu x86_64 linux-gnu)"
)
(notebook) jovyan@jupyter-taugspurger-40microsoft-2ecom:~$ R
R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-conda-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
[Previously saved workspace restored]
> install.packages("sf")
trying URL 'https://packagemanager.rstudio.com/cran/__linux__/focal/latest/src/contrib/sf_1.0-3.tar.gz'
Content type 'binary/octet-stream' length 8155842 bytes (7.8 MB)
==================================================
downloaded 7.8 MB
* installing *binary* package ‘sf’ ...
* DONE (sf)
The downloaded source packages are in
‘/tmp/RtmpoKfRG0/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
> library(sf)
Error: package or namespace load failed for ‘sf’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/srv/conda/envs/notebook/lib/R/library/sf/libs/sf.so':
libproj.so.15: cannot open shared object file: No such file or directory
from planetary-computer-hub.
Related Issues (6)
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 planetary-computer-hub.