Comments (3)
Thanks for the question. I suspect the answer will be to modify the cache settings of the underlying R.cache package. I'll look into whether there's a straightforward way to do so!
from treetools.
I found an approach that works. More background on the issue: when I run my analysis with Singularity I have to use --no-home
option to prevent Singularity from looking for R packages in my host system (would defeat the purpose of a container) but then R.cache cannot create and populate the ~/.cache/R/R.cache
directory. A potential solution is to tell Singularity not to use my home in general BUT bind my working directory as my home using the --no-home --bind <workdir>:$HOME
option. This way if any tools want to create anything in my home they will create it in the working directory instead.
Alternatively, R.cache::setCacheRootPath()
could be used to set a cache path for R.cache but I couldn't get it to work properly; it seems when I load R.cache it looks for the non-existing path and then fails with an error before I get a change to set another path.
Since this issue only comes up when using containers and can be solved from the container side, I think it can be closed.
from treetools.
Thanks for following up on this, and glad to hear that you were able to find a solution.
from treetools.
Related Issues (20)
- `as.MixedBase()` hangs (in `sort.multiPhylo()`)
- Tree balance index
- NexusTokens() shiny interaction
- `ClusterTable` memory requirements
- Quality of a dataset
- demo() HOT 1
- Unsupported NEXUS file HOT 1
- GH Actions templates
- Replace `.C` with `.Call`
- using WriteTNTcharacters() with continuous matrix HOT 5
- Error: This many leaves cannot be supported HOT 13
- as.TreeNumber not identifying unique topologies HOT 4
- Will not install on Rstudio HOT 2
- DropTip will not remove tip on tree HOT 2
- Random Trees don't match balance HOT 1
- Simulation of Birth-Death trees
- str method for relevant classes HOT 1
- If tree has defined node.labels AddTips() will not change them HOT 2
- Remove `ape_node_depth`
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 treetools.