gistfile1.txt
# Script to install necessary packages after new R version
# Package building
install.packages('devtools')
library('devtools')
install.packages('roxygen2')
# Data manipulation
install.packages('dplyr')
install.packages('tidyr')
install.packages('lubridate')
install.packages('purrr')
install.packages('reshape2')
# Don't install these, use the above packages
# install.packages('plyr')
# Reading data
install.packages('readr')
install.packages('httr')
install.packages('xml2')
install.packages('jsonlite')
install.packages('rvest')
#install.packages('gdata')
# Plots
install.packages('ggplot2')
install.packages('ggmap')
install.packages('gridExtra')
install.packages('scales')
install.packages('viridis')
# Database packages
install.packages('RODBC')
install.packages('RJDBC')
install.packages('RMySQL')
install.packages('RSQLServer')
# ROracle for Windows:
# Instructions: https://cran.r-project.org/web/packages/ROracle/INSTALL
# Install Oracle Instant Client 64 bit, Basic + SDK)
# http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
# Then
# install.packages('C:/Users/aparju/Downloads/oracle_stuff/ROracle_1.2-1.zip', repos=NULL)
# Spatial data
install.packages('sp')
install.packages('maptools')
install.packages('spdep')
install.packages('raster')
# For rgeos and rgdal, follow http://tlocoh.r-forge.r-project.org/mac_rgeos_rgdal.html
install.packages('rgeos')
install.packages('rgdal')
install.packages('gdalUtils')
install.packages('cleangeo')
# Modelling
install.packages('mgcv')
install.packages('lme4')
install.packages('gamm4')
install.packages('numDeriv')
install.packages('glmnet')
install.packages('AUC')
# RStan - check that ok to install directly from CRAN
# Check guide here: https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started
install.packages('rstan', repos = 'https://cloud.r-project.org/', dependencies=TRUE)
install.packages('rstanarm')
# source('http://mc-stan.org/rstan/install.R', echo = TRUE, max.deparse.length = 2000)
# install_rstan()
# Parallel stuff
install.packages('doMC')
# Rmarkdown
install.packages('knitr')
install.packages('rmarkdown')
# Shiny
install.packages('shiny')
install_github('rstudio/shinyapps')
  1. Script to copy the packages installed on one computer or R version to another. Originally from http://stackoverflow.com/questions/1401904/painless-way-to-install-a.
  2. 1) checking for a new version of R. 2) installing a new version. 3) copying of packages from one folder to the other. The two later stages do require admin privileges. Also, the copying of packages assumes you wish to move them from the default library folder of the old R to the one of the new R.
  3. R packages are collections of functions and data sets developed by the community. They increase the power of R by improving existing base R functionalities, or by adding new ones. For example, if you are usually working with data frames, probably you will have heard about dplyr or data.table, two of the most popular R packages.
  4. Mar 14, 2019  This has never happened to me before. Is it due to the update? Am I doing something fundamentally wrong? Yes, it is, your problem is that you are trying to install over the old packages and that is causing conflicts, you need to start all over by un install R deleting the library folder and making a new clean installation.
  5. I used to just copy over the contents of the library folder, but that solution didn't work for me for some reason recently, so I've switched solutions. After updating R itself, run the code below (replace the library path with whatever the path of your library in the OLD installation of R that you are going to replace).
Copy Packages To New R Version Mac Copy Library

Copy Packages To New R Version Mac Copy Library To Windows 7

Oct 03, 2019  Script to copy the packages installed on one computer or R version to another. Originally from http://stackoverflow.com/questions/1401904/painless-way-to-install-a.

How to Combine Multiple Photos Libraries Into a Single Library Saturday, July 1st, 2017 Author: Tom Nelson. If you’ve been working with the Mac’s Photos app (or even the older iPhoto or Aperture apps) for any length of time, there’s a good chance you have multiple image libraries. Mac photo merge libraries. 2020-3-18  Here's how to open one of the multiple photo libraries that you might have on your Mac or on a connected external drive: Press and hold the Option key as you open the Photos app. Select the library that you want to open, then click Choose Library. Photos uses this library until you open a different one using the same steps.

Make sure the search is set to This Mac, then click the plus button underneath the search box to add System Files and are included. If, for example, I wanted to remove Firefox’s old data after uninstalling, I would go to Finder’s search box and type firefox. Delete application mac library.

Copy Packages To New R Version Mac Copy Library To Iphone

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment