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

R: (Not attached) + unknown file attribute: C

Open peefjerky opened this issue 4 years ago • 4 comments

R : (Not attached) + unknown file attribute C

Did not happen yesterday, suddenly opened VSCodium and saw this error. Tried the same installation on a Windows but it's working as it should, has the same error on my friends MBP. I opened the R application and it showed this error. Solved it using the same link. The same code works on the terminal, but returns zsh: unknown file attribute: C in vscodium integrated terminal.

Clicking on R: (Not attached) puts this in the terminal and nothing happens next .vsc.attach() function>

Screenshots image

Environment:

  • OS: macOS 11..4
  • VSCodium Version: Version: 1.58.2
  • R Version: 4.1.0
  • vscode-R version: 2.1.0

peefjerky avatar Jul 23 '21 12:07 peefjerky

From the screenshot, looks like your terminal contains some control characters?

renkun-ken avatar Jul 26 '21 03:07 renkun-ken

From the screenshot, looks like your terminal contains some control characters?

Might be? I'm running oh-my-zsh with it's plugins, and powerline10k theme. What should I look for exactly?

peefjerky avatar Jul 27 '21 13:07 peefjerky

From the screenshot, looks like your terminal contains some control characters?

Okay so my friend has the same issue? He also has a vanilla zsh terminal (Apple changed from bash to zsh in bigsur). I tried disabling the theme, but it returned the same error. When we click run as source it returns the zsh: unknown file attribute: C error, if we type radian first and then do run as source, then it works. Run as code works normally. Also, when we do run as source in radian, the plots and charts don't open in a vscode pane, but it opens in macos window.

Screenshot: deezerror

peefjerky avatar Jul 30 '21 09:07 peefjerky

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

github-actions[bot] avatar Jul 31 '22 02:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 15 '22 02:08 github-actions[bot]