sassoftware / R-swat

The SAS Scripting Wrapper for Analytics Transfer (SWAT) package is the R client to SAS Cloud Analytic Services (CAS). It allows users to execute CAS actions and process the results all from R.
Other
50 stars 22 forks source link

Error while installing R-SWAt inside K8s cluster Viya 4 #50

Open sinayu812 opened 11 months ago

sinayu812 commented 11 months ago

I am getting error while installing R-SWAT into Kubernetes cluster, I have followed below 2 methods to install,

Method 1: Mounted sas-pyconfig mount on Linux machine outside k8s cluster

  1. mounted ./saspyconfig directory outisde cluster on Linux machine
  2. ran install command
  3. It fails to launch R because, we only have access to R inside container

Method 2: Inside CAS container

  1. Launched a session to get inside CAS container
  2. Was able to launch R inside container
  3. While running install command for R-swat, it fails with write permission error for Librarary folder inside /opt/sas/viya/home/sas-pyconfig/default_r/Lib64/R/, so it is asking to install in some other directory.

Please help How to install R-SWAT in k8s cluster

Criptic commented 11 months ago

Have you tried using: $deploy/sas-bases/examples/sas-open-source-config/r/README.md?