{
  "name": "wordcloud and wordcloud2 R packages compared from CRAN and documentation",
  "description": "Side-by-side comparison of the wordcloud and wordcloud2 R packages: version, CRAN publication date, licence, output type, required data input, and distinctive documented features. Compiled from the packages' CRAN pages and their rdrr.io function documentation, read on 2026-11-15.",
  "page": "https://casrai.org/guides/word-cloud-in-r",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-25T10:35:00Z",
  "temporalCoverage": "2018/2026",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Attribute",
      "unit": "",
      "description": ""
    },
    {
      "name": "wordcloud",
      "unit": "",
      "description": ""
    },
    {
      "name": "wordcloud2",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Attribute": "Version on CRAN",
      "wordcloud": "2.6",
      "wordcloud2": "0.2.1"
    },
    {
      "Attribute": "CRAN publication date",
      "wordcloud": "2018-08-24",
      "wordcloud2": "2018-01-03"
    },
    {
      "Attribute": "Licence",
      "wordcloud": "LGPL-2.1",
      "wordcloud2": "GPL-2"
    },
    {
      "Attribute": "Output",
      "wordcloud": "Static plot drawn on the active graphics device; returns nothing",
      "wordcloud2": "htmlwidget using wordcloud2.js"
    },
    {
      "Attribute": "Required input",
      "wordcloud": "words and freq arguments (word vector and frequency vector)",
      "wordcloud2": "data frame with word and freq columns"
    },
    {
      "Attribute": "Documented defaults for colour",
      "wordcloud": "colors = black, least to most frequent",
      "wordcloud2": "color = 'random-dark'"
    },
    {
      "Attribute": "Documented shape control",
      "wordcloud": "rot.per sets the proportion of words rotated 90 degrees (default 0.1)",
      "wordcloud2": "shape argument: circle, cardioid, diamond, triangle-forward, triangle, pentagon, star; figPath mask image"
    },
    {
      "Attribute": "Declared dependencies",
      "wordcloud": "Imports Rcpp (>= 0.9.4)",
      "wordcloud2": "Depends R >= 3.1.0; Imports htmlwidgets, base64enc, grDevices, graphics; Suggests knitr, rmarkdown, webshot; Enhances shiny"
    }
  ],
  "sources": [
    {
      "title": "CRAN wordcloud package page",
      "url": "https://cran.r-project.org/web/packages/wordcloud/index.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "wordcloud function documentation (rdrr.io)",
      "url": "https://rdrr.io/cran/wordcloud/man/wordcloud.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "CRAN wordcloud2 package page",
      "url": "https://cran.r-project.org/web/packages/wordcloud2/index.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "wordcloud2 function documentation (rdrr.io)",
      "url": "https://rdrr.io/cran/wordcloud2/man/wordcloud2.html",
      "accessed": "2026-11-15"
    }
  ]
}