Closed monchin closed 4 years ago
Hi,
You have to setup your underlying UNIX/conda system so that R knows how to handle URL. The external program called to handle URL is resolved by default with the getOption("browser")()
call, which returns an empty sting in your case, meaning no program/mechanism defined. Look at the documentation of browseURL, which explains how define this mechanism. This problem has nothing to do with Premessa itself, but thanks for reporting it. When a command like browseURL("http://github.com")
opens a Web browser to the github home page, your setup is OK ;-)
Warning: I am not the developper nor the maintainer.
Best.
Hi, You have to setup your underlying UNIX/conda system so that R knows how to handle URL. The external program called to handle URL is resolved by default with the
getOption("browser")()
call, which returns an empty sting in your case, meaning no program/mechanism defined. Look at the documentation of browseURL, which explains how define this mechanism. This problem has nothing to do with Premessa itself, but thanks for reporting it. When a command likebrowseURL("http://github.com")
opens a Web browser to the github home page, your setup is OK ;-) Warning: I am not the developper nor the maintainer. Best.
Thank you! I have solved this problem by your advice!
Fine! Could you post here a short summary of your solution? It will be useful for me and others.
Fine! Could you post here a short summary of your solution? It will be useful for me and others.
Glad to do that!
First, I went into R, and input R.home()
to find where my R is:
> R.home()
[1] "/home/mon/anaconda3/envs/R36/lib/R"
Then, I opened R_home/etc/Renviron
, and found this line: R_BROWSER=${R_BROWSER-''}
.
I found my Chrome browser's location: /usr/bin/google-chrome-stable
, so I copied this location to change the line as R_BROWSER=${R_BROWSER-'/usr/bin/google-chrome-stable'}
, and save.
Now the problem is solved!
Thanks.
Hello, I'm trying premessa, but it seems there is something wrong when I tried to open GUI following the steps in
Readme.md
. Here's my input and output:My OS:
Ubuntu 18.04
R version:
And I am using anaconda virtual environment, conda version:
conda 4.8.2