R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(R2BayesX)
Loading required package: BayesXsrc
Loading required package: colorspace
Loading required package: mgcv
Loading required package: nlme
This is mgcv 1.8-12. For overview type 'help("mgcv-package")'.
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/R2BayesX/write.gra.Rd_%03d_medium.png", width=480, height=480)
> ### Name: write.gra
> ### Title: Saving Maps in Graph Format
> ### Aliases: write.gra
> ### Keywords: spatial
>
> ### ** Examples
>
> data("FantasyBnd")
> tfile <- tempfile()
> write.gra(bnd2gra(FantasyBnd), file = tfile)
Start neighbor search ...
progress: 20%
progress: 40%
progress: 60%
progress: 80%
progress: 100%
Neighbor search finished.
> cat(readLines(tfile), sep = "\n")
10
1
6
1 4 5 6 8 9
2
4
0 2 4 9
3
3
1 3 4
4
2
2 4
5
5
0 1 2 3 5
6
3
0 4 6
7
4
0 5 7 8
8
2
6 8
9
4
0 6 7 9
10
3
0 1 8
> unlink(tfile)
>
>
>
>
>
> dev.off()
null device
1
>