Monday, January 11, 2016

Remove multiple objects with similar names in R

I have a bunch of objects in the R environment, with names as: file_01, file_02, ... etc.
To remove these objects by using just one line of code, here's one solution:
rm(file_01, file_02,...)
However, if the number of files is too large, it is not practical to type in all the file names. Here's a solution to remove these objects, again by using just one line of code:
rm(list=ls(patter='file'))

my-alpine and docker-compose.yml

 ``` version: '1' services:     man:       build: .       image: my-alpine:latest   ```  Dockerfile: ``` FROM alpine:latest ENV PYTH...