A package about nothing

July 25, 2014
By

[This article was first published on R Enthusiast and R/C++ hero, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

nothing is a package about nothing.

The idea is that when you do require(nothing) you express that you don’t need
anything, and therefore nothing assumes you are fine just using the
base package, so it detaches all other packages.

> loadedNamespaces()
 [1] "base"      "datasets"  "devtools"  "digest"    "evaluate"  "graphics"
 [7] "grDevices" "httr"      "memoise"   "methods"   "parallel"  "RCurl"
[13] "stats"     "stringr"   "tools"     "utils"     "whisker"
>
> require(nothing)
Loading required package: nothing  
unloading 'methods' package ...  
Failed with error:  ‘invalid 'pos' argument’  
>
> loadedNamespaces()
[1] "base"

I agree, this is completely useless.

To leave a comment for the author, please follow the link and comment on their blog: R Enthusiast and R/C++ hero.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)