still the same error message, here is what I did 1- moved to scripts folder, (NB. I am using wsl-2)
snake file
configfile: "config.yml"
rule all:
input:
expand("downloads/{sample}.tar", sample=config["samples"])
rule download:
output:
"downloads/{sample}.tar"
shell:
"Rscript scripts/GH.R {wildcards.sample}"
the R script
args = commandArgs(trailingOnly=TRUE)
library(GEOquery)
getGEOSuppFiles("args")
Did I do it right ?