REditorSupport / vscode-R

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

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

Open gowerc opened 1 year ago

gowerc commented 1 year 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 1 year ago

Does it happen with R terminals not created in vscode?

gowerc commented 1 year ago

Nope:

image

github-actions[bot] commented 11 months ago

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

gowerc commented 11 months ago

Not stale