runGUI() in Google Colab

12 views
Skip to first unread message

Raul Tapia

unread,
Jun 13, 2024, 6:44:56 PM6/13/24
to QCA with R
Hello everyone:

Please I want to request your help.

I'm trying to run runGUI() in Google Colab.

Install and load the liberias:
install.packages("admisc")
install.packages("ggrepel")
install.packages("stargazer")
install.packages("shiny")
install.packages("QCA", dependencies = TRUE)
install.packages("QCA", repos = "dusadrian.r-universe.dev")
install.packages("SetMethods")

However, when I try to run runGUI() the following message is displayed:
Listening on http://127.0.0.1:5890

And the browser does not open with the QCA graphical interface.

I appreciate your help

Thank you
Raul
QCA1.jpg
QCA2.jpg

Adrian Dușa

unread,
Jun 14, 2024, 11:56:24 AM6/14/24
to Raul Tapia, QCA with R
Dear Raul,

I have never tried to run the QCA user interface on Google Colab, so wouldn’t exactly know what is going on.

As far as I can see, there is no error message after the command runGUI(), which suggests the package works alright, as expected.

On a normal computer, this command would open a webpage in the default web browser, on the local machine IP which ia usually 127.0.0.1

This seems to happen ok in the Google Colab, but why is it not opening up that package for you, that I do not know: it is something related to how Google Colab works and has basically nothing to do with the R package QCA.

My guess is it cannot open that webpage for you. If it would, the IP address 127.0.0.1 would not be on your machine but on Google’s, therefore your browser would still not fond the required resources to run the user interface.

Or else if Google were to properly redirect that IP address on your machine, it would have to do that inside the same page where you opened Google Colab.

If you really want the user interface, i would install R to run it on your own machine.

Hope this helps,
Adrian

--
You received this message because you are subscribed to the Google Groups "QCA with R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qcawithr+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qcawithr/4d049282-386f-43d1-b8e3-49e8910cbf41n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages