2DVenn.R: Error when executed from Bash
0
0
Entering edit mode
2.4 years ago

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.

2DVenn Venn-diagrams rna-seq R • 511 views
ADD COMMENT
0
Entering edit mode

looking at the file extension this is not a shell/bash script file but a R file that should be executed with R or Rscripthttps://www.rdocumentation.org/packages/utils/versions/3.6.2/topics/Rscript

show us the first line of the file head 2DVenn.R

ADD REPLY

Login before adding your answer.

Traffic: 1317 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6