Entering edit mode
2.4 years ago
r.kalampaliki
•
0
Having performed a rna-seq analysis, I would like to create a venn diagram. I use the 2DVenn.R command from the Bash, as follows:
./2DVenn.R -a 551 -b 565 -i 723
I note that have installed the required backages and made the 2DVenn.R command executable using:
chmod +x 2DVenn.R
But, I am receiving the following errors:
./2DVenn.R: line 2: syntax error near unexpected token `('
./2DVenn.R: line 2: `R version 3.6.3 (2020-02-29) -- "Holding the Windsock"'
I am new in using the Bash, please help me with this error. Thank you.
looking at the file extension this is not a shell/bash script file but a
R
file that should be executed withR
orRscript
https://www.rdocumentation.org/packages/utils/versions/3.6.2/topics/Rscriptshow us the first line of the file
head 2DVenn.R