I'm in favor of a single `apt-get install` call. How about:

```
r_packages=$(for r_package in $@; do echo r-cran-...; done)
```

and then working with `r_packages`?