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:
--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 --