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

PSCBS segmentation failed --> Error in write permission for R directory .cache #367

Closed
lmanchon opened this issue May 6, 2024 · 0 comments

Comments

@lmanchon
Copy link

lmanchon commented May 6, 2024

--Hi,

PureCN.R used with PSCBS segmentation need write permission to personal .cache directory and sometimes (on HPC cluster) it failed with:

Error in getWritablePathname.Arguments(static, file = "dummy-not-created", :
No write permission for directory: /nfs/home/users/.cache/R/R.cache/PSCBS/segmentByCBS/sbdry

I have modified the PureCN.R script at the beginnig to change my .cache directory by using R.cache library, such as:

library("R.cache")
setCacheRootPath(path="/tmp/.cache/R/R.cache")

and now it works.

Laurent --

@lima1 lima1 closed this as completed May 28, 2024
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