Executing Perl 6 code in Rmarkdown

后端 未结 3 1860
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-19 22:33

I want to write some tutorials on Perl 6. For this I believe Rmarkdown would be of great help.

So I am trying to execute Perl 6 code within Rmarkdown docum

3条回答
  •  爱一瞬间的悲伤
    2021-02-19 23:06

    From the command prompt on windows, this works:

    perl6 -e "say 'hello'"
    

    but this fails:

    perl6 -e 'say "hello"'
    

    You have to use double quotes to quote arguments in the command prompt.

提交回复
热议问题