Created
September 23, 2012 07:47
-
-
Save jlehtoma/3769239 to your computer and use it in GitHub Desktop.
pxR crashes R with certain kinds of PX-Axis files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(pxR) | |
# Finish municipal election data from Statistics Finland | |
good.px.url <- "http://pxweb2.stat.fi/database/StatFin/vaa/kvaa/2008_05/610_kvaa_2008_2009-10-30_tau_137_fi.px" | |
bad.px.url <- "http://pxweb2.stat.fi/Database/StatFin/vaa/kvaa/2008_04/410_kvaa_2008_2009-11-02_tau_123_fi.px" | |
# Works | |
good.px.object <- read.px(good.px.url) | |
# Crashes R | |
bad.px.object <- read.px(bad.px.url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment