Installing R

Previously, I had R installed, somehow zypper uninstalled it and now I can’t get it back on my system.
>:)
I tried the command:
zypper -p http://cran.case.edu
zypper in R-patched
These should work, though the package does not get installed???

This is probably the closest mirror to me with a link to the package. I noticed it re-routes back
to an OpenSUSE site. The second time I type a command like:
zypper -p http://cran.case.edu
it removes the link???
The source code is available, though building from source is a problem. It would be better if
zypper just worked correctly.

cnf R or cnf R-patched doesn’t seem to configure R.

thanks in advance if anyone knows the solution.

Are you sure that is the right URL there usually is an openSUSE in there somewhere

I haven’t tried them, but there were more detailed instructions here:

http://cran.case.edu/bin/linux/suse/#orgheadline9

When you use the zypper flag “-p” to add a repo temporarily for that action, you have to point to a repo, but your commands aren’t… They’re pointing to HTML pages.

The detailed install steps described by steuer look mostly OK, but there is a typo in his repo path, it’s missing a full colon after “devel”
http://cran.case.edu/bin/linux/suse/

Modifying his command to add the R repo for your openSUSE version, you should either** paste the entire following** into a root console or text file, make it executable and execute it

**The following autodetects your version of openSUSE, adds the R-patched language repo to your system and installs the R language into your system. **If you don’t want to do everything in one step, you can execute each line individually, removing the "&& " at the end of the line

VERSION=$(grep VERSION /etc/SuSE-release | sed -e 's/VERSION = //') && \
zypper ar -f http://download.opensuse.org/repositories/devel:/languages:/R:/patched/openSUSE_$VERSION/ R-patched && \
zypper --gpg-auto-import-keys ref && \
zypper in R-patched R-patched-devel

Enjoy,
TSU

So, I decided to do each shell command individually.
To simplify it, I didn’t install R-patched-devel, just
R-patched.
I executed the command: zypper lr
This shows that R-patched is in my repository list,
with Yes, Yes at end of that command output for
R-patched.

When I use the command: zypper in R-patched
the following:
Loading repository data…
Reading installed packages…
‘R-patched’ not found in package names. Trying capabilities.
No provider of ‘R-patched’ found.
Resolving package dependencies…

Nothing to do.

Keep in mind that I had R installed on my system previously. I installed
it myself (it worked). I executed a zypper command for something else and
R was deleted. The first thing I tried to do was set super user and
install with one-click install from http://cran.case.edu. At any rate,
now the simple command: zypper in R-patched doesn’t seem to
work. Thanks for all the help and advice! Something seems wrong
with the zypper command, I don’t suspect there is anything wrong
with the R code base, so I hate to contact that developer about
an installation issue.

R-patched is the repository, there is no package named R-patched, try installing these

zypper in R-base R-core R-graphics

or search for R packages in the R-patched repo, install the ones you want/need

zypper pa -ir <R-patched repo_name_or_number>

it’s still a good idea for you to tell your repo list.

After seeing the content of that repo I think the proper way to install R is by installing the package R-recommended-packages

zypper in R-recommended-packages