I am new to galaxy and while trying to convert an R tool to a Galaxy usable tool I keep getting: /Users/bmbelfio/galaxy-dist/tools/pathview/pathview.R: line 1: syntax error near unexpected token `(' /Users/bmbelfio/galaxy-dist/tools/pathview/pathview.R: line 1: `args=(commandArgs(TRUE))' any help as to how to remedy this would be greatly appreciated. The first couple lines of my .R file are # #!/bin/bash args<-(commandArgs(TRUE)) Thanks, Brad
Hi Brad I don't you are using R to execute your R script.... How do you call your R script, ie how does the command tag looks in the tool definition file? Also, why do you have a "#!/bin/bash" at the beginning of your R script? Regards, Hans-Rudolf On 04/27/2014 09:50 PM, Bradley Belfiore wrote:
I am new to galaxy and while trying to convert an R tool to a Galaxy usable tool I keep getting: /Users/bmbelfio/galaxy-dist/tools/pathview/pathview.R: line 1: syntax error near unexpected token `('
/Users/bmbelfio/galaxy-dist/tools/pathview/pathview.R: line 1: `args=(commandArgs(TRUE))'
any help as to how to remedy this would be greatly appreciated. The first couple lines of my .R file are # #!/bin/bash args<-(commandArgs(TRUE))
Thanks, Brad
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
Bradley Belfiore
-
Hans-Rudolf Hotz