Skip to content

Rename R/session/.Rprofile to R/session/profile.R#938

Merged
renkun-ken merged 1 commit intoREditorSupport:masterfrom
renkun-ken:rename-profile
Jan 11, 2022
Merged

Rename R/session/.Rprofile to R/session/profile.R#938
renkun-ken merged 1 commit intoREditorSupport:masterfrom
renkun-ken:rename-profile

Conversation

@renkun-ken
Copy link
Member

@renkun-ken renkun-ken commented Jan 11, 2022

What problem did you solve?

See REditorSupport/languageserver#513

When R/session/.Rprofile is open as an external file in vscode, a new language server will be spawned with the working directory being R/session so it will source R/session/.Rprofile which causes the infinite recursion.

Since R/session/.Rprofile is not intended to be sourced if the working directory is R/session, it should not be named .Rprofile.

(If you do not have screenshot) How can I check this pull request?

Run "R: Create R terminal" and the session should be correctly attached.

@renkun-ken renkun-ken merged commit 9feabde into REditorSupport:master Jan 11, 2022
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

Successfully merging this pull request may close these issues.

1 participant