Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot not working in the debug console #171

Open
mat-ej opened this issue Mar 8, 2023 · 0 comments
Open

Plot not working in the debug console #171

mat-ej opened this issue Mar 8, 2023 · 0 comments

Comments

@mat-ej
Copy link

mat-ej commented Mar 8, 2023

Hi Manuel,

great great work with this tool. I no longer have to suffer the Rstudio thanks to this.

However I would love to know how I can set up the vscDebugger to be very close to Interactive R console, i.e. plots working and being displayed on the side.

when I hit plot() in debug console I get the following error:

Error in (function (display = "", width, height, pointsize, gamma, bg,  : 
  X11 module cannot be loaded
In addition: Warning message:
unable to load shared object '/usr/local/lib/R/modules//R_X11.so':
  libXt.so.6: cannot open shared object file: No such file or directory 

IT seems X11 is not available

capabilities()

jpeg:
TRUE
png:
TRUE
tiff:
TRUE
tcltk:
TRUE
X11:
FALSE

IS the issue on my side? I do have Ubuntu 20.04 machine and libx11-dev installed, R version 4.1.2.

Additionally, how do I turn off this "non verbose" default print of data frames/tables:

head(dt)
Classes ‘data.table’ and 'data.frame':	6 obs. of  22 variables:

I d like to print first few lines same as in traditional R console if that would be possible.

Thanks so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant