After trying several annoying “recipes” I landed on this approach on Ubuntu (Linux). Will try Windows later on to see if it differs. I use R-studio.
Update: Worked fine on Windows (just skip the first section)
Got a bunch of errors trying to install “devtools” in R. First install packages (terminal): sudo apt-get install libssl-dev
still got errors and went on to install this: sudo apt-get install libssl-dev
Went on to install the following R-packages:
install.packages(c("devtools", "rjson", "bit64", "httr"))
Loading library and installing twitteR via GitHub:
require(devtools)
install_github("geoffjentry/twitteR")
Create a Twitter application at http://dev.twitter.com. Make sure to give the app read, write and direct message authority. You can change this under the Permissions tab. The information about API stuff is found under Keys and Access Tokens
require(twitteR)
# copy paste from web
APIkey = "insert_here"
APIsecret = "insert_here"
# set up and follow the steps
setup_twitter_oauth(APIkey, APIsecret)
Once completed you’re ready to go!
The function taskStatus
sends a Twitter DM after completion of a task to twitter_user:
taskStatus(print("Watch your fucking phone!"), "twitter_user", msg = " It's fucking working!")
I struggled for some time to get my Lexmark printer to work both on and off my wireless home network, and it was hard to find help online. One day of frustrating trials and errors boiled down to this:
sudo chmod 755 /usr/local/lexmark/v3/bin/printfilter
And it worked :-)
Saturday, May 1st, 2010 Ubuntu firefox, java, open office, zotero None
This past week has been slow and easy. I suppose I should be more stressed out by the fact that I’m at the end of my fellowship. But there is no help in worrying, -certainly not at this point. I’m going at it at a steady pace and plan to put in some extra effort when I return to RUC. These past days I’ve been doing the things that I missed the most. Hugging Lars, walking Birk and fucking up my computers. I’ve been through a traumatic upgrading of Ubuntu both at work and at home. At work it led to difficulties connecting to internet. At home I managed to fuck up GRUB, but got rescued by the Ubuntu Live CD. NOTE TO SELF: I should NOT mess around with computer stuff I know absolutely nothing about…
My netbook works great though :) – upgraded without any hickups! Ubuntu 10.4 seems great!
By the way… I use Zotero reference manager and Open Office. With the new Firefox 3.6 I banged my head against the screen for a couple of hours (-especially since I’ve been confident [stupid] enough to install 64-bits system) before I found THIS and got the sun java plugin to work again. This is a life saver.
Best HOWTO ever!!
Want to know more about Ubuntu? Visit Ubuntu Homepage