question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can not view pciture

See original GitHub issue

Describe the bug I can not see the picture when I plot in remote server

To Reproduce When I press ‘Enter & Ctrl’, R code can be run in R terminal, but when I try plotting, I can not see the picture Instead , a ‘Rplots.pdf’ occur in my workspace but it is empty

Do you want to fix by self? (We hope your help!)

No, I check it for long time

(If related)setting.json

// R.exe path for windows


// R path for Mac OS X


// R path for Linux
"r.rterm.linux": "/home/xiacr/software/R/R-4.1.1/bin/R",

// R command line options (i.e: --vanilla)
"r.rterm.option": --no-restore

// An optional encoding to pass to R when executing the file, i.e. 'source(FILE, encoding=ENCODING)'
"r.source.encoding": "UTF-8",

// Keeping focus when running
"r.source.focus": "editor",

// Use active terminal for all commands, rather than creating a new R terminal
"r.alwaysUseActiveTerminal": false,

// Use bracketed paste mode
"r.bracketedPaste": true,

// Enable R session watcher
"r.sessionWatcher": true,

// Delay in milliseconds before sending each line to rterm (only applies if r.bracketedPaste is false)
"r.rtermSendDelay": 8,

Expected behavior pop a picture windows

Screenshots image-20211216201424778

Environment (please complete the following information):

  • OS: ubuntu
  • VSCode Version: 1.63.1
  • R Version: 4.1.1
  • vscode-R version: 2.3.4

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
renkun-kencommented, Dec 17, 2021

Did you attach to the R terminal in tmux? Did you evaluate a = 1 lines in the attached R terminal?

“R workspace” viewer shows the current global variables in the attached R session, while “Outline” shows the variable defined in the R document (not necessarily evaluated).

0reactions
xiachenruicommented, Dec 17, 2021

oh!I think I get your point, when I run .vsc.attach() in R terminal in tmux, I find ‘R workspace’ work correctly. Thanks again for your kind help !!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10 Photo Viewer not Working: 5 Expert Fixes
1. Use a professional program · 2. Use PowerShell · 3. Repair the app · 4. Reset the app · 5. Make sure...
Read more >
Solved: Photos Cannot Preview or Open in Windows
When I click on image files online I get a message, ?Windows Photo Viewer can't open this picture', although I can view them...
Read more >
Fix ”Windows Photo Viewer Can't Open This Picture“ [2022]
This tool can help you to view photos, play a slideshow of a folder, ... Fixing issues like cannot open jpg files with...
Read more >
Why Can't I See My Pictures in My Gallery? [Causes & Fixes]
Why can't I see my pictures in my gallery? It is not weird when Android gallery doesn't show pictures. This page covers the...
Read more >
Why Are Web Page Images Not Showing?
For instance, pictures might not appear at all, or show as a broken ... as a JPG in CMYK color mode, Internet Explorer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found