thinktostart r package


I just started to work on my new package for this blog. This R package will include the code of all my tutorials and will make it accessible with easy function calls.


To install the ALPHA version of the package open up R and use:




In this first ALPHA version the package just includes some functions.

You can call the functions with the ThinkToStart function:

Twitter Sentiments Wordcloud:

Now you can create a sentiment cloud with:


Foursquare Checkin Map:



  • Pingback: Create Twitter Wordcloud with Sentiments | julianhi's Blog()

  • Pingback: Visualize Your Foursquare Check-ins with R | julianhi's Blog()

  • I am having problems installing your package.

    When I run the ‘install_github(“ThinkToStartR”,username=”JulianHill”)’ command I get the following output:
    Installing github repo ThinkToStartR/master from JulianHill
    Downloading from
    Installing package from /var/folders/wg/jvbvbdnx0vx8v752pw64l9yw0000gp/T//RtmptGj1KN/
    arguments ‘minimized’ and ‘invisible’ are for Windows only
    Installing ThinkToStartR
    ‘/Library/Frameworks/R.framework/Resources/bin/R’ –vanilla CMD INSTALL
    –library=’/Users/sayle/R-dev’ –install-tests

    * installing *source* package ‘ThinkToStartR’ …
    ** R
    ** preparing package for lazy loading
    Installing package into ‘/Users/sayle/R-dev’
    (as ‘lib’ is unspecified)
    Error in contrib.url(repos, “source”) :
    trying to use CRAN without setting a mirror
    Error : unable to load R code in package ‘ThinkToStartR’
    ERROR: lazy loading failed for package ‘ThinkToStartR’
    * removing ‘/Users/sayle/R-dev/ThinkToStartR’
    Error: Command failed (1)

    I am running it in RStudio on a Mac if that helps.


    • Hey,
      What R Version are you running?


      • Here is my Version() info:
        [1] “x86_64-apple-darwin13.1.0”

        [1] “x86_64”

        [1] “darwin13.1.0”

        [1] “x86_64, darwin13.1.0”

        [1] “”

        [1] “3”

        [1] “1.0”

        [1] “2014”

        [1] “04”

        [1] “10”

        $svn rev
        [1] “65387”

        [1] “R”

        [1] “R version 3.1.0 (2014-04-10)”

        [1] “Spring Dance”

  • I am also having problem while installing the packages
    when I run the following command
    I get this …
    Downloading github repo JulianHill/ThinkToStartR@master
    Error in loadNamespace(name) : there is no package called ‘httr’
    In addition: Warning message:
    Username parameter is deprecated. Please use JulianHill/ThinkToStartR

    • Hey
      could you please try to install the package “http” manually before you install my package?


  • matteo

    i’ve tried to make a twitter sentiment cloud with this way but after call to function SentimentCloud I have

    Errore in twInterfaceObj$doAPICall(cmd, params, “GET”, …) :
    Error: Authorization Required