vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

On Windows and MacOS, `source()`ed packages do not show function suggestion even Namespaces attached and loaded

Open Fred-Wu opened this issue 8 months ago • 0 comments

I am working on Windows 10 and using the native R terminal for my work projects. I have a script to setup some configurations and packages, and source() it from other scripts.

However, auto-suggestion on functions do not work if loading packages using this way for the first time even Namespaces are attached and loaded.

Also tested on my own MacBook, it happens too.

image

For data.table image

For haven image

However, it only works after I open 0_loadLibrary.R

image image

And then as soon as I close 0_loadLibrary.R, it stops working again.

Fred-Wu avatar Jun 17 '24 08:06 Fred-Wu