Install R studio

Hi,

I am trying to install R studio from:

https://www.rstudio.com/products/rstudio/download/

There was an error message…something related to MD5, I think.

I suspect it is because I did not install the Public-code signing key.

So two questions, to remove R studio:

Do I:

zypper rm rstudio

?

How can I install the Public-code signing key?

Thanks in advance.

About this part. When you did install with zypper, you can remove with zypper. But when there was an error while installing, it will not be installed at all.

You only say where you downloaded something (what?) from, but not how you installed, thus it is difficult to provide a more detailed answer.

And when you want any help with interpreting of “an error message…something related to MD5”, you better post here what you did and got. Most people here have no crystal globes.:wink:

First, verify you didn’t install R Studio (you likely didn’t).
Don’t know how far you got, I see that the download file is a tar, I haven’t opened it up to know what is in there, is it an RPM?

Then you can probably throw that away.

And install from the openSUSE repos…
Looks like the LEAP 42.3 R Studio package is an older version, the LEAP 15 package is the current version, same as if you installed the package you downloaded from the R Studio website, and the Tumbleweed version looks like it might be a future developmental version.

I’d generally recommend you upgrade to LEAP 15 anyway before installing R Studio, you’ll want your system to be supported as long as possible, and LEAP 42.3 is near end of life. You can easily upgrade your system by downloading and running a LEAP 15 DVD or do an online upgrade (don’t be afraid to post a question if you do this and have a question and can’t find another post about that questions)

Online Upgrade
https://en.opensuse.org/SDB:System_upgrade

Using DVD to upgrade
https://en.opensuse.org/SDB:Offline_upgrade

R-Studio
https://software.opensuse.org/package/rstudio

TSU

@hcvv

I downloaded the RStudio 1.1.463 - Fedora 19+/RedHat 7+/openSUSE 13.1+ (64-bit) from the website and tried installing using Yast. I got the below message:

Error: INVALID:rstudio-1.1.463-1.x86_64 (file-b61d3e23): Signature verification failed [4-Signatures public key is not available]
    Header V4 RSA/SHA1 Signature, key ID e331692f: NOKEY
    Header SHA1 digest: OK (668f490835f39351e9780e6eb58f5b2dbde2cf69)
    V4 RSA/SHA1 Signature, key ID e331692f: NOKEY
    MD5 digest: OK (c521c25da77d7950d18eb9a20ecebac6)



@ Tzu2

I just click ignore the error and went ahead to install since it looks quite updated and legitimate. But I could not run it afterwards

by79@linux-3ztp:~> zypper lr

Repository priorities are without effect. All enabled repositories share the same priority.


#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh
---+---------------------------+-----------------------------------------+---------+-----------+--------
 1 | NVIDIA                    | NVIDIA                                  | Yes     | (r ) Yes  | Yes    
 2 | google-chrome             | google-chrome                           | Yes     | (r ) Yes  | Yes    
 3 | libdvdcss                 | libdvdcss                               | Yes     | (r ) Yes  | Yes    
 4 | openSUSE-Leap-42.3-0      | openSUSE-Leap-42.3-0                    | No      | ----      | ----   
 5 | packman                   | packman                                 | Yes     | (r ) Yes  | Yes    
 6 | repo-debug                | openSUSE-Leap-42.3-Debug                | No      | ----      | ----   
 7 | repo-debug-non-oss        | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----   
 8 | repo-debug-update         | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----   
 9 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----   
10 | repo-non-oss              | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | Yes    
11 | repo-oss                  | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | Yes    
12 | repo-source               | openSUSE-Leap-42.3-Source               | No      | ----      | ----   
13 | repo-source-non-oss       | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----   
14 | repo-update               | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes    
15 | repo-update-non-oss       | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | Yes    
by79@linux-3ztp:~> 



I think it was installed…

 
by79@linux-3ztp:~>zypper se rstudio
Loadingrepository data...
Readinginstalled packages...


S | Name    | Summary | Type   
---+---------+---------+--------
i+| rstudio | RStudio | package
by79@linux-3ztp:~>

