Launch the instance and connect with ssh.
##Update the server
sudo yum update
##Install php and MySQL packages
| { | |
| "metadata": { | |
| "name": "", | |
| "signature": "sha256:1fbc7d13b08868781650d566f6ad0c1b1f1d475a8a58c561db89ddf159f3fda7" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ |
| library(Rfacebook) | |
| library(httpuv) | |
| library(RColorBrewer) | |
| s | |
| load("fb_oauth") | |
| me <- getUsers("me", token=fb_oauth) | |
| #getFQL(query, token) | |
| my_friends <- getFriends(token=fb_oauth, simplify=F) | |
| str(my_friends) |
| { | |
| "metadata": { | |
| "language": "Julia", | |
| "name": "IJulia" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ |
| # Requirements | |
| #sudo apt-get install libcurl4-gnutls-dev # for RCurl on linux | |
| #install.packages('RCurl') | |
| #install.packages('RJSONIO') | |
| library('RCurl') | |
| library('RJSONIO') | |
| query <- function(querystring) { | |
| h = basicTextGatherer() |
Launch the instance and connect with ssh.
##Update the server
sudo yum update
##Install php and MySQL packages