REditorSupport / vscode-R

R Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=REditorSupport.r
MIT License
1.08k stars 128 forks source link

Using VScodeR terminal doesn't respect the local .Rprofile when parallel processes are launched #1236

Open gowerc opened 2 years ago

gowerc commented 2 years ago

Describe the bug If you launch parallel processes via the parallel package in the R terminal generated by "Create R Terminal" then the users .Rprofile file is not respected.

To Reproduce

Can you fix this issue by yourself? (We appreciate the help)

No

(If yes,) can we assist you with anything?

(If applicable) Please attach setting.json

Defaults, except:

    "r.alwaysUseActiveTerminal": true,
    "r.liveShare.defaults.shareWorkspace": false,
    "r.lsp.promptToInstall": false,
    "r.session.objectTimeout": 10,

Expected behavior Expect that parallel sessions spawned within this terminal respect the users local .Rprofile (we depend heavily on it to setup libpaths.

Screenshots image

Environment (please complete the following information):

Screenshot came from in house server but I was able to re-produce this on my local machine

renkun-ken commented 2 years ago

Does it happen with R terminals not created in vscode?

gowerc commented 2 years ago

Nope:

image

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 365 days with no activity.

gowerc commented 1 year ago

Not stale