Skip to content
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

Radian in VSCode does not run the code interactively unless pressing enter #486

Open
Babakfifoo opened this issue Sep 3, 2024 · 1 comment

Comments

@Babakfifoo
Copy link

Hi,

I am using R:4.4.1 on VSCode. Whenever I pass a code to Radian (especially the multi line ones) it just does not run it.

The code appears like this:

cross_panel <- panel %>% 
        group_by(pand_identificatie) %>% 
        reframe(
            approval_date = min(start_date),
            total_dur = max(date_1),
+         has_demolition = first(has_demolition),
        permit_renewed = first(permit_renewed),
        trans_path = paste0(statusCode),       
    )

The syntax coloring disappears after + line:

image

When that + sign appears, the code does not run and I have to switch to terminal and press ENTER to run the code.
I tried modifying the .radian_profile and the R:bracket setting in VSCode, but nothing worked.

@Fred-Wu
Copy link

Fred-Wu commented Sep 9, 2024

If you are using Windows, this is a known issue. Multiple solutions have been attempted by others, but unfortunately all appear to have some drawbacks.

Nowadays, I am just using native Rterm if working on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants