galaaz 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +29 -0
- data/bin/gknit +208 -10
- data/bin/gknit2 +14 -0
- data/bin/gknit2~ +6 -0
- data/bin/prepareR.rb +3 -0
- data/bin/prepareR.rb~ +1 -0
- data/bin/tmp.py +51 -0
- data/blogs/dev/dev.Rmd +70 -0
- data/blogs/dev/dev.Rmd~ +104 -0
- data/blogs/dev/dev.html +209 -0
- data/blogs/dev/dev.md +72 -0
- data/blogs/dev/dev_files/figure-html/bubble-1.png +0 -0
- data/blogs/dev/model.rb +41 -0
- data/blogs/galaaz_ggplot/galaaz_ggplot.Rmd +55 -27
- data/blogs/galaaz_ggplot/galaaz_ggplot.aux +44 -0
- data/blogs/galaaz_ggplot/galaaz_ggplot.dvi +0 -0
- data/blogs/galaaz_ggplot/galaaz_ggplot.html +17 -4
- data/blogs/galaaz_ggplot/galaaz_ggplot.out +10 -0
- data/blogs/galaaz_ggplot/galaaz_ggplot.pdf +0 -0
- data/blogs/galaaz_ggplot/galaaz_ggplot.tex +630 -0
- data/blogs/galaaz_ggplot/midwest.Rmd +1 -1
- data/blogs/galaaz_ggplot/midwest_external_png +13 -0
- data/blogs/galaaz_ggplot/midwest_external_png~ +1 -0
- data/blogs/gknit/gknit.Rmd +500 -0
- data/blogs/gknit/gknit.Rmd~ +184 -0
- data/blogs/gknit/gknit.Rnd~ +17 -0
- data/blogs/gknit/gknit.html +528 -0
- data/blogs/gknit/gknit.md +628 -0
- data/blogs/gknit/gknit.pdf +0 -0
- data/blogs/gknit/gknit.tex +745 -0
- data/blogs/gknit/gknit_files/figure-html/bubble-1.png +0 -0
- data/blogs/gknit/gknit_files/figure-html/diverging_bar.png +0 -0
- data/blogs/gknit/model.rb +41 -0
- data/blogs/gknit/model.rb~ +46 -0
- data/blogs/ruby_plot/figures/dose_len.png +0 -0
- data/blogs/ruby_plot/figures/facet_by_delivery.png +0 -0
- data/blogs/ruby_plot/figures/facet_by_dose.png +0 -0
- data/blogs/ruby_plot/figures/facets_by_delivery_color.png +0 -0
- data/blogs/ruby_plot/figures/facets_by_delivery_color2.png +0 -0
- data/blogs/ruby_plot/figures/facets_with_decorations.png +0 -0
- data/blogs/ruby_plot/figures/facets_with_jitter.png +0 -0
- data/blogs/ruby_plot/figures/facets_with_points.png +0 -0
- data/blogs/ruby_plot/figures/final_box_plot.png +0 -0
- data/blogs/ruby_plot/figures/final_violin_plot.png +0 -0
- data/blogs/ruby_plot/figures/violin_with_jitter.png +0 -0
- data/blogs/ruby_plot/ruby_plot.Rmd +680 -0
- data/blogs/ruby_plot/ruby_plot.Rmd~ +215 -0
- data/blogs/ruby_plot/ruby_plot.html +563 -0
- data/blogs/ruby_plot/ruby_plot.md +731 -0
- data/blogs/ruby_plot/ruby_plot.pdf +0 -0
- data/blogs/ruby_plot/ruby_plot.tex +458 -0
- data/examples/sthda_ggplot/all.rb +0 -6
- data/examples/sthda_ggplot/two_variables_cont_bivariate/geom_hex.rb +1 -1
- data/examples/sthda_ggplot/two_variables_cont_cont/misc.rb +1 -1
- data/examples/sthda_ggplot/two_variables_disc_cont/geom_bar.rb +2 -2
- data/examples/sthda_ggplot/two_variables_disc_disc/geom_jitter.rb +0 -1
- data/lib/R/eng_ruby.R +62 -0
- data/lib/R/eng_ruby.R~ +63 -0
- data/lib/R_interface/capture_plot.rb~ +23 -0
- data/lib/{R → R_interface}/expression.rb +0 -0
- data/lib/{R → R_interface}/r.rb +10 -1
- data/lib/{R → R_interface}/r.rb~ +0 -0
- data/lib/{R → R_interface}/r_methods.rb +21 -5
- data/lib/{R → R_interface}/rbinary_operators.rb +6 -1
- data/lib/R_interface/rclosure.rb +38 -0
- data/lib/{R → R_interface}/rdata_frame.rb +0 -0
- data/lib/R_interface/rdevices.R +31 -0
- data/lib/R_interface/rdevices.rb +225 -0
- data/lib/{R/rclosure.rb → R_interface/rdevices.rb~} +3 -10
- data/lib/{R → R_interface}/renvironment.rb +0 -0
- data/lib/{R → R_interface}/rexpression.rb +0 -0
- data/lib/{R → R_interface}/rindexed_object.rb +0 -0
- data/lib/{R → R_interface}/rlanguage.rb +0 -0
- data/lib/{R → R_interface}/rlist.rb +0 -0
- data/lib/{R → R_interface}/rmatrix.rb +0 -0
- data/lib/{R → R_interface}/rmd_indexed_object.rb +0 -0
- data/lib/{R → R_interface}/robject.rb +5 -0
- data/lib/{R → R_interface}/rpkg.rb +0 -0
- data/lib/{R → R_interface}/rsupport.rb +49 -13
- data/lib/{R → R_interface}/rsupport_scope.rb +0 -0
- data/lib/{R → R_interface}/rsymbol.rb +1 -0
- data/lib/{R → R_interface}/ruby_callback.rb +0 -0
- data/lib/{R → R_interface}/ruby_extensions.rb +2 -1
- data/lib/{R → R_interface}/runary_operators.rb +0 -0
- data/lib/{R → R_interface}/rvector.rb +0 -0
- data/lib/galaaz.rb +4 -2
- data/lib/gknit.rb +27 -0
- data/lib/gknit.rb~ +26 -0
- data/lib/gknit/knitr_engine.rb +120 -0
- data/lib/gknit/knitr_engine.rb~ +102 -0
- data/lib/gknit/ruby_engine.rb +70 -0
- data/lib/gknit/ruby_engine.rb~ +72 -0
- data/lib/util/exec_ruby.rb +8 -7
- data/lib/util/inline_file.rb +70 -0
- data/lib/util/inline_file.rb~ +23 -0
- data/r_requires/ggplot.rb +1 -8
- data/r_requires/knitr.rb +27 -0
- data/r_requires/knitr.rb~ +4 -0
- data/specs/r_language.spec.rb +22 -0
- data/specs/r_plots.spec.rb +72 -0
- data/specs/r_plots.spec.rb~ +37 -0
- data/specs/tmp.rb +255 -1
- data/version.rb +1 -1
- metadata +89 -39
data/specs/tmp.rb
CHANGED
@@ -22,8 +22,262 @@
|
|
22
22
|
##########################################################################################
|
23
23
|
|
24
24
|
require 'galaaz'
|
25
|
+
#require 'ggplot'
|
26
|
+
|
27
|
+
# Read the R ToothGrowth variable and assign it to the
|
28
|
+
# Ruby tooth_growth variable
|
29
|
+
tooth_growth = ~:ToothGrowth
|
30
|
+
# convert the dose to a factor
|
31
|
+
tooth_growth.dose = tooth_growth.dose.as__factor
|
32
|
+
|
33
|
+
# print the first few elements of the dataset
|
34
|
+
puts tooth_growth.head
|
35
|
+
puts tooth_growth.dim
|
36
|
+
puts tooth_growth.str
|
37
|
+
puts tooth_growth.summary
|
38
|
+
|
39
|
+
|
40
|
+
=begin
|
41
|
+
module CorpTheme
|
42
|
+
|
43
|
+
# face can be (1=plain, 2=bold, 3=italic, 4=bold-italic)
|
44
|
+
def self.text_element(size, face = "plain")
|
45
|
+
E.element_text(color: "#000080",
|
46
|
+
face: face,
|
47
|
+
size: size,
|
48
|
+
hjust: 1)
|
49
|
+
end
|
50
|
+
|
51
|
+
#---------------------------------------------------------------------------------
|
52
|
+
# Defines the plot theme (visualization). In this theme we remove major and minor
|
53
|
+
# grids, borders and background. We also turn-off scientific notation.
|
54
|
+
#---------------------------------------------------------------------------------
|
55
|
+
|
56
|
+
def self.global_theme(faceted = false)
|
57
|
+
|
58
|
+
R.options(scipen: 999) # turn-off scientific notation like 1e+48
|
59
|
+
|
60
|
+
# remove major grids
|
61
|
+
gb = R.theme(panel__grid__major: E.element_blank())
|
62
|
+
# remove minor grids
|
63
|
+
gb = gb + R.theme(panel__grid__minor: E.element_blank)
|
64
|
+
# gb = R.theme(panel__grid__minor: E.element_blank)
|
65
|
+
# remove border
|
66
|
+
gb = gb + R.theme(panel__border: E.element_blank)
|
67
|
+
# remove background. When working with faceted graphs, the background makes
|
68
|
+
# it easier to see each facet, so leave it
|
69
|
+
gb = gb + R.theme(panel__background: E.element_blank) if !faceted
|
70
|
+
# Change axis font
|
71
|
+
gb = gb + R.theme(axis__text: text_element(8))
|
72
|
+
# change axis title font
|
73
|
+
gb = gb + R.theme(axis__title: text_element(10, "plain"))
|
74
|
+
# change font of title
|
75
|
+
gb = gb + R.theme(title: text_element(12, "bold"))
|
76
|
+
# change font of captions
|
77
|
+
gb = gb + R.theme(plot__caption: text_element(8))
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
|
83
|
+
#R.png("final.png")
|
84
|
+
R.awt
|
85
|
+
|
86
|
+
# Read the R ToothGrowth variable and assign it to the
|
87
|
+
# Ruby tooth_growth variable
|
88
|
+
tooth_growth = ~:ToothGrowth
|
89
|
+
# convert the dose to a factor
|
90
|
+
tooth_growth.dose = tooth_growth.dose.as__factor
|
91
|
+
|
92
|
+
# print the first few elements of the dataset
|
93
|
+
puts tooth_growth.head
|
94
|
+
|
95
|
+
# Create the basic plot
|
96
|
+
bp = tooth_growth.ggplot(E.aes(x: :dose, y: :len, group: :dose)) +
|
97
|
+
R.geom_boxplot(E.aes(fill: :dose)) + R.geom_point
|
98
|
+
|
99
|
+
caption = <<-EOT
|
100
|
+
Length of odontoblasts in 60 guinea pigs.
|
101
|
+
Each animal received one of three dose levels of vitamin C.
|
102
|
+
EOT
|
103
|
+
|
104
|
+
# Facet the plot by the s
|
105
|
+
bp = bp + R.facet_grid(+:all =~ +:supp) +
|
106
|
+
R.labs(title: "Tooth Growth: Length by Dose",
|
107
|
+
subtitle: "Faceted by delivery method, Orange Juince (OJ) or Ascorbic Acid (VC)",
|
108
|
+
x: "Dose (mg)", y: "Teeth length",
|
109
|
+
caption: caption) +
|
110
|
+
CorpTheme.global_theme(faceted: true)
|
111
|
+
|
112
|
+
puts bp
|
113
|
+
|
114
|
+
# CorpTheme.layout("Plot of length by dose", "subtitle", bp)
|
115
|
+
|
116
|
+
a = gets.chomp
|
117
|
+
sleep(20)
|
118
|
+
|
119
|
+
R.dev__off
|
120
|
+
=end
|
121
|
+
|
122
|
+
=begin
|
123
|
+
|
124
|
+
awt1 = R::Device.new('awt')
|
125
|
+
awt1.open
|
126
|
+
|
127
|
+
awt2 = R::Device.new('awt')
|
128
|
+
awt2.open
|
129
|
+
|
130
|
+
puts R.dev__list
|
131
|
+
|
132
|
+
sleep(10)
|
133
|
+
|
134
|
+
awt1.close
|
135
|
+
|
136
|
+
puts R.dev__list
|
137
|
+
|
138
|
+
# puts R::Devices.list
|
139
|
+
=end
|
140
|
+
|
141
|
+
=begin
|
142
|
+
#awt1 = R::Device.new('awt')
|
143
|
+
#awt1.open
|
144
|
+
|
145
|
+
b = R.ggplot(:mpg, E.aes(:fl))
|
146
|
+
|
147
|
+
# Basic plot
|
148
|
+
print b + R.geom_bar
|
149
|
+
|
150
|
+
awt2 = R::Device.new('awt')
|
151
|
+
awt2.open
|
152
|
+
|
153
|
+
# Change fill color
|
154
|
+
print b + R.geom_bar(fill: "steelblue", color: "steelblue") +
|
155
|
+
R.theme_minimal
|
156
|
+
|
157
|
+
sleep(5)
|
158
|
+
|
159
|
+
awt1.close
|
160
|
+
|
161
|
+
sleep(5)
|
162
|
+
=end
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
=begin
|
167
|
+
R.theme_set R.theme_bw
|
168
|
+
|
169
|
+
# Data Prep
|
170
|
+
mtcars = ~:mtcars
|
171
|
+
mtcars.car_name = R.rownames(:mtcars)
|
172
|
+
# compute normalized mpg
|
173
|
+
mtcars.mpg_z = ((mtcars.mpg - mtcars.mpg.mean)/mtcars.mpg.sd).round 2
|
174
|
+
mtcars.mpg_type = mtcars.mpg_z < 0 ? "below" : "above"
|
175
|
+
mtcars = mtcars[mtcars.mpg_z.order, :all]
|
176
|
+
# convert to factor to retain sorted order in plot
|
177
|
+
mtcars.car_name = mtcars.car_name.factor levels: mtcars.car_name
|
178
|
+
|
179
|
+
# Diverging Barcharts
|
180
|
+
gg = mtcars.ggplot(E.aes(x: :car_name, y: :mpg_z, label: :mpg_z)) +
|
181
|
+
R.geom_bar(E.aes(fill: :mpg_type), stat: 'identity', width: 0.5) +
|
182
|
+
R.scale_fill_manual(name: "Mileage",
|
183
|
+
labels: R.c("Above Average", "Below Average"),
|
184
|
+
values: R.c("above": "#00ba38", "below": "#f8766d")) +
|
185
|
+
R.labs(subtitle: "Normalised mileage from 'mtcars'",
|
186
|
+
title: "Diverging Bars") +
|
187
|
+
R.coord_flip()
|
188
|
+
|
189
|
+
p gg
|
190
|
+
puts gg.rclass
|
191
|
+
gg.rclass = "list"
|
192
|
+
puts gg
|
193
|
+
=end
|
194
|
+
|
195
|
+
#lst = gg.as__list
|
196
|
+
#lst.rclass = "list"
|
197
|
+
#puts lst.rclass
|
198
|
+
#puts lst
|
199
|
+
|
200
|
+
=begin
|
201
|
+
R::Support.eval(<<-R)
|
202
|
+
|
203
|
+
library(ggplot2)
|
204
|
+
library(ggcorrplot)
|
205
|
+
|
206
|
+
# Correlation matrix
|
207
|
+
data(mtcars)
|
208
|
+
corr <- round(cor(mtcars), 1)
|
209
|
+
|
210
|
+
# Plot
|
211
|
+
gg = ggcorrplot(corr, hc.order = TRUE,
|
212
|
+
type = "lower",
|
213
|
+
lab = TRUE,
|
214
|
+
lab_size = 3,
|
215
|
+
method="circle",
|
216
|
+
colors = c("tomato2", "white", "springgreen3"),
|
217
|
+
title="Correlogram of mtcars",
|
218
|
+
ggtheme=theme_bw)
|
219
|
+
|
220
|
+
lst = as.list(gg)
|
221
|
+
print(lst[[1]])
|
222
|
+
R
|
223
|
+
=end
|
224
|
+
=begin
|
225
|
+
# mtcars$`car name` <- rownames(mtcars) # create new column for car names
|
226
|
+
# mtcars$mpg_z <- round((mtcars$mpg - mean(mtcars$mpg))/sd(mtcars$mpg), 2) # compute normalized mpg
|
227
|
+
# mtcars$mpg_type <- ifelse(mtcars$mpg_z < 0, "below", "above") # above / below avg flag
|
228
|
+
# mtcars <- mtcars[order(mtcars$mpg_z), ] # sort
|
229
|
+
mtcars$`car name` <- factor(mtcars$`car name`, levels = mtcars$`car name`) # convert to factor to retain sorted order in plot.
|
230
|
+
|
231
|
+
# Diverging Barcharts
|
232
|
+
ggplot(mtcars, aes(x=`car name`, y=mpg_z, label=mpg_z)) +
|
233
|
+
geom_bar(stat='identity', aes(fill=mpg_type), width=.5) +
|
234
|
+
scale_fill_manual(name="Mileage",
|
235
|
+
labels = c("Above Average", "Below Average"),
|
236
|
+
values = c("above"="#00ba38", "below"="#f8766d")) +
|
237
|
+
labs(subtitle="Normalised mileage from 'mtcars'",
|
238
|
+
title= "Diverging Bars") +
|
239
|
+
coord_flip()
|
240
|
+
|
241
|
+
=end
|
242
|
+
|
243
|
+
# dir = File.dirname(File.expand_path('.', __FILE__))
|
244
|
+
# GalaazUtil.inline_file("awsome_print", "require ")
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
=begin
|
251
|
+
R::Support.eval(<<-R)
|
252
|
+
old_dispatch = UseMethod;
|
253
|
+
print(old_dispatch);
|
254
|
+
|
255
|
+
print(typeof(UseMethod));
|
256
|
+
|
257
|
+
UseMethod = function(x, ...) {
|
258
|
+
print("in local UseMethod");
|
259
|
+
print(x);
|
260
|
+
print(...);
|
261
|
+
old_dispatch(x, ...);
|
262
|
+
}
|
263
|
+
|
264
|
+
vec = c(1, 2, 3);
|
265
|
+
print(vec);
|
266
|
+
print(mean(vec));
|
267
|
+
# UseMethod("mean", vec);
|
268
|
+
|
269
|
+
R
|
270
|
+
=end
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
25
280
|
|
26
|
-
# puts GalaazUtil.exec_ruby("puts 1 + 1")
|
27
281
|
|
28
282
|
=begin
|
29
283
|
R::Support.eval(<<-R)
|
data/version.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
$gem_name = "galaaz"
|
2
|
-
$version="0.4.
|
2
|
+
$version="0.4.2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: galaaz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Botafogo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '5.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rake
|
71
|
-
prerelease: false
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '12.0'
|
77
|
-
type: :development
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '12.0'
|
83
69
|
description: "Galaaz brings the power of R to the Ruby community. Galaaz \nis based
|
84
70
|
on TruffleRuby and FastR, GraalVM-based interpreters for Ruby and the R language
|
85
71
|
\nfor statistical computing respectively.\n\nOver the past two decades, the R language
|
@@ -106,16 +92,62 @@ files:
|
|
106
92
|
- Rakefile
|
107
93
|
- bin/galaaz
|
108
94
|
- bin/gknit
|
95
|
+
- bin/gknit2
|
96
|
+
- bin/gknit2~
|
109
97
|
- bin/gstudio
|
110
98
|
- bin/gstudio.rb
|
111
99
|
- bin/ogk~
|
100
|
+
- bin/prepareR.rb
|
101
|
+
- bin/prepareR.rb~
|
102
|
+
- bin/tmp.py
|
103
|
+
- blogs/dev/dev.Rmd
|
104
|
+
- blogs/dev/dev.Rmd~
|
105
|
+
- blogs/dev/dev.html
|
106
|
+
- blogs/dev/dev.md
|
107
|
+
- blogs/dev/dev_files/figure-html/bubble-1.png
|
108
|
+
- blogs/dev/model.rb
|
112
109
|
- blogs/galaaz_ggplot/galaaz_ggplot.Rmd
|
110
|
+
- blogs/galaaz_ggplot/galaaz_ggplot.aux
|
111
|
+
- blogs/galaaz_ggplot/galaaz_ggplot.dvi
|
113
112
|
- blogs/galaaz_ggplot/galaaz_ggplot.html
|
114
113
|
- blogs/galaaz_ggplot/galaaz_ggplot.md
|
114
|
+
- blogs/galaaz_ggplot/galaaz_ggplot.out
|
115
|
+
- blogs/galaaz_ggplot/galaaz_ggplot.pdf
|
116
|
+
- blogs/galaaz_ggplot/galaaz_ggplot.tex
|
115
117
|
- blogs/galaaz_ggplot/midwest.Rmd
|
116
118
|
- blogs/galaaz_ggplot/midwest.html
|
117
119
|
- blogs/galaaz_ggplot/midwest.png
|
120
|
+
- blogs/galaaz_ggplot/midwest_external_png
|
121
|
+
- blogs/galaaz_ggplot/midwest_external_png~
|
118
122
|
- blogs/galaaz_ggplot/scatter_plot.png
|
123
|
+
- blogs/gknit/gknit.Rmd
|
124
|
+
- blogs/gknit/gknit.Rmd~
|
125
|
+
- blogs/gknit/gknit.Rnd~
|
126
|
+
- blogs/gknit/gknit.html
|
127
|
+
- blogs/gknit/gknit.md
|
128
|
+
- blogs/gknit/gknit.pdf
|
129
|
+
- blogs/gknit/gknit.tex
|
130
|
+
- blogs/gknit/gknit_files/figure-html/bubble-1.png
|
131
|
+
- blogs/gknit/gknit_files/figure-html/diverging_bar.png
|
132
|
+
- blogs/gknit/model.rb
|
133
|
+
- blogs/gknit/model.rb~
|
134
|
+
- blogs/ruby_plot/figures/dose_len.png
|
135
|
+
- blogs/ruby_plot/figures/facet_by_delivery.png
|
136
|
+
- blogs/ruby_plot/figures/facet_by_dose.png
|
137
|
+
- blogs/ruby_plot/figures/facets_by_delivery_color.png
|
138
|
+
- blogs/ruby_plot/figures/facets_by_delivery_color2.png
|
139
|
+
- blogs/ruby_plot/figures/facets_with_decorations.png
|
140
|
+
- blogs/ruby_plot/figures/facets_with_jitter.png
|
141
|
+
- blogs/ruby_plot/figures/facets_with_points.png
|
142
|
+
- blogs/ruby_plot/figures/final_box_plot.png
|
143
|
+
- blogs/ruby_plot/figures/final_violin_plot.png
|
144
|
+
- blogs/ruby_plot/figures/violin_with_jitter.png
|
145
|
+
- blogs/ruby_plot/ruby_plot.Rmd
|
146
|
+
- blogs/ruby_plot/ruby_plot.Rmd~
|
147
|
+
- blogs/ruby_plot/ruby_plot.html
|
148
|
+
- blogs/ruby_plot/ruby_plot.md
|
149
|
+
- blogs/ruby_plot/ruby_plot.pdf
|
150
|
+
- blogs/ruby_plot/ruby_plot.tex
|
119
151
|
- examples/50Plots_MasterList/Images/midwest-scatterplot.PNG
|
120
152
|
- examples/50Plots_MasterList/ScatterPlot.rb
|
121
153
|
- examples/50Plots_MasterList/scatter_plot.rb
|
@@ -164,32 +196,48 @@ files:
|
|
164
196
|
- examples/sthda_ggplot/two_variables_disc_cont/geom_violin.rb
|
165
197
|
- examples/sthda_ggplot/two_variables_disc_disc/geom_jitter.rb
|
166
198
|
- examples/sthda_ggplot/two_variables_error/geom_crossbar.rb
|
167
|
-
- lib/R/
|
168
|
-
- lib/R/
|
169
|
-
- lib/
|
170
|
-
- lib/
|
171
|
-
- lib/
|
172
|
-
- lib/
|
173
|
-
- lib/
|
174
|
-
- lib/
|
175
|
-
- lib/
|
176
|
-
- lib/
|
177
|
-
- lib/
|
178
|
-
- lib/
|
179
|
-
- lib/
|
180
|
-
- lib/
|
181
|
-
- lib/
|
182
|
-
- lib/
|
183
|
-
- lib/
|
184
|
-
- lib/
|
185
|
-
- lib/
|
186
|
-
- lib/
|
187
|
-
- lib/
|
188
|
-
- lib/
|
189
|
-
- lib/
|
199
|
+
- lib/R/eng_ruby.R
|
200
|
+
- lib/R/eng_ruby.R~
|
201
|
+
- lib/R_interface/capture_plot.rb~
|
202
|
+
- lib/R_interface/expression.rb
|
203
|
+
- lib/R_interface/r.rb
|
204
|
+
- lib/R_interface/r.rb~
|
205
|
+
- lib/R_interface/r_methods.rb
|
206
|
+
- lib/R_interface/rbinary_operators.rb
|
207
|
+
- lib/R_interface/rclosure.rb
|
208
|
+
- lib/R_interface/rdata_frame.rb
|
209
|
+
- lib/R_interface/rdevices.R
|
210
|
+
- lib/R_interface/rdevices.rb
|
211
|
+
- lib/R_interface/rdevices.rb~
|
212
|
+
- lib/R_interface/renvironment.rb
|
213
|
+
- lib/R_interface/rexpression.rb
|
214
|
+
- lib/R_interface/rindexed_object.rb
|
215
|
+
- lib/R_interface/rlanguage.rb
|
216
|
+
- lib/R_interface/rlist.rb
|
217
|
+
- lib/R_interface/rmatrix.rb
|
218
|
+
- lib/R_interface/rmd_indexed_object.rb
|
219
|
+
- lib/R_interface/robject.rb
|
220
|
+
- lib/R_interface/rpkg.rb
|
221
|
+
- lib/R_interface/rsupport.rb
|
222
|
+
- lib/R_interface/rsupport_scope.rb
|
223
|
+
- lib/R_interface/rsymbol.rb
|
224
|
+
- lib/R_interface/ruby_callback.rb
|
225
|
+
- lib/R_interface/ruby_extensions.rb
|
226
|
+
- lib/R_interface/runary_operators.rb
|
227
|
+
- lib/R_interface/rvector.rb
|
190
228
|
- lib/galaaz.rb
|
229
|
+
- lib/gknit.rb
|
230
|
+
- lib/gknit.rb~
|
231
|
+
- lib/gknit/knitr_engine.rb
|
232
|
+
- lib/gknit/knitr_engine.rb~
|
233
|
+
- lib/gknit/ruby_engine.rb
|
234
|
+
- lib/gknit/ruby_engine.rb~
|
191
235
|
- lib/util/exec_ruby.rb
|
236
|
+
- lib/util/inline_file.rb
|
237
|
+
- lib/util/inline_file.rb~
|
192
238
|
- r_requires/ggplot.rb
|
239
|
+
- r_requires/knitr.rb
|
240
|
+
- r_requires/knitr.rb~
|
193
241
|
- specs/all.rb
|
194
242
|
- specs/r_dataframe.spec.rb
|
195
243
|
- specs/r_eval.spec.rb
|
@@ -198,6 +246,8 @@ files:
|
|
198
246
|
- specs/r_list.spec.rb
|
199
247
|
- specs/r_list_apply.spec.rb
|
200
248
|
- specs/r_matrix.spec.rb
|
249
|
+
- specs/r_plots.spec.rb
|
250
|
+
- specs/r_plots.spec.rb~
|
201
251
|
- specs/r_vector_creation.spec.rb
|
202
252
|
- specs/r_vector_functions.spec.rb
|
203
253
|
- specs/r_vector_object.spec.rb
|