On Mon, Oct 30, 2017 at 10:56 AM Tony Schreiner <anthony.schreiner at bc.edu> wrote:> On Mon, Oct 30, 2017 at 10:27 AM, Larry Martell <larry.martell at gmail.com> > wrote: > > > I have a R script that I am running from python with rpy2. On a debian > > system I run this: > > > > apt-get install R-cran-ggplot2 R-cran-caret > > > > And the script works. I want to move this to CentOS 7 system. There it > > cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what > > packages in CentOS 7 I need for dplyr, doBy, and ggplot2? > > > > > They are not in the CentOS or epel distros. I have built both dplyr and > ggplot2 for CentOS 6 and 7, using the spec file crated by R2spec (from > epell) and rpmbuild. They both require building several other R packages, > and a bit of tweaking to the %files portion of the spec file, but are > doable. I've never tried doBy or caret. > Feel free to contact me directly for more information,Thanks for the reply. At least this will keep me from searching for them. Perhaps I will stick with debian.> >
You can install any R packages from CRAN using the ?"install.packages()" command form within R itself. This will download, compile, and install the packages into your personal user account. you might need to install some supporting *-devel RPM packages via "yum", but otherwise, it should work. --------------------------------------------------------------------------- Jason Edgecombe | Linux Administrator UNC Charlotte | The William States Lee College of Engineering 9201 University City Blvd. | Charlotte, NC 28223-0001 Phone: 704-687-1943 jwedgeco at uncc.edu | http://engr.uncc.edu | Facebook --------------------------------------------------------------------------- If you are not the intended recipient of this transmission or a person responsible for delivering it to the intended recipient, any disclosure, copying, distribution, or other use of any of the information in this transmission is strictly prohibited. If you have received this transmission in error, please notify me immediately by reply e-mail or by telephone at 704-687-1943. Thank you. On Mon, Oct 30, 2017 at 11:05 AM, Larry Martell <larry.martell at gmail.com> wrote:> On Mon, Oct 30, 2017 at 10:56 AM Tony Schreiner <anthony.schreiner at bc.edu> > wrote: > > > On Mon, Oct 30, 2017 at 10:27 AM, Larry Martell <larry.martell at gmail.com > > > > wrote: > > > > > I have a R script that I am running from python with rpy2. On a debian > > > system I run this: > > > > > > apt-get install R-cran-ggplot2 R-cran-caret > > > > > > And the script works. I want to move this to CentOS 7 system. There it > > > cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what > > > packages in CentOS 7 I need for dplyr, doBy, and ggplot2? > > > > > > > > > They are not in the CentOS or epel distros. I have built both dplyr and > > ggplot2 for CentOS 6 and 7, using the spec file crated by R2spec (from > > epell) and rpmbuild. They both require building several other R packages, > > and a bit of tweaking to the %files portion of the spec file, but are > > doable. I've never tried doBy or caret. > > Feel free to contact me directly for more information, > > > Thanks for the reply. At least this will keep me from searching for them. > Perhaps I will stick with debian. > > > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
On Mon, Oct 30, 2017 at 4:03 PM, Jason Edgecombe <jwedgeco at uncc.edu> wrote:> You can install any R packages from CRAN using the "install.packages()" > command form within R itself. This will download, compile, and install the > packages into your personal user account. you might need to install some > supporting *-devel RPM packages via "yum", but otherwise, it should work.Yes, but as I said I am running R from python with rpy2.> On Mon, Oct 30, 2017 at 11:05 AM, Larry Martell <larry.martell at gmail.com> > wrote: > >> On Mon, Oct 30, 2017 at 10:56 AM Tony Schreiner <anthony.schreiner at bc.edu> >> wrote: >> >> > On Mon, Oct 30, 2017 at 10:27 AM, Larry Martell <larry.martell at gmail.com >> > >> > wrote: >> > >> > > I have a R script that I am running from python with rpy2. On a debian >> > > system I run this: >> > > >> > > apt-get install R-cran-ggplot2 R-cran-caret >> > > >> > > And the script works. I want to move this to CentOS 7 system. There it >> > > cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what >> > > packages in CentOS 7 I need for dplyr, doBy, and ggplot2? >> > > >> > >> > >> > They are not in the CentOS or epel distros. I have built both dplyr and >> > ggplot2 for CentOS 6 and 7, using the spec file crated by R2spec (from >> > epell) and rpmbuild. They both require building several other R packages, >> > and a bit of tweaking to the %files portion of the spec file, but are >> > doable. I've never tried doBy or caret. >> > Feel free to contact me directly for more information, >> >> >> Thanks for the reply. At least this will keep me from searching for them. >> Perhaps I will stick with debian. >> >> > >> > >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> https://lists.centos.org/mailman/listinfo/centos >> > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos