Rstudio not working on my Ubuntu 16 virtual machine - rstudio

When I try to run Rstudio Desktop (1.4) on my virtual machine (Ubuntu 16.4), Rstudio crashes and gives the error:
ERROR:gl_surface_glx_gt.cpp(141) GLX 1.3 or later is required.
I tried to follow the instructions on this page: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround, but can not get past the meson -D configuration in the Ubuntu terminal. At this point I get the error message: 'ERROR: Problem encountered: gallium-xlib conflicts with any dri driver'
I googled and tried everything that I could possibly find (similar questions as https://community.rstudio.com/t/x2go-and-rstudio/29704/2), but no success yet.
Obviously the upgrade to a higher GLX version is the cause, but I can not upgrade it.
Is anyone familiar with the error and what is actually causing it?
Any help would be greatly appreciated!
I am using R version 3.4.4

Related

Can win11 install Ros2?

I want to learn Ros2, I have tried to install ubuntu and win 10 but both failed to recognize my RTX 3050. I tried running a virtual machine and it didn't get any better. I don't know if I can install Ros2 on Win 11. Please help me
I just successfully installed ros 2 (galactic) on windows 11 (in so far as I am able to run the demo_nodes_cpp talker and listener).
I initially tried following instructions on the official page and ran into a number of unclear issues (command not found, python version issues etc.) that felt like it was going to be a waste of time, until I went through that alternative:
https://ms-iot.github.io/ROSOnWindows/GettingStarted/SetupRos2.html
It was surprisingly painless.

Error: Storage::readChar(): invalid position using Sumo, veins example and omnet++

I've been using Veins (v5.1) along with SUMO (v1.8) and OMNeT++ (v5.6.2) in Linux Ubuntu 20.04 and 18.04. When I try to run the example provided by veins I keep getting the same error both in Ubuntu 20.04 and 18.04.
According to the information in OMNeT, the error code is 133 or 137 and there isn't much information about the error in the above lines.
Sumo seems to be running correctly, listening on port 9999, and sumo-gui is actually launching. However, a few seconds later it terminates with the following error log
"Error: Storage::readChar(): invalid position". There's also an error code in the terminal.
In the past I faced this problem in Ubuntu 14.04 due to incompatibility issues between the versions I was using. This time I'm using the recommended versions from veins webpage.
Has anyone faced this problem before? Could this be an incompatibility issue with the operating system and if so, does anyone know what the compatible versions are for Ubuntu 18.04 or 20.04? I haven't used Linux before so I'm not sure if there's something else I'm missing.
I've included a screenshot with the errors I'm getting in case that helps.
Thanks!
I faced the same issue when using ubuntu 20.04, Omnet++ 5.6.2 and SUMO 1.9.0, and I managed to solve it by downgrading sumo to an older version.
First remove the current sumo:
$sudo apt-get remove sumo
Then install the old version:
$sudo apt-get install sumo=1.4.0+dfsg1-1
I don't know if that is actually an answer to the problem or why this works. I've tried it both in my laptop (Ubuntu 18.04) and in two different virtual machines (Ubuntu 18.04 and Ubuntu 20.04) and this seems to fix the problem.
Veins should be saved in a folder called src and then imported to OMNeT++ to avoid the error. The path to Veins should be similar to the following.
/home/<me>/<folder>/src/veins-5.1

I am working on GAM models and I am having an error with rgl to work in RStudio, I have downloaded X11 on my Machine

My system environment:
Mac OS: Mac Mojave (10.14.6)
X11 (XQuartz 2.7.11)
R (3.6.3)
What should I do to get rgl package to work with mgcViz work on my machine. On xterm if I type install.packages("rgl") I get an error syntax error near unexpected token 'rgl'. I am having trouble getting the steps to work. Spent hours together and I am out of luck.
Please help.
I was able to update to the latest version of R which was compatible to rgl which required R 4.0.0 or higher. I did install rgl with dependecies. I was able to get the desired output.

Launch Error "Provider com.sun.xml.... not found" in Eclipse PTP

It's too hard to debug a MPI program using GDB. I've tried to buy parallel debugger but failed .
I found Eclipse has a parallel debug plugin(Eclipse PTP or Eclipse science),but I can't use it!
I'm using:
ubuntu 18.04
openJDK 11.0.2
eclipse-parallel 2019-03-R
When I setting run>run configurations:
1.Target System Configuration:Generic OpenMPI Interactive
2.Connection Type:Local
error occur
Launch Error:
Provider com.sun.xml.internal.bind.v2.ContextFactory not found
Reason:com.sun.xml.internal.bind.v2.ContextFactory cannot be found
by org.eclipse.ptp.rm.jaxb.core_1.2.0.201811201954
I've tried to download different version of eclipse:
eclipse before 2017:I can't open it ,there is something wrong with openJDK 11
eclipse-parallel-photon-R: When i click "local" in configuration,nothing happened...
I also had same problem. If you still suffer / somebody has the same problem, it seems it is fixed in the latest version 201906. You can download using installer from:
https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2019-06/M2/eclipse-inst-linux64.tar.gz

Trying to Run middleman on mac

Answering my own question for anyone else having this issue. (using the search terms i thought of because they didn't bring up the answers for me).
Trying to install and run middleman following the getting started guide on their website with Mac OS X 10.9.2. When trying to run bundle install getting errors about openSSL and event machine.
Gist of Errors.
Refrence to an answer that someone on IRC helped me find.
Aparently this is caused by a mismatch in expected versions with something called Clang which is part of the Xcode tools for mac. The update to Xcode tools causes this to fail. Using the command:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future bundle install
seems to work to resolve this issue.

Resources