Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
finstall <- function( path )
{
# Fijar directorio
setwd( dir = path )
# Listar archivos zip
files <- list.files( path = path, full.names = T )
# Por cada fichero, instalar
for( f in files )
{
cat('Installing ', f )
install.packages( pkgs = f, repos = NULL )
}
}
# Fijar directorios
finstall( 'directorioLibreriasCliente' )
finstall( 'directorioLibreriasSoporte' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment