<commit_before>{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "%load r20.R"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "!Rscript r20.R"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "from wand.image import Image  \n",
    "\n",
    "imageFromPdf = Image(filename='Rplots.pdf')  \n",
    "pages = len(imageFromPdf.sequence)  \n",
    "\n",
    "image = Image(  \n",
    "  width=imageFromPdf.width,  \n",
    "  height=imageFromPdf.height * pages  \n",
    ")  \n",<commit_msg>Update a20.ipynb<commit_after>{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "%cp RplotsOriginal.pdf Rplots.pdf \n",
    "%load r20.R"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "!Rscript r20.R"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "from wand.image import Image  \n",
    "\n",
    "imageFromPdf = Image(filename='Rplots.pdf')  \n",
    "pages = len(imageFromPdf.sequence)  \n",
    "\n",
    "image = Image(  \n",
    "  width=imageFromPdf.width,  \n",
    "  height=imageFromPdf.height * pages  \n",
    ")  \n",
{'fraction_non_alphanumeric': 0.21318545902649413, 'fraction_numerical': 0.0061614294516327784, 'mean_word_length': 2.3833333333333333, 'pattern_counts': {'":': 38, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7017639', 'n_tokens_mistral': 660, 'n_tokens_neox': 645, 'n_words': 114}