Skip to content

Instantly share code, notes, and snippets.

type;count
Other;1
Asking;15
Comm.;16
VCS;17
PM;18
source :rubygems
gem 'debugger'
gem 'rspec'
gem 'activerecord', ENV['ACTIVE_RECORD_VERSION'] || '3.2.13'
require 'active_record'
require "minitest/autorun"
require 'minitest/pride'
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
ActiveRecord::Schema.define do
create_table :as, force: true do |t|
t.integer :b_id
library(ggplot2)
data = read.table('years.data',header=TRUE)
#geom_bar(width=.5) +
pdf('paper_years.pdf')
print(ggplot(data, aes(as.numeric(year))) +
geom_bar() +
xlab("Vuosi") +
ylab("Julkaisujen määrä") +