-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrame-rcpp.html
145 lines (107 loc) · 7.24 KB
/
trame-rcpp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Bayesian Macroeconometrics in R (BMR)">
<meta name="author" content="Keith O'Hara">
<meta name="keywords" content="TraME, Transportation Methods, Optimal Transport, R, C++, Cpp, Econometrics, Research, Alfred Galichon, Keith O'Hara, NYU, New York University" />
<link rel="shortcut icon" type="image/x-icon" href="siteicon.ico">
<title>TraME-Rcpp</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/modern-business.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Additional Settings -->
<link href="css/kthohr_settings.css" rel="stylesheet">
<!-- Syntax Highlighter -->
<script type="text/javascript" src="js/syntaxhighlighter.js"></script>
<link type="text/css" rel="stylesheet" href="css/swift_theme.css">
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="js/jquery.js"></script>
<script>
$(function(){
$("#mynavbar").load("navbar.html")
$("#myheader").load("trame-rcpp_header.html")
$("#myfooter").load("footer.html")
});
</script>
</head>
<style>
pre {
display: inline-block;
}
</style>
<body>
<!-- Navigation -->
<div id="mynavbar"></div>
<!-- Page Content -->
<div class="container">
<div id="myheader"></div>
<div class="row">
<div class="col-md-2">
<a href="https://en.wikipedia.org/wiki/Gaspard_Monge" target="_blank"><img src="pics/trame_monge.png" class="img-responsive center-block" alt="" width="150" height="150"></a>
</div>
<div class="col-md-8">
<br>
<h3 style="text-align: center;"><strong style="font-size: 130%;">TraME-Rcpp</strong></h3>
<!-- <p style="text-align: center;"><a href="https://github.com/TraME-Project/TraME-Rcpp" target="_blank"><i class="fa fa-github-square fa-2x" style="color:black"></i></a></p> -->
<p style="text-align: center;"><a href="https://travis-ci.org/TraME-Project/TraME-Rcpp" target="_blank"><img src="https://travis-ci.org/TraME-Project/TraME-Rcpp.svg?branch=master" alt="TraME-Rcpp Build"></a>
<a href="https://ci.appveyor.com/project/kthohr/trame-rcpp/branch/master" target="_blank"><img src="https://ci.appveyor.com/api/projects/status/github/TraME-Project/TraME-Rcpp?branch=master" alt="TraME-Rcpp Build"></a></p>
<p style="text-align: center;"><a class="github-button" href="https://github.com/TraME-Project/TraME-Rcpp/subscription" data-icon="octicon-eye" data-count-href="/TraME-Project/TraME-Rcpp/watchers" data-count-api="/repos/TraME-Project/TraME-Rcpp#subscribers_count" data-count-aria-label="# watchers on GitHub" aria-label="Watch TraME-Project/TraME-Rcpp on GitHub">Watch</a>
<a class="github-button" href="https://github.com/TraME-Project/TraME-Rcpp" data-icon="octicon-star" data-count-href="/TraME-Project/TraME-Rcpp/stargazers" data-count-api="/repos/TraME-Project/TraME-Rcpp#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star TraME-Project/TraME-Rcpp on GitHub">Star</a>
<a class="github-button" href="https://github.com/TraME-Project/TraME-Rcpp/fork" data-icon="octicon-repo-forked" data-count-href="/TraME-Project/TraME-Rcpp/network" data-count-api="/repos/TraME-Project/TraME-Rcpp#forks_count" data-count-aria-label="# forks on GitHub" aria-label="Fork TraME-Project/TraME-Rcpp on GitHub">Fork</a></p>
</div>
<div class="col-md-2">
<a href="https://en.wikipedia.org/wiki/Leonid_Kantorovich" target="_blank"><img src="pics/trame_kantorovich.png" class="img-responsive center-block" alt="" width="150" height="150"></a>
</div>
</div>
<br>
<p>TraME-Rcpp is an R interface to <a href="trame.html">TraME</a>, a templated C++ library for solving problems of equilibrium computation and estimation in consumer demand and matching frameworks via the Mass Transportation Approach.</p>
<hr>
<p><strong>Features</strong></p>
<ul>
<li>Seamless and efficient OO-based interaction using Rcpp modules.</li>
<li>Requires no use of (or knowledge of) C++ by the user.</li>
</ul>
<p><strong>License</strong>: TraME is licensed under the GNU General Public License (GPL) version 2, or (at your option) any later version.</p>
<p><strong>Authors</strong>: <a href="http://alfredgalichon.com/" target="_blank">Alfred Galichon</a> and <a href="http://www.kthohr.com" target="_blank">Keith O'Hara</a></p>
<hr style="height:2px;border-width:0;background-color:black">
<h3 style="text-align: left;"><strong style="font-size: 95%;">Download and Installation</strong></h3>
<br>
<p><strong>Package requirements</strong>: R (v3.40, or above) and Rcpp, RcppArmadillo, and digest. </p>
<ul>
<li>Execute the following commands, post installation of R itself, and you should be good to go:</li>
<pre class="brush: ruby;">
install.packages("RcppArmadillo")
install.packages("digest")</pre>
</ul>
<p>The source code is available on <a href="https://github.com/TraME-Project/TraME-Rcpp" target="_blank">GitHub</a>. <strong>You need to install TraME-Rcpp from source.</strong></p>
<ul>
<li>Perhaps the quickest way to install from source is via the 'devtools' package in R.</li>
<li>First, make sure you have the appropriate development environment; if you're using a Mac, get Xcode from the App Store; if you're using Windows, get <a href="https://cran.r-project.org/bin/windows/Rtools/" target="_blank">Rtools</a>.</li>
<ul>
<li> <strong>Note:</strong> For Mac users, unless you've compiled R from source, you will need gfortran v4.8.2. This can be <a href="http://www.thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error/" target="_blank">obtained</a> using the following commands (from a terminal window):</li>
<pre class="brush: bash;">
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C / </pre>
</ul>
<li>Then simply run the following commands in R:</li>
<pre class="brush: ruby;">
install.packages("devtools")
library(devtools)
install_github("TraME-Project/TraME-Rcpp")</pre>
<!-- <li><strong>Note:</strong> <strike>Due to Rlapack being a lobotomized distribution of LAPACK, the 'gensys' solver is not available on Windows-based machines. If you happen to have a full installation of LAPACK, then install from source by first modifying 'dsgec.cpp' appropriately, rather than using the binary file. This is not an issue for Unix-based systems (e.g., Mac and Linux distros). We're currently working on a bigger <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16482" target="_blank">Rlapack patch</a> to fix issues like this.</strike> This has been fixed in R v3.3.0.</li> -->
</ul>
</ul>
</div>
<div id="myfooter"></div>
<!-- jQuery -->
<!--<script src="js/jquery.js"></script>-->
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>