When you say “I could not run it afterwards”, that is not a clear precise way of reporting. Show (with copy/paste between CODE tags) how you started it and what it said.

BTW, om showing your repo list, you forgot to use the -d option to show the URLs of the repos. Now we have only the names and aliases that are internal to your system. While they suggest what the repos most probably are, they are NOT the pointers to the real repos.

zypper lr -d

And I guess that software for 13.1 may indeed have problems in running on 42.3.

And yes, you have installed it using zypper or YaST, thus you cam remove it with both. I do not know if it installed other packages as dependancies, but when you took note of that, you can remove them also.

When you install an RPM file not from a repository, the signing error is natural… after all, there is no way to test the integrity and authenticity if the file doesn’t come from a known, trusted source.

As Henk says, you can remove the R Studio you installed using zypper or YaST, and I’d recommend doing so instead of trying to troubleshoot what is installed… Then install from the openSUSE repos as I described in my previous post.

TSU

Hi Henk,

by79@linux-3ztp:~> zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.


#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------+--------
 1 | NVIDIA                    | NVIDIA                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://http.download.nvidia.com/opensuse/leap/42.3                                 |        
 2 | google-chrome             | google-chrome                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                |        
 3 | libdvdcss                 | libdvdcss                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.3/                                 |        
 4 | openSUSE-Leap-42.3-0      | openSUSE-Leap-42.3-0                    | No      | ----      | ----    |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-SanDisk_Ultra_Fit_4C531001560725109115-0:0-part1 |        
 5 | packman                   | packman                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                   |        
 6 | repo-debug                | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                |        
 7 | repo-debug-non-oss        | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/            |        
 8 | repo-debug-update         | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/oss/                           |        
 9 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                       |        
10 | repo-non-oss              | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                  |        
11 | repo-oss                  | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                      |        
12 | repo-source               | openSUSE-Leap-42.3-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/               |        
13 | repo-source-non-oss       | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/           |        
14 | repo-update               | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/                                 |        
15 | repo-update-non-oss       | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                             |        
by79@linux-3ztp:~> 

Hi Henk, Tsu2,

To remove,

zypper rm rstudio

Is this right? I don’t recall installing any dependencies.

Thanks again

Yes, that’ll uninstall rstudio.
Dependencies are generally left on the system because the Package Manager doesn’t go through every package installed on your system checking to see if the dependency is required elsewhere. If a new, updated version of a dependency is installed, the Package Manager will either install automatically or notify you, asking for you to decide to keep old or replace with new.

TSU

Thanks Tsu!

Hi,

I upgraded to Leap 15.0 and went to the below page:https://software.opensuse.org/package/rstudio

and click on the Leap 15.0 distribution.

I tried 1 click-install, and it redirected me to some metadata?

<metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install">  <group>
    <repositories>
      <repository recommended="true">
        <name>devel:languages:R:released</name>
        <summary>R core components, supplements (like rkward), and CRAN packages</summary>
        <description>This Project contains the complete R ecosystem. All components are built against the contained R. This will become the new devel project for R in OBS. </description>
        <url>http://download.opensuse.org/repositories/devel:/languages:/R:/released/openSUSE_Leap_15.0/</url>
      </repository>
      <repository recommended="false">
        <name>openSUSE:Leap:15.0</name>
        <summary>openSUSE Leap 15.0</summary>
        <description></description>
        <url>http://download.opensuse.org/distribution/leap/15.0/repo/oss/</url>
      </repository>
    </repositories>
    <software>
      <item>
        <name>rstudio</name>
        <summary>Integrated Development Environment for GNU R</summary>
        <description>RStudio is a set of integrated tools designed to help you be more productive
with R. It includes a console, syntax-highlighting editor that supports direct
code execution, as well as tools for plotting, history, and workspace management.</description>
      </item>
    </software>
  </group> </metapackage>

So I click on the “Download”, and install the 64-bit version (rather than source).

In Yast, I received the following:

#### YaST2 conflicts list - generated 2019-04-03 20:08:44 ####

nothing provides R-rsconnect needed by rstudio-1.1.423-lp150.1.33.x86_64


     ] do not install rstudio-1.1.423-lp150.1.33.x86_64


     ] break rstudio-1.1.423-lp150.1.33.x86_64 by ignoring some of its dependencies








#### YaST2 conflicts list END ### 

Which option should I choose?

Regarding your one-click install issue, that’s the .ymp file you’d download if you aren’t using Firefox from openSUSE, don’t use any other web browser and you would instead be able to launch the YaST Software Installer without having to read that file.

As for your missing file, you can find it on this page

https://software.opensuse.org/package/R-rsconnect?search_term=R-rsconnect

For whenever you might be missing files or dependencies, I created this Wiki page to describe steps for finding

https://en.opensuse.org/User:Tsu2/Missing_Files_Dependencies

TSU

I just tried to download R-Studio for Tumbleweed and got the same message.

lee

@by79:
@gooddog:

Despite the fact you seem to be attempting to install “RStudio” by not using the openSUSE repositories, if you were to attempt to install this application by means of an openSUSE RPM package, which openSUSE repository would you attempt to use?

AFAICS, from the openSUSE information for this package – <https://software.opensuse.org/package/rstudio> – the openSUSE repository you should be using is as follows:

Please let us know, if the RStudio packages in these repositories resolve the MD5 issue – you’ll have to import the certificates from the openSUSE repositories by refreshing the Repository settings in YaST Software …

Thanks Tsu2,

Will be trying your suggestion

Hi dcurtisfra,

Despite the fact you seem to be attempting to install “RStudio” by not using the openSUSE repositories, if you were to attempt to install this application by means of an openSUSE RPM package, which openSUSE repository would you attempt to use?

I am a novice at opensuse and linux for that matter…just spending time every now and then to get the hang of it…Sorry…I don’t know enough to answer your question…is there some material I can read up on to help answer?

At the “Additional Software Repositories”, there are two choices to subsribe to:

http:download.opensuse.org/distribution/leap/15.0/repo/oss
http://download.opensuse.org/repositories/devel:/languages:/R:/released/openSUSE_Leap_15.0/

Can I select both of them?

Thanks again

Hi dcurtisfra,

Should I be installing from a Leap 15.0 concerning your question?

You can select either or both (probably recommended by default), if available in more than one repo, your Software installer will install the most recent version.

At the time I did a test install, there were no issues.
If you’re seeing errors, you have to provide exact details about what action you did immediately before you saw an error and the error itself verbatim.

TSU

If by some dark magic your browser can’t download “1-click-installation” files but instead shows the XML-content inside them, then you can for example open YAST or use

zypper ar

and add this repo:
http://download.opensuse.org/repositories/devel:/languages:/R:/released/openSUSE_Leap_15.0/

Then when you have added the repo you can use YAST[FONT=garamond][FONT=garamond] to install rstudio[/FONT] or:

zypper in rstudio

“1-click-install” only adds repo(s) and installs package(s), so it’s the same as doing the above.

You might also want to install R-base and/or R-core and/or R-recommended-packages, like this:
[FONT=garamond][FONT=garamond]

zypper in rstudio R-base R-core [FONT=garamond][FONT=garamond][FONT=garamond][FONT=garamond][FONT=garamond][FONT=garamond][FONT=garamond][FONT=garamond][FONT=garamond][FONT=garamond]R-recommended-packages[/FONT][/FONT][/FONT][/FONT][/FONT][/FONT][/FONT][/FONT][/FONT]

[/FONT][/FONT][/FONT][/FONT]

Thanks Tsu,dcurtisfra, andromeda for help! Got a better understanding of how linux-opensuse work as well!

Fingers crossed…off to my next adventure in R-studio

From the openSUSE Download site <https://software.opensuse.org/>, simply search for the package “rstudio” and then click “Show rstudio for other distributions” to get to the Leap 42.3 and Leap 15.0 repositories.