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 :-)
So Writer2Latex works great, but what is the solution when you want to switch FROM editing text documents in LaTeX TO editing it softwares like MS Word? This sounds like a bad idea, but is often needed in order to collaborate on papers with non-LaTeX users (e.g. to use track changes and all that stuff).
I found this:
http://sourceforge.net/projects/latex2rtf/
How to use latex2rtf inside Ubuntu is described here:
http://manpages.ubuntu.com/manpages/hardy/man1/latex2rtf.1.html
Friday, May 3rd, 2013 Commands, Software adjustment, figure, gummi, LaTeX, page, PhD, thesis, writing None
Typesetting my thesis I came across this problem:
I had a large figure (containing many panes) I wanted to print on one page with a caption underneath.
Friday, March 22nd, 2013 Commands, Software, University of Oslo gummi, LaTeX, LibreOffice, PhD, thesis, UiO, writing None
So, it’s finally time to start typesetting my PhD thesis. I decided to go with LaTeX. Main reason: avoid format fuck-ups. The University of Oslo has their own PhD document class. The guidelines can be found here: http://www.mn.uio.no/ifi/tjenester/it/hjelp/latex/uiophd.html
Now, my supervisors are not really familiar with LaTeX, which makes it hard to collaborate on these documents. However, writing documents in LibreOffice Writer and then converting them to tex-files which can be linked together and compiled into one “thesis document” proved quite easy. I just installed Writer2LaTeX. Here is how I got it to work with LibreOffice (in Ubuntu):
sudo apt-get install openoffice.org-java-common
If you’re an Ubuntu user like me – check out Gummi. Real neat for editing LaTeX.
http://dev.midnightcoding.org/projects/gummi
So, I had this disk image of a game I used to play before I converted to Linux. The image was burned using Nero. To be able to install the game under wine in Ubuntu I converted it to an iso-image following these steps:
sudo apt-get nrg2iso
nrg2iso filename.nrg filename.iso
That’s it folks :-)