TwitteR client for R

Installing packages in R is pretty easy, if you know the name of the package you wish to install. Just pass the name of the package to the install.packages() function. Once that’s done, load the package by passing its name to the library() function.

So it’s a fairly easy and straight-forward process, right?

But it wasn’t so when I attempted to install a Twitter client for R called TwitteR. R, by the way, is a very popular statistical programming language. It is Free Software.

Related Post:  Writing a Mesos Framework from scratch with Mesos-starter

Back to installing it.

My first attempt to do that, failed with the following message:

Warning in install.packages : package ‘twitterR’ is not available (for R version 3.1.1)

That’s strange. Why won’t TwitteR be available for R-3.1.1? Since that failed attempt was from the console of RStudio, an IDE for R, I decided to try installing it from RStudio’s Install packages tab. That was when I noticed why the first installation attempt failed: A simple spelling error. The package is spelled TwitteR, not TwitterR. See the difference? So to install TwitteR from RStudio’s console or from any other interactive R interface, type: install.packages("TwitteR"). And don’t forget to load it: library("TwitteR").
TwitteR client for R

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.