Citrix Workspace app 2207 for Linux breaks R in Xubuntu 22.04 - r

I recently installed the citrix workspace 6/7/22 release from here:
https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html
Citrix works great, able to access both remote desktops I use for work. But R stopped working. Typing R in the terminal did not launch R, just a new blank command prompt, RStudio did not load.
Upon uninstalling citrix with: apt remove icaclient apt purge icaclient
R and RStudio work again. Replicated on two machines running Xubuntu 22.04 (Dell precision T5610 and Thinkpad X260).
Would appreciate advice on how to get citrix working without breaking R

It seems the Citrix "app protection component" is to blame. Disabling it during installation allows R to work. Select "no" when asked to install app protection component during Citrix installation.
choose this option

Related

Unable to open Anaconda command prompt or any notebooks

Anaconda is not responding for any environment whenever I try to open a command prompt or any other application such as jupyter-notebook. I have installed Anaconda's latest available version for Windows 10. This is the 3rd time I have reinstalled the software thinking that the outcome might change but to no avail. I am able to open the command prompt from the Environments option but still, this option does not work for the jupyter-notebook. However, I am able to open the jupyter-notebook from the command prompt but the kernel dies every other minute. Please guide and help me if you can.

Launch rstudio-server from terminal linux

I'm an Ubuntu user and I used to work with the standard version of Rstudio on my computer. After reading about the server version I installed it on my PC and I'm working with it now. Although I'm very happy with rstudio-server version, I have been facing some difficulties to keep with some old practices. Particularly, I use to launch, open and create new files from the terminal using rstudio keyword - I'm specially fond to the possibility of open files in current rstudio session through the terminal window within rstudio. However, I cannot figure out which command is equivalent in rstudio-server.
I tried, without success, the following commands:
rstudio-server
and
r-server
Interestingly, when I type which rstudio (to find the path of the program's binary files), the terminal did not return any results. The program is installed and working normally, but I just can't find it on my PC
Any help will be appreciated

Error while opening Rstudio throught Terminal

I am working with Unix and from now on I need to use the University server to run some packages in R.
1.I assessed the server by ssh
2.I downloaded miniconda
3.source ~/.bashrc
4.Downloaded Rstudio
5. conda install -c r rstudio
And when I am trying to open Rstudio I am receiving the following error
'QXcbConnection: Could not connect to display'
Any help will be super useful.
Depending you your platform and your university's security policy this may or may not work
https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely
In short you need to explicitly enable X11 forwarding (though I was under the impression that it is on by default). Also you need to run an X11 server, there are a few on windows and MacOS. If the above does not help, it is most likely due to a security policy and you may want to speak to your university's SysAdmin

How set R start directory on Ubuntu cloud instance

I've been running R for several years on Windows. I am now beginning to work with R on Ubuntu running on the cloud.
How do I set the R start-up directory on Ubuntu? This is the directory where the .RProfile file resides.
In Windows I edit the desktop icon where there is a field called 'Start in:'. There is no desktop on my Ubuntu cloud instance, so I'm flat out stumped as to how to accomplish this simple step.
As I am a Linux and Ubuntu beginner, please make your answer as newbie-friendly as possible. Thanks.

R package moved from windows 64- bit to 32-bit no longer works

I am working on creating a portable shiny app by referring to this.
I have a 64bit system and the target systems can be both 64bit and 32bit. I installed all packages in the portable apps library. Since the target machines don't have any internet connection.
On the target machine all packages load perfectly, except for prophet which gives error
So I see that it runs the r.exe in bin folder for whatever reason
So I run it directly which gives me this error
I know the system is 32bit. As a test case I ran the shiny app by calling on the 32bit R.exe without prophet package - and it worked perfectly.
So my question is
How do I load Prophet?
My speculation is that it tries to run the 64bit R.exe and fails, if so why are all the other packages load perfectly?
If this is the issue then how do I point it to the 32 bit R.exe?

Resources