iptools 0.2.0 is now on CRAN

July 1, 2015
By

(This article was first published on Data Driven Security, and kindly contributed to R-bloggers)

We are happy to announce that the iptools package is now on CRAN. Formerly only available on GitHub, iptools now compiles under Debian/Ubuntu, Fedora/CentOS/RedHat and Mac OS X (we’re still working on that other operating system).

Oliver (the package co-author and on-CRAN instigator) wrote some excellent vignettes that cover the functionality of the package in-depth, but here’s a short-list of what you can find/expect in iptools:

  • wicked-fast IP conversions (148 milliseconds for converting 1,000,000 addresses to integers and 700 milliseconds the other way ‘round)
  • IP classification with ip_classify which can distinguish IPv4, IPv6 and non-IP address inputs
  • hostname resolution (both ways) with hostname_to_ip and ip_to_hostname

plus, ways to handle CIDR blocks and generate random (but valid) IPv4 addresses.

We’ve also included some core IANA datasets and provided routines to refresh them.

iptools pairs nicely with urltools, webtools, longurl and rgeolocate, enabling many avenues of feature generation (for machine learning) and data analysis for cybersecurity and web analytics.

If you manage to get it working well on Windows, drop us a note in the comments (you’ll get a free copy of Data-Driven Security) and if you’ve use iptools in any cool projects hit us up here or on Twitter so we can get you on the podcast.

To leave a comment for the author, please follow the link and comment on their blog: Data Driven Security.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



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.

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)