Comments (7)
Works fine for me. Is it the same with all kinds of fomats (e. g. .jpeg)? Is it possible "Copy to clipboard..."?
from lingtypology.
Yes, it is with all kinds of formats. I can Copy to clipboard but the resolution isn't great.
from lingtypology.
And what kind of operation system do you have?
from lingtypology.
Actually I confused, could you describe how exactly you have tried to save it?
from lingtypology.
OS: Windows 10 Pro
R-Studio Version 1.2.1335
Code:
png(filename="mymap.png", width=3.5, height=5, units="in", res=300)
dev.off()
Result (blank page):
from lingtypology.
Oh, I get it. But then it is not a problem of lingtypology
, but the known problem of leaflet
. As I wrote in the manual:
If for some reasons you are not using RStudio or you want to automatically create and save a lot of maps, you can save a map to a variable and use the htmlwidgets package for saving created maps to an .html file. I would like to thank Timo Roettger for mentioning this problem.
m <- map.feature(c("Adyghe", "Korean"))
# install.packages("htmlwidgets")
library(htmlwidgets)
saveWidget(m, file="TYPE_FILE_PATH/m.html")
There is an export button in RStudio, but for some reason it is not so easy to save a map as a .png or.jpg file using code. Here is a possible solution.
from lingtypology.
Yes, I saw that, but was hoping to get around it. Ok, so thank you though!!
from lingtypology.
Related Issues (20)
- Make examples work HOT 3
- Warning message: There is no coordinates for languages Ben Tey Dogon HOT 3
- CRAN package rowr and its reverse dependencies
- CRAN r-devel-linux-x86_64-debian-clang check failed
- phoible.feature() doesn't work anymore
- Unable to view a language on a map HOT 6
- cldf HOT 4
- make `control` argument of `map.feature()` by variable
- `phoible.feature()` doesn't work with specified sources HOT 1
- change language correspondencies for db
- update README HOT 1
- leaflegend
- No code look up for family level Glottolog HOT 2
- `soundcomparisons.feature()` failed to connect
- `lang.country()` HOT 1
- Retrieve released Glottolog data using version tags HOT 3
- Do you still use CLAhub? HOT 2
- Issues with next version of ggplot2
- stroke.color does not work properly HOT 6
- Link to tutorial HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lingtypology.