Install of 'R' unstable on Ubuntu - r

I tried to install R on Ubuntu (14.04) with this command:
sudo apt-get install r-base
The network connection went down during the download / install so I had to end the download (ctrl-c). I retried the same command to restart and it is a mess. There are indications of all kinds of dependency problems. I researched and tried 'sudo apt-get remove r-base' (along with autoremove) and that does not allow me to try to reinstall. In fact, I have tried all kinds of ways to remove but nothing. How can I rectify this? Thank you!

Related

GNS3 sip/qt error

Have installed GNS3 on my Linux (Debian Strech) and getting below error message, please help, installed from package, OS updated. qt and sip at their newest version on my machine (installed).
Fail update installation: No module named 'sip' **
**Can't import Qt modules: Qt and/or PyQt is probably not installed correctly...
Any help/direction to solve the problem will be highly appreciated.
Thanks in-advance.
For anyone still getting this error, I found that it was due to Xenial to Bionical upgrade that left a PPA hanging around, I guess there was a dependency missing. Here is exactly what I did to fix it.
sudo rm /etc/apt/sources.list.d/gns3*
sudo apt-get update
sudo add-apt-repository ppa:gns3/ppa
sudo apt-get update
sudo apt-get -y -u dist-upgrade
Then you can start gns3.
Try to install this python module:
sudo pip install pyqt5
i found out that the problem was a source in source.list.
in my case was the firefox quantum
I resolved this by installing from source file, by following this link, replaced 1.3.9 to 2.1.2 and worked.
https://gns3.com/discussions/getting-gns4-1-4beta1-gui-runnin
I got this after upgrading Ubuntu to 20.04. Only thing that worked was backing up my GNS3 folder with my project files, uninstalling gns3-server and gns3-gui, then re-installing. Everything works now.

Issue with R packages installed with root

For some reason, I could not install the rJava package without root privilege (using sudo R and then install.packages('rJava')). It should have solved my problem, however I can only use this package when launching R with sudo R. If I launch it without sudo, R will act as if this package is not installed.
I tried looking at /usr/local/lib/R/site-library, every package belongs to my user and group "staff" except this one, that belongs to root and staff. The rights for every package are rwxrwxr-x and I am in group staff, so I should have all the permissions I need. In addition, I tried changing the owner of the rJava folder to my user and it didn't change anything. Do anybody have any idea why rJava is not recognized if I start R without sudo?
Thanks!
I also had issues installing rJava so I'll outline the steps I took to fix it even though it may be specific to my system. There's at least a chance it will work for you too.
Remove rJava and openjdk:
sudo apt-get purge r-cran-rjava
sudo apt-get purge openjdk-7-jre
Install oracle java:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Reinstall rJava
sudo apt-get install r-cran-rjava
After that everything was hunky-dory. glmulti installed fine as well.
Try unsetting the JAVA_HOME environmental variable before starting R:
unset JAVA_HOME

tcl/expect install on UNIX (ClearOS)

I am trying to install expect package on my ClearOS server.
I tried:
yum install tcl
yum install expect
Both return "ERROR: xz compression not available"
The repositories I have enabled are:
clearos
clearos-addons
clearos-extras
clearos-updates
clearos-updates
epel
epel
rpmforge
webtatic
Can anybody tell me what is wrong? My knowledge of servers is also pretty limited.
Alright, I've fixed the problem. The error was caused by the foreign repositories that I have added hoping they will contain tcl and expect packages.
So I removed them and the yum is working again.
rm -rf /etc/yum.repos.d/epel*
rm -rf /etc/yum.repos.d/rpmforge*
rm -rf /etc/yum.repos.d/webtatic*
Nevertheless this got rid of the issue with yum, I still cannot find the expect package. If anyone knows how to install this, please let me know...

Getting 'command not found' when running apt-get in unix

I am trying to instal daemon on Unix via the apt-get command. When I run the command
apt-get install daemon
I get
apt-get: command not found
Does anyone have nay ideas about how to fix this.
apt-get is not on OS X by default. However, you can tweak it a little bit by using Fink so that you get the Debian packages.

error installing qt-sdk on linux

i have ubuntu-10.10 desktop version i installed following packages using apt-get install
libglib2.0-dev
libSM-dev
libxrender-dev
libfontconfig1-dev
libxext-dev
libgl1-mesa-dev
libglu-meas-dev
i downloaded qt-sdk-linux-x86-opensource-2010.05.1.bin
changed permission of bin file
chmod u+x qt-sdk-linux-x86-opensource-2010.05.1.bin
./qt-sdk-linux-x86-opensource-2010.05.1.bin
it gives me an error like not able to create symbolic link to libQtCore-4.7.0 and installation aborts.
can any one suggest me what is going wrong and how can i over come this issue
You can just install qt-sdk package from Ubuntu repositories, if you must install by hand, try running it with sudo;
sudo ./qt-sdk-linux-x86-opensource-2010.05.1.bin

Resources