Set up R packages in a new environment is annoying.
Of course, we have
docker. Both of them are excellent tools. However, do you also feel in the same way that these tools are too fancy for this simple task? All we need here is just to "copy" all the R packages we have on computer A and "paste" them to computer B. Could we just have a simple solution for this simple task?
This package will allow you to copy the names of your favorite packages to a public cloud space using
pkg_copy(). Your package info will stay there for 24 hrs and you will get a download code. On a new computer, you can use that code inside
pkg_paste() to download all the packages that are not on the new computer. It is just that simple!
Output: Success! You just copied your R package info to cloud! Your download code is: mh223J3LHD0a This code will expire in 24 hours. Re-run this function if time runs out.
install.packages("pkgcopier") library(pkgcopier) pkg_paste("mh223J3LHD0a")
Welcome contributions from all levels. Also, feel free to use the source code in other packages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.