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

Does datapasta work with RStudio Server? #73

Open
cmhh opened this issue Jul 22, 2018 · 8 comments
Open

Does datapasta work with RStudio Server? #73

cmhh opened this issue Jul 22, 2018 · 8 comments

Comments

@cmhh
Copy link

cmhh commented Jul 22, 2018

Hi
This is cool. However, at work we use RStudio Server. When I try pasting with RStudio Server I just get the following:

Clipboard is not available. Is xsel or xclip installed? Is DISPLAY set?

It this a technical limitation with remote execution? Will it only work on a local desktop?

Cheers

@MilesMcBain
Copy link
Owner

MilesMcBain commented Jul 22, 2018 via email

@kok00n
Copy link

kok00n commented Dec 28, 2018

Hi,

Do u have any update on this issue? I've got the same problem with RStudio Server.

BR

@psalveson
Copy link

Same issue here.

-P

@MilesMcBain
Copy link
Owner

MilesMcBain commented Jan 15, 2019

Sorry friends. The approach used by Dan will not work with datapasta.

The RStudio API does not currently allow me to talk to your browser, which is what we would need to do to get your local clipboard. datapasta currently looks on the server's clipboard, and often fails when the required Linux applications are not installed, as in the case of the OP.

@ablack3
Copy link

ablack3 commented Jan 29, 2019

This would be a nice feature to add.

@ghost
Copy link

ghost commented Aug 14, 2019

datapasta currently looks on the server's clipboard, and often fails when the required Linux applications are not installed, as in the case of the OP.

Does it work if the correct applications ARE installed? I wasn't sure if the error message meant "xsel or xclip might be getting in the way" or "I need one of these for this to work." I'd love to get datapasta working with Rstudio server, and will do some heavy lifting if it will potentially work.

@MilesMcBain
Copy link
Owner

No, even if you have xsel or xclip you'll still be trying to read from the server's clipboard, not your local one via your browser. So it will appear to 'work' but won't be useful.

@ghost
Copy link

ghost commented Aug 18, 2019

Good to know for an addin I had in mind for an internal package at work! I'll keep my eye on this in case a solution presents itself.

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

No branches or pull requests

5 participants