broadinstitute / chem-bio-dos-del

Initiated 2021Q4 for code related to the Broad Chemical Biology DNA-encoded library (DEL) analysis and visualization pipeline
MIT License
1 stars 0 forks source link

"copy SMILES to clipboard" Fails #1

Open codewarrior2000 opened 2 years ago

codewarrior2000 commented 2 years ago

While using the "shared DEL analysis app", Andrew and Shuang have reported getting the 'disconnected from server' error every time trying to get the SMILES of a particular compound (Data retrieval-->get compound structure-->copy SMILES to clipboard). image (2)

codewarrior2000 commented 2 years ago

https://community.rstudio.com/t/error-in-clipboard-on-x11-requires-that-the-display-envvar-be-configured/34894 " It is not possible to have access to the clients clipboard from shinyapps.io server, this might be possible if you where in your own server through a SSH connection with X11 forwarding."

codewarrior2000 commented 2 years ago

https://community.rstudio.com/t/add-copy-plot-to-clipboard-button-to-shiny-app-with-ggplot/87719/2 "… shinyapps.io in principle can't change the copy and paste buffers of client devices. I expect the solution will involve something like writing out the plot to a temporary image file, and then using some javascript to facilitate copy and pasting, but that's easier said than done, at least for me as I know R a lot better than I know javascript..."