New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with prompt when using other engines #1274

Closed
stla opened this Issue Aug 22, 2016 · 2 comments

Comments

2 participants
@stla

stla commented Aug 22, 2016

Hello,
The chunk

    ```{r engine='haskell', engine.path='ghc', prompt=TRUE}
    let x = 1
    let y=2
    ```

generates

> let x = 1
+ let y=2

By the way, could you remove the automatic set to the option :set +m with the Haskell engine? This is not a default option in ghci and this is annoying. We can set it manually in a chunk anyway.

@yihui yihui added this to the v1.15 milestone Sep 5, 2016

@yihui yihui added the Doc label Sep 5, 2016

@yihui yihui closed this in 4a277cc Sep 6, 2016

@yihui

This comment has been minimized.

Show comment
Hide comment
@yihui

yihui Sep 6, 2016

Owner

Without a Haskell syntax parser in R, it is not possible to add prompts correctly, so I'll just document this limitation.

I have removed :set :m. I don't know anything about Haskell, and it was from a user contribution.

Owner

yihui commented Sep 6, 2016

Without a Haskell syntax parser in R, it is not possible to add prompts correctly, so I'll just document this limitation.

I have removed :set :m. I don't know anything about Haskell, and it was from a user contribution.

@stla

This comment has been minimized.

Show comment
Hide comment
@stla

stla commented Sep 9, 2016

Thank you.
I use my own Haskell engine now: http://stla.github.io/stlapblog/posts/ghcscriptrender.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment