-
Notifications
You must be signed in to change notification settings - Fork 1
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
can only visualize the "Test page" #2
Comments
Hello @dalloliogm, are you using this with the epivizr package ? |
Hi, |
if you use the
for more examples, please see the vignettes from the |
Thanks... unfortunately I still get the "Not Connected" error, when copying&pasting the code from your post:
|
We've seen this happen with a few users before where they use enterprise laptops and the user has limited access to opening ports. Another way to test this might be to see if you can run a shiny app locally ? Also after running the |
I am working with gio on trying to get this working on our system. When I execute the example a browser window opens but at the following location is that the correct behaviour? |
yes, opening the browser connects it with the R-session. Now you can visualize datasets from the R-session with the browser. If you would like to run everything locally, we have another package called epivizrStandalone. The API is very similar to |
Excellent I'll give that a try this afternoon. thank you very much |
Thank you,
However the browser is empty.. no genes and no chromosomes. Is that normal? Is there a guide to describe how to add them?
I saw that there is also an epiviz project, with an application that runs via docker. I can start that without many issues, however I can't send data to it from R. Apologies if this is already documented, I am a bit lost among the epiviz packages :-). Thanks for the great work, anyway. |
Hello, We modularized our packages so that it is easier to use them across different projects. The packages that the end user would use would be either I made a short screencast of the the code from the screencast
looking at your code, I think using the |
I've run the above and it opens a blank EpiViz4 page and I get the following errors app <- startStandalone(Homo.sapiens,
checking for updates to epiviz app...
Error in app$plot(tcga_colon_curves, datasource_name = "tcga 450K methylation", : Any ideas? |
hello @harrica, can you run
|
here it is setStandalone()
locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
does running the script after |
I get the same error, its running on a remote rstudio. I will attempt it locally on my Mac tomorrow |
good morning, I've upgraded rstudio and r on my mac and installed the new packages. on RStudio standalone the code successfully runs and shows itself in the viewer window in RStudio but now I'm not sure how to get it to a browser window |
Hello @harrica, glad to hear it worked! if you remove this parameter |
Ah, cool let me give that a try? Now to debug the stuff running on the corp platform, I’ll have to get back to that tomorrow,
Richard Harvey
Sent from my iPhone
… On Apr 23, 2019, at 9:53 AM, Jayaram Kancherla ***@***.***> wrote:
Hello @harrica, glad to hear it worked! if you remove this parameter use_viewer_option = TRUE when you start the app, this would open in a normal browser window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
that worked great on a standalone RStudio on my desktop thanks |
Hello again, when looking at developer tools in chrome I get 3 errors. It looks like it wants to connect to secure websocket and is failing that. Is there a way to ask it to go to a secure web socket? |
from the url, I notice that the server is running on
but the websocket is trying to connect to localhost on the client
Instead of is this on a rstudio server ? |
yes it's on rstudio server. the https://us1salxhpe0012.corpnet2.com:8787 is rstudio server pro. do I just use the host parameter |
Can you try this url ? (using the same host for ui and websocket)
|
Hello, |
Hello @dalloliogm & @harrica can we use gitter to chat about this issue ? https://gitter.im/epiviz/general?utm_source=share-link&utm_medium=link&utm_campaign=share-link |
ok I have tried the following with no success. library(epivizrStandalone) is there a way to do a wss to the local host? |
Hi @harrica the host parameter is where the server is running, in your case it'll be |
I’ll try the remote url in the morning and I’d be more than happy to join a gitter chat
I’ll figure that out in the morning as well
Richard Harvey
Sent from my iPhone
… On Apr 25, 2019, at 8:10 AM, Jayaram Kancherla ***@***.***> wrote:
Hi @harrica
the host parameter is where the server is running, in your case it'll be us1salxhpe0012.corpnet2.com
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
i put in the host parameter suggested and get a UI unable to connect to WebSocket server, and while it throws a page to the localhost we have seen the behavior previously. I think we may need to talk on gitter chat |
Hello @harrica, I am on gitter. |
as am I not sure how to find you though |
I added you to the gitter chat room, if you don't see the invite, you can sign in here - https://gitter.im/epiviz/general?utm_source=share-link&utm_medium=link&utm_campaign=share-link |
Gio, it's going to take a bit of work to attempt this, but I'm also unsure if it will work. The base problem is that we apparently have a different version of R from the CLI than from RStudio that isn't something I can change. I will attempt to install all the bioconductor stuff locally and give this a try. I think we will run into the same problem in not supporting secure websockets because the underlying code being used by epiviz is based upon httpuv, the owner of that package has said it does not support wss and that hey have no plans to do it. |
Hi @harrica, if you prefer I can try it as I already have an R installation with some bioconductor packages installed, so that will save time. |
I finally have a http version of rstudio server pro running and am trying to get the standalone code running again. to refresh memories. any ideas? |
after messing around a bit I now get the following I pasted since it is a little long |
do you see a browser tab open with epiviz ? From what you pasted, the server and the UI seems to be communicating, can you run this first,
wait from the browser tab to open and then run the remaining script |
the web socket seems to be working since I can close it with app$stop_app |
ok I have a web page - ran the startStandalone and then when the page appears I get data("tcga_colon_curves")
Error in .self$visualize(chart_type, datasource = measurement_object, : |
can you send me the screenshot of what the page looks like ? |
Since your server can now establish websocket connections, can you try this code, this uses the UI we host at UMD
don't run the last line as that closes the session and removes the chart. |
if it's of any use to you I get the same results from the RStudio-server instance I'm running from home for bot Standalone and this snippet |
also is there a way to increase the wait time for the web socket server, I can't tell if we are timing out. |
Hello,
I've followed the instructions in the tutorial. However, when I open the server page, I can only see a "Test page" message.
What am I doing wrong?
Moreover, when I print the episerver or epiclient variables, I get a "not connected" message:
The text was updated successfully, but these errors were encountered: