Unable to see rstudio GUI after installation
I have installed the Arduino IDE following instructions from http://
Everything worked smoothly - only when I double-click the Arduino executable, it asks me for a directory in which to save programs and then nothing happens - the IDE does not open at all...
Any help appreciated...
Ravi
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu r-base Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
There is crucial information missing in the problem description.
1) What is the exact model and make of Arduino that you are using?
2) What is the exact version of Ubuntu that you are using?
3) What is the output of this Terminal command?
cat /etc/lsb-release; uname -a
Revision history for this message
|
#2 |
Thank you for the prompt response! Here are the answers to your questions -
some comments below that...
1) What is the exact model and make of Arduino that you are using?
Arduino Uno, 1.0.6
2) What is the exact version of Ubuntu that you are using?
Ubuntu 14.04.1 LTS, 64 bit
3) What is the output of this Terminal command?
cat /etc/lsb-release; uname -a
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Linux Perseus 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
-------
My comments:
1) I used the instructions from http://
install the Arduino IDE. They are for an older version of Ubuntu (10.10).
But those instructions use the Synaptics Package Manager, which seemed to
me to be easier to install jre, gcc-avr...
2) Actually, the installation went smoothly, only I cannot see the IDE - I
realized that this is a problem I seem to have with GUIs - I installed
RStudio (which is a GUI for the statistical software called R) - there too,
I had the same problem - the installation went smoothly, but the GUI
refuses to display...
3) Is this a problem with my having installed 32-bit versions (by mistake!)
of the siftware?
Thanks!
Ravi
On Sun, Dec 14, 2014 at 1:51 AM, Mark Rijckenberg <
<email address hidden>> wrote:
>
> Your question #259030 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> There is crucial information missing in the problem description.
>
> 1) What is the exact model and make of Arduino that you are using?
>
> 2) What is the exact version of Ubuntu that you are using?
>
> 3) What is the output of this Terminal command?
>
> cat /etc/lsb-release; uname -a
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#3 |
Thank you for the prompt response! Here are the answers to your questions -
some comments below that...
1) What is the exact model and make of Arduino that you are using?
Arduino Uno, 1.0.6
2) What is the exact version of Ubuntu that you are using?
Ubuntu 14.04.1 LTS, 64 bit
3) What is the output of this Terminal command?
cat /etc/lsb-release; uname -a
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Linux Perseus 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
-------
My comments:
1) I used the instructions from http://
install the Arduino IDE. They are for an older version of Ubuntu (10.10).
But those instructions use the Synaptics Package Manager, which seemed to
me to be easier to install jre, gcc-avr...
2) Actually, the installation went smoothly, only I cannot see the IDE - I
realized that this is a problem I seem to have with GUIs - I installed
RStudio (which is a GUI for the statistical software called R) - there too,
I had the same problem - the installation went smoothly, but the GUI
refuses to display...
3) Is this a problem with my having installed 32-bit versions (by mistake!)
of the software?
Thanks!
Ravi
On Sun, Dec 14, 2014 at 1:51 AM, Mark Rijckenberg <
<email address hidden>> wrote:
>
> Your question #259030 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> There is crucial information missing in the problem description.
>
> 1) What is the exact model and make of Arduino that you are using?
>
> 2) What is the exact version of Ubuntu that you are using?
>
> 3) What is the output of this Terminal command?
>
> cat /etc/lsb-release; uname -a
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#4 |
First try installing the newest version of R and RStudio using the following procedure:
Then retry launching both R and RStudio.
If you still cannot launch the RStudio GUI after upgrading R and RStudio, please send us the full output of these Terminal commands:
cd $HOME
/usr/lib/
cat rstudio-
cat ~/.rstudio-
echo
cat ~/.rstudio-
rstudio --run-diagnostics
Revision history for this message
|
#5 |
Please also send us the output of this command:
cat ~/.rstudio-
There was a mistake in one of the previous commands.
Revision history for this message
|
#6 |
Is there not a PPA you can use:
https:/
Make sure you filter for Trusty to see if one can be used there.....
Revision history for this message
|
#7 |
@actionparsnip & ravi: I suggest focusing on the rstudio GUI issue in this thread.
@ravi: could you please copy the arduino problem description into a separate thread, which you can create at the following location?
https:/
I would like to keep rstudio and arduino in separate threads, to avoid confusion....
Revision history for this message
|
#8 |
The Arduino problem is fixed :)
I just installed Arduino from the Ubuntu Software Center and it worked
fine...
I only had a problem with seeing the board - I could only see the serial
port if I logged if I logged in as root - but I found a solution to that at
http://
What I had to do was: sudo usermod -aG dialout <myuser>
And now the Arduino IDE launches without any problem and I am able to run
sketches...
Thanks - I can now concentrate on the RStudio problem... Thanks!
Ravi
On Sun, Dec 14, 2014 at 4:36 PM, Mark Rijckenberg <
<email address hidden>> wrote:
>
> Your question #259030 on r-base in Ubuntu changed:
> https:/
>
> Mark Rijckenberg posted a new comment:
> @actionparsnip & ravi: I suggest focusing on the rstudio GUI issue in
> this thread.
>
> @ravi: could you please copy the arduino problem description into a
> separate thread, which you can create at the following location?
>
> https:/
>
>
> I would like to keep rstudio and arduino in separate threads, to avoid
> confusion....
>
> --
> You received this question notification because you asked the question.
>
Revision history for this message
|
#9 |
Waiting for Terminal output of commands from post #4 and #5.
Revision history for this message
|
#10 |
Ok, I ran the script at mark911.
After running it, R works fine form the command line, but RStudio still does not launch...
Here are the outputs of the commands I was asked to run:
-------
/usr/lib/
cat rstudio-
RStudio Version: 0.98.1091
> print(sessionIn
R version 3.1.2 (2014-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_IN LC_NUMERIC=C LC_TIME=en_IN
[4] LC_COLLATE=en_IN LC_MONETARY=en_IN LC_MESSAGES=en_IN
[7] LC_PAPER=en_IN LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=
attached base packages:
[1] stats graphics grDevices utils datasets methods base
>
>
/usr/bin/R
Linux Perseus 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ravi@Perseus:~$ cat ~/.rstudio-
cat: /home/ravi/
ravi@Perseus:~$ echo
ravi@Perseus:~$ cat ~/.rstudio-
cat: /home/ravi/
ravi@Perseus:~$ rstudio --run-diagnostics
rstudio: error while loading shared libraries: libuuid.so.1: cannot open shared object file: No such file or directory
-------
ravi@Perseus:~$ whereis rstudio
rstudio: /usr/bin/rstudio /usr/lib/rstudio /usr/bin/
Hope that helps...
Ravi
Revision history for this message
|
#11 |
Your Terminal output shows this error message:
ravi@Perseus:~$ rstudio --run-diagnostics
rstudio: error while loading shared libraries: libuuid.so.1: cannot open shared object file: No such file or directory
So run these Terminal commands:
sudo apt-get update
sudo apt-get install libuuid1
Then send us the output of this command:
rstudio --run-diagnostics
Revision history for this message
|
#12 |
Also run these commands:
sudo apt-get install libjpeg62
sudo apt-get install -f
Revision history for this message
|
#13 |
No, the problem is not solved:
...
...
The following packages will be upgraded:
libuuid1
1 upgraded, 0 newly installed, 0 to remove and 282 not upgraded.
Need to get 10.9 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Get:1 http://
amd64 2.20.1-
Fetched 10.9 kB in 0s (15.0 kB/s)
(Reading database ... 200552 files and directories currently installed.)
Preparing to unpack .../libuuid1_
Unpacking libuuid1:amd64 (2.20.1-
...
Setting up libuuid1:amd64 (2.20.1-
Processing triggers for libc-bin (2.19-0ubuntu6) ...
ravi@Perseus:~$ rstudio --run-diagnostics
rstudio: error while loading shared libraries: libuuid.so.1: cannot open
shared object file: No such file or directory
ravi@Perseus:~$
ravi@Perseus:~$
ravi@Perseus:~$ rstudio
rstudio: error while loading shared libraries: libuuid.so.1: cannot open
shared object file: No such file or directory
On Sun, Dec 14, 2014 at 7:56 PM, Mark Rijckenberg <
<email address hidden>> wrote:
>
> Your question #259030 on r-base in Ubuntu changed:
> https:/
>
> Mark Rijckenberg proposed the following answer:
> Also run these commands:
>
> sudo apt-get install libjpeg62
>
> sudo apt-get install -f
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#14 |
Waiting for output from post #12....
Revision history for this message
|
#15 |
What is the output of these Terminal commands?
ls -lart /lib/i386-
ls -lart /lib/x86_
sudo apt-get install libjpeg62
sudo apt-get install -f
Revision history for this message
|
#16 |
And this one as well:
locate libuuid.so.1
Revision history for this message
|
#17 |
Answer to Q no. 12:
ravi@Perseus:~$ sudo apt-get install libjpeg62
[sudo] password for ravi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libjpeg62 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 282 not upgraded.
ravi@Perseus:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 282 not upgraded.
On Sun, Dec 14, 2014 at 9:36 PM, Mark Rijckenberg <
<email address hidden>> wrote:
>
> Your question #259030 on r-base in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> Waiting for output from post #12....
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#18 |
Here's the info about libuuid.so.1
ravi@Perseus:~$ ls -lart /lib/i386-
ls: cannot access /lib/i386-
directory
ravi@Perseus:~$ ls -lart /lib/x86_
lrwxrwxrwx 1 root root 16 Nov 7 00:49 /lib/x86_
-> libuuid.so.1.3.0
ravi@Perseus:~$ locate libuuid.so.1
/lib/x86_
/lib/x86_
On Sun, Dec 14, 2014 at 9:42 PM, Ravi Kulkarni <email address hidden> wrote:
>
> Answer to Q no. 12:
>
> ravi@Perseus:~$ sudo apt-get install libjpeg62
> [sudo] password for ravi:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libjpeg62 is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 282 not upgraded.
>
> ravi@Perseus:~$ sudo apt-get install -f
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 282 not upgraded.
>
>
> On Sun, Dec 14, 2014 at 9:36 PM, Mark Rijckenberg <
> <email address hidden>> wrote:
>>
>> Your question #259030 on r-base in Ubuntu changed:
>> https:/
>>
>> Status: Open => Needs information
>>
>> Mark Rijckenberg requested more information:
>> Waiting for output from post #12....
>>
>> --
>> To answer this request for more information, you can either reply to
>> this email or enter your reply at the following page:
>> https:/
>>
>> You received this question notification because you asked the question.
>>
>
Revision history for this message
|
#19 |
And this one too:
file /usr/lib/
Revision history for this message
|
#20 |
What is the output of
ldd `which rstudio`
Revision history for this message
|
#21 |
ravi@Perseus:~$ file /usr/lib/
/usr/lib/
version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux
2.6.15, BuildID[
On Sun, Dec 14, 2014 at 9:46 PM, Mark Rijckenberg <
<email address hidden>> wrote:
>
> Your question #259030 on r-base in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> And this one too:
>
> file /usr/lib/
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#22 |
ravi@Perseus:~$ ldd `which rstudio`
linux-gate.so.1 => (0xf77ad000)
libQtWebKit
libQtXmlPat
libQtGui.so.4 => not found
libQtDBus.so.4 => not found
libQtXml.so.4 => not found
libQtNetwor
libQtCore.so.4 => not found
libpthread.so.0 => /lib/i386-
libutil.so.1 => /lib/i386-
libuuid.so.1 => not found
librt.so.1 => /lib/i386-
libz.so.1 => not found
libstdc++.so.6 => not found
libm.so.6 => /lib/i386-
libgcc_s.so.1 => /lib/i386-
libc.so.6 => /lib/i386-
/lib/
On Sun, Dec 14, 2014 at 9:51 PM, Manfred Hampl <
<email address hidden>> wrote:
>
> Your question #259030 on r-base in Ubuntu changed:
> https:/
>
> Manfred Hampl requested more information:
> What is the output of
>
> ldd `which rstudio`
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#23 |
That's strange.
If you had correctly followed my procedure here:
you should have installed the 64-bit version of rstudio, but you have installed the 32bit version instead, even though you are running the 64-bit version of Ubuntu.
So you should uninstall rstudio and then install the 64-bit version using these commands:
sudo apt-get purge rstudio
sudo DEBIAN_
wget http://
wget `cat index.html|grep -v tar|grep amd64\.deb|cut -d"\"" -f2`
sudo dpkg -i rstudio*.deb
sudo DEBIAN_
Revision history for this message
|
#24 |
Yes, that fixed it :)
RStudio now runs fine...
But I did run the script at mark911.
Thank you, everybody for your time and patience!!
Ravi
:)
Revision history for this message
|
#25 |
Ravi: One last thing.... What is the output of this command?
uname -m
It should say
x86_64
If not, you still have an issue (I think)
Revision history for this message
|
#26 |
The script at mark911.
So it should have worked....
Revision history for this message
|
#27 |
Mark,
ravi@Perseus:~$ uname -m
x86_64
So, all is ok?
Ravi
On Sun, Dec 14, 2014 at 10:16 PM, Mark Rijckenberg <
<email address hidden>> wrote:
>
> Your question #259030 on r-base in Ubuntu changed:
> https:/
>
> Mark Rijckenberg posted a new comment:
> The script at mark911.
> use Ubuntu 14.04 LTS 64-bit edition (just like you).
>
> So it should have worked....
>
> --
> You received this question notification because you asked the question.
>
Revision history for this message
|
#28 |
The script on mark911 contains instructions for 32bit and 64bit.
I assume, Ravi has overlooked that and used the 32bit part.
Just follow the lines for 64bit and try again.
Revision history for this message
|
#29 |
Manfred,
The problem got fixed - Mark fixed it for me in Post 23...
Thanks for the help!
Ravi
:)
On Sun, Dec 14, 2014 at 10:31 PM, Manfred Hampl <
<email address hidden>> wrote:
>
> Your question #259030 on r-base in Ubuntu changed:
> https:/
>
> Manfred Hampl posted a new comment:
> The script on mark911 contains instructions for 32bit and 64bit.
> I assume, Ravi has overlooked that and used the 32bit part.
>
> Just follow the lines for 64bit and try again.
>
> --
> You received this question notification because you asked the question.
>
Revision history for this message
|
#30 |
Ravi: it just means that my script was not executed properly. If you run the script CAREFULLY line by line, you will not get these types of problems. I wrote the script and tested it several times in the past. It never installs the 32-bit version. So I assume that you ran it, it gave errors, you ignored those errors and the script did not install anything at all, leaving you with your original 32-bit install of rstudio.....
Revision history for this message
|
#31 |
It only installs the 32-bit version if uname -m is not equal to x86_64
Revision history for this message
|
#32 |
The lesson is to be more careful in the future and immediately send us any error messages that occur when running those types of scripts....
Revision history for this message
|
#33 |
Mark,
Well, I guess all's well that ends well, but I did not notice any errors
when I ran your script... But I did not run it line by line, so possibly I
missed the errors...
Also, as I showed in a post, uname -m is indeed x86_64...
Anyway, thanks for your patience and ready help!
I have another query about a warning when I run RStudio, but that will
have to wait till this evening when I get home...
Ravi
On Sun, Dec 14, 2014 at 10:46 PM, Mark Rijckenberg <
<email address hidden>> wrote:
>
> Your question #259030 on r-base in Ubuntu changed:
> https:/
>
> Mark Rijckenberg posted a new comment:
> It only installs the 32-bit version if uname -m is not equal to x86_64
>
> --
> You received this question notification because you asked the question.
>