Launching dbus Session from .bashrc file | RStudio Web Browser Session Startup files

I want to understand the difference between Web Browser Session and Putty Session of RStudio Server (Open Source).

I have a small script in .bashrc file on my user profile in RStudio Server which is running on CentOS 7. When I refresh the Putty Session, I am able to get the output of the .bashrc file where as doing the same in Web Browser doesn't. I tried to include the script as part of .Rprofile but was not successful. Can you please help. Below is the script.

if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
eval dbus-launch --sh-syntax

With above script I wish to launch a dbus session and capture the key generated to use as part of my other r scripts..

Thank you in advance for the help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.