Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
g <- ... | |
ほげら | |
... | |
theme(axis.line.x=element_line(size=1), | |
axis.line.y=element_line(size=1), | |
axis.ticks.x=element_line(size=1), | |
axis.ticks.y=element_line(size=1), | |
axis.text.y=element_text(size=18), | |
axis.text.x=element_text(size=18), |
#GSIMaps.tsv | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
#Last update: 2017-02-02 | ||||||||||
#title | credit | serviceUrl | yOriginTop | zmin | zmax | xmin | ymin | xmax | ymax | |
標準地図 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png | 1 | 2 | 18 | |||||
淡色地図 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/pale/{z}/{x}/{y}.png | 1 | 2 | 18 | |||||
白地図 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/blank/{z}/{x}/{y}.png | 1 | 5 | 14 | 122.78 | 20.4 | 154.78 | 45.58 | |
English | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/english/{z}/{x}/{y}.png | 1 | 5 | 11 | 122.78 | 20.4 | 154.78 | 45.58 | |
色別標高図 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/relief/{z}/{x}/{y}.png | 1 | 5 | 15 | 122.78 | 20.4 | 154.78 | 45.58 | |
写真 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/ort/{z}/{x}/{y}.jpg | 1 | 2 | 18 | |||||
国土画像情報(第一期:1974~1978年撮影) | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/gazo1/{z}/{x}/{y}.jpg | 1 | 10 | 17 | 122.78 | 20.4 | 154.78 | 45.58 |
library(xtable) | |
library(plyr) | |
fakedata = data.frame( | |
Bacteria = c("G. vaginalis", "L. crispatus"), | |
Count = log10(rlnorm(2*100, 13.5)) | |
) | |
table1 = ddply(fakedata, .(Bacteria), summarize, | |
Bacteria = paste("\\textit{",unique(Bacteria),"}", sep=""), |
brew install jags
install.packages("rjags")
library(rjags)
#!/path/2/Rscript | |
# License: CC0 (just be nice and point others to where you got this) | |
# Author: Robert M Flight <[email protected]>, github.com/rmflight | |
# | |
# This is a post-commit hook that after a successful commit subsequently increments the package version in DESCRIPTION | |
# and commits that. Analogous to the pre-commit at https://gist.github.com/rmflight/8863882, but useful if you only have | |
# good reasons for not doing it on the pre-commit. | |
# | |
# To install it, simply copy this into the ".git/hooks/post-commit" file of your git repo, change /path/2/Rscript, and make |
I saw the following issue posted to the rMaps github repo today.
I am new to using rMaps and leaflet. I would like to plot the route between two locations. The leaflet routing machine plugin allows us to do this (https://github.com/perliedman/leaflet-routing-machine). I am not quite sure how to use the functions
addAssets()
andsetTemplate()
to be able to use this plugin.
This was a good exercise for me to test whether these newly introduced mechanisms addAssets
and setTemplate
would allow one to easily extend the base leaflet binding in rMaps.
Let us start by creating the base map.
Install package | |
```{r eval=FALSE} | |
install_github("ropensci/git2r") | |
``` | |
Load libary | |
```{r} | |
library("git2r") |
require(knitr) | |
#' Initializes a new Gitbook. | |
#' | |
#' This will initalize a new Gitbook in the given directory. When done, it will | |
#' also change the working directory. | |
#' | |
#' @author Jason Bryer <[email protected]> | |
newGitbook <- function(dir) { | |
.Deprecated('This function has been moved to the gitbook R package. See http://jason.bryer.org/Rgitbook for more information') |