Is anyone else getting the error: interp1 undefined near line... when using the Octave GUI (Octave version 4.0.0) on Windows 10? I was just at another computer using Debian and it worked fine.
Update: just checked it again by SSH'ing into that Debian server and it recognized interp1. Not sure why the difference on Windows version of Octave GUI.
Related
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.
I am trying to open a VTK render on a local machine through ssh. I am using pyvista to make the render, which is being run from a python script on a remote machine.
Local machine (where I want to see the render): MacOS Catalina 10.15
Remote machine: Ubuntu 18.04
To run the script I first ssh into the remote machine and then run, i.e.
ssh -Y <username>#remotehost.com
python script.py
However when I run this I get the following error:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
ERROR:root:GL version 2.1 with the gpu_shader4 extension is not supported by your
graphics driver but is required for the new OpenGL rendering backend. Please update
your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5
or later and make sure your driver in Mesa supports OpenGL 3.2.
[1] 21692 segmentation fault (core dumped) python script.py
Based on several posts online I have tried the following setting:
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
On MacOS I have installed mesa==20.0.2 and mesalib-glw==8.0.0
The issue appears to be that MacOS is using OpenGL==2.1, but should instead be using version 3.2+. This is confirmed with I run:
$ glxinfo|grep OpenGL
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon Pro 560X OpenGL Engine
OpenGL version string: 2.1 ATI-3.8.24
OpenGL shading language version string: 1.20
OpenGL extensions:
How can I get MacOS to run the VTK window over ssh? I The script runs fine if I run it locally. Also, it runs fine if I run it on the remote only. It's only when I try to run it remotely and view in locally I have this issue. Is it a matter of either changing the default OpenGL version or upgrading somehow?
I solved this using VirtualGL.
VirtualGL server works for Ubuntu 18.04 and VirtualGL client for MacOS Catalina (10.15.4).
I started ROR development on windows using Ubuntu bash. For now it was going well but when i tried to debug ruby on window using Rubymine it said no ruby SDK specified. How can i access the ruby sdk from ubuntu bash?
In resume: maybe Rubymine is a windows-program which is not aware of the ruby (ROR) environment installed inside the windows10-WSL.
In more detail: before windows10 (with winxp, win7, etc) ubuntu and linux programs could not be installed inside windows. So in those cases, if you needed to use a linux program, you could download virtualbox, create a separate VirtualMAchine, install there your Ubuntu and then inside install the ubuntu programs (Ruby, ROR, etc)
With windows10, there is a new feature called WSL - Windows Subsystem for Linux, which allows a ubuntu system to be installed inside window. It uses some hidden virtualization/conversion to make it transparent for the user, and so any ubunut command can be run from the windows-console, without VirtualBox nor VirtualMachine - its looks as if windows could execute linux programs natively (but its just an ilusion though)
It looks like you installed ROR in the WSL-Ubuntu. And then installed RubyMine on windows. And then Rubymine tried to find the ROR-things in the windows directories but it did not found any. I guess its because Rubymine is not prepared to search within the WSL-Ubuntu for the ROR-things and so fails.
My second guess, is that the easiest solution could be to avoid using WSL-Ubuntu (as other programs wont be ready for it - currently it looks more of an experiment, not a real stable standard). And instead, try to do it all inside a Virtual-Box VirtualMachine, where you install ubuntu, all the programs you want (and they will run fine there), and avoid the WSL-mix. Even if this way requires a bit more work in the start - to prepare the VirtualBox and VM with ubuntu (youtube has many tutorials for this) - it will definitely save you time/headaches in the long-run when you need to install additional library/program/gem for your ROR environment
I have recently started using VirtualBox to get my Linux environment rather than fully using Ubuntu. For me this works well. But recently i have realized that in the Ubuntu vm the only thing I use a lot is the terminal, mostly just because I need the Linux environment and not the full desktop.
So I tried installing Ubuntu server into a VM, which worked. But as soon as I reboot the machine, it fails after the system boot logo. After BIOS and where I would log on from the command line I simply get a black screen with a non blinking cursor. So I am never fully able to boot into the vbox.
I read up on the command line version, trying to run it headless and then connecting to it from demote desktop. after starting the vbox I am able to connect to the desktop and see the grub screen but after selecting Ubuntu I get that same non-blinking cursor.
So is this really possible? I tried cygwin but it never really felt adequate to me. I like and am very comfortable with the Ubuntu/Debian command line. How could I (if possible) accomplish this? I want to be bale to start up the VBox and get the full command line for that vbox session. Any ideas?
Ubuntu version: 10.10, VirtualBox v. 4.0.4 r70112 and I am on Windows 7 Ultimate.
You didn't mention the versions of Ubuntu and Virtualbox.
I failed twice to install full Ubuntu 10.10 over the latest VirtualBox 4.0.4 over Ubuntu (problems like those you describe), so I switched to Debian 6.0.
All you require to install Ubuntu headless is to install the server version, which you already did. If you get blank screens, tweak the ioapic settings in both VB and Ubuntu. Another tweak is to switch between IDE and SATA drivers for the main disk (the Grub in my non-virtualized Ubuntu hangs if there's USB media attached at boot time).
If you can run full Ubuntu on a VM, you can try downgrading it by removing the xserver-xorg package, or changing the default runlevel.
If all you want is a Linux consule, you can install Debian 6 without any GUI components.
I need System.Numerics in F#
EDIT I think the question is can fsi run with the 4.0 runtime and if so how do I configure it
I run "mono /bin/Fsi" in the Fsharp 4.0 dir I get the following error in both OSX 10.6.4 and Ubuntu 10.1.
I am sure I am missing a path or something
Please note the paths are different on the MAC but I got the same error
error FS0078: Unable to find the file 'System.Numerics.dll' in any of
/opt/mono-2.8/lib/mono/2.0
/home/gary/Downloads/FSharp-2.0.0.0/v4.0/bin
/home/gary/Downloads/FSharp-2.0.0.0/v4.0/bin/
On my MAcbook I copied the mono 4.0 bin dir to one of the above paths and Fsi loads but then it stops with this error.
Error FS0192: internal error: unreachable: GetGlobals
I have not tried this with the Ubuntu laptop
Any help would be appreciated.
G
Use cd /usr/lib/fsharp
then mono fsi.exe
your question brought me to search for fsi (before I could not find it)
Have you tried running sudo install_mono.sh from the F# directory? Also, I think you mean F# 2.0, right?
Make sure that your Mono is installed properly. I don't have my mac at work, so I use my Ubuntu desktop as example.
System.Numerics.dll belongs to Mono not F#. In my installation (Mono 2.8.1 and Ubuntu 10.10), that file is under the following directory
/usr/local/lib/mono/4.0/System.Numerics.dll