ThinkToStartR package

Share on FacebookTweet about this on TwitterShare on Google+Share on RedditShare on LinkedInEmail this to someone

***ALPHA***

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.

Install

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

 

 

Usage

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:

 

 

Share on FacebookTweet about this on TwitterShare on Google+Share on RedditShare on LinkedInEmail this to someone
Profile photo of JulianHi

JulianHi

I´m an International Business student from Germany, interested in Data Analytics and Machine Learning with a focus on Marketing Applications. My favorite language is R.

You may also like...

9 Responses

  1. 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 master.zip from https://github.com/JulianHill/ThinkToStartR/archive/master.zip
    Installing package from /var/folders/wg/jvbvbdnx0vx8v752pw64l9yw0000gp/T//RtmptGj1KN/master.zip
    arguments ‘minimized’ and ‘invisible’ are for Windows only
    Installing ThinkToStartR
    ‘/Library/Frameworks/R.framework/Resources/bin/R’ –vanilla CMD INSTALL
    ‘/private/var/folders/wg/jvbvbdnx0vx8v752pw64l9yw0000gp/T/RtmptGj1KN/devtools2d004db15f48/ThinkToStartR-master’
    –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.

    Thanks,
    Sayle

    • julianhi says:

      Hey,
      What R Version are you running?

      Regarda

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

        $arch
        [1] “x86_64″

        $os
        [1] “darwin13.1.0″

        $system
        [1] “x86_64, darwin13.1.0″

        $status
        [1] “”

        $major
        [1] “3”

        $minor
        [1] “1.0”

        $year
        [1] “2014”

        $month
        [1] “04”

        $day
        [1] “10”

        $svn rev
        [1] “65387”

        $language
        [1] “R”

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

        $nickname
        [1] “Spring Dance”

  2. Marvi says:

    I am also having problem while installing the packages
    when I run the following command
    install_github(“ThinkToStartR”,username=”JulianHill”,subdir=”ThinkToStartR”)
    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

  3. matteo says:

    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

  1. March 23, 2014

    The package needs an update. I will take a look at it.
    But for now you can create it on you own with the tutorial describing the process:
    http://thinktostart.com/create-twitter-sentiment-word-cloud-in-r/

    Regards

  2. May 30, 2014

    The package needs an update. I will take a look at it.
    But for now you can create it on you own with the tutorial describing the process:
    http://thinktostart.com/create-twitter-sentiment-word-cloud-in-r/

    Regards

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Skip to toolbar