How can I export my email database from Gmail (or Thunderbird) to R?
Like the rgoogledocs and twitteR packages, is there a gmailR package or a standard format for exporting emails to stat packages?
Tal
Standard email (on Unix) is either a file mbox(containing several messages) or an installation maildirwhere each email is a file in a directory.
mbox
maildir
, ascii. , MUA ( - ) MTA ( - , exim, qmail, postfix,...). MTA , POP3 IMAP, , ( Gmail Thunderbird) . , , , , .
R , , R POP3 IMAP .
Gmail Thunderbird ... Gmail Thunderbird, ASCII, R script, R , ... . =)
" "... , R " "... Python JAVA, , ( - ) script, "" , R. R , , - .
... Python (JAVA, C... )!
P.S. , - ...
Now there is an R-packet for extracting email data. This package is still under testing, but anyone can install it from GitHub, the package name is edeR. Right now, it can extract email data from Gmail with IMAP enabled.
First you need to install it library(edeR). You may need to manually install Java 64 on Windows 8, you may need to enable IMAP access in Gmail.
library(edeR)
dat3 <-extractKeyword(username="YOURLOGIN@gmail.com", password="YouRPaSS", kw="adsense", nmail=5)
This will download 5 emails with the keyword 'adsense'.
Source: https://habr.com/ru/post/1748641/More articles:How to access youtube api json response $ t variable data in php? - apiEmacs Lisp - does mapcar not apply a function to all elements? - emacsHow to compile Matcher [Iterable [A]] from Matcher [A] with spec testing circuit - scalasqlite3 - stringWithUTF8String is leaking! - memory-leaksDisplay ListView on home widget using AppWidgetProvider - androidHow to print a long bill in WPF - printingDrupal: как получить аргументы в виде заголовка/нижнего колонтитула/пустой - phpPrinting a multi-page file in WPF - c #What a good way to set up a development environment on OS X for rubies, rails, and git? - ruby | fooobar.comhtml5 video player with simple controls (play and pause only) - jqueryAll Articles