davidebolo1993 / NanoR

Nanopore data analysis in R
GNU Lesser General Public License v3.0
39 stars 10 forks source link

Getting trouble with this " -bash: syntax error near unexpected token `(' " #25

Closed Fika182 closed 2 years ago

Fika182 commented 2 years ago

Hi @davidebolo1993 or everyone else who can help!

I heard about your NanoR is a great tool for doing QC on Nanopore data and I am glad that I found it.

But I think I couldn't use your tool because every time I try to run an analysis , this -bash: syntax error near unexpected token `(' massage shows up and I really get lost since this is a new thing for me.

Thank you for any helpful suggestion

davidebolo1993 commented 2 years ago

Hi @Fika182,

This is definitely not an error from NanoR. I guess you're trying to run NanoR functions from within bash while these should be run in a R environment. Is this correct ?

Fika182 commented 2 years ago

I guess so, I'll be back If I still got stuck by the trouble. I am sorry I really a newbie for this one >.<

Fika182 commented 2 years ago

I'm sorry that I was too rash yesterday but do you have any CRAN repositories expect https://cran.cnr.berkeley.edu/? Seems like the web is under maintenance

davidebolo1993 commented 2 years ago

NanoR is not on CRAN, actually. You should be able to install this package following infos in the documentation provided.

Let me know if this works for you.

Best,

Davide