2017-06-18 06:06:38 2017-06-18 06:06:38 R version 3.4.0 (2017-04-21) -- "You Stupid Darkness" 2017-06-18 06:06:38 Copyright (C) 2017 The R Foundation for Statistical Computing 2017-06-18 06:06:38 Platform: x86_64-w64-mingw32/x64 (64-bit) 2017-06-18 06:06:38 2017-06-18 06:06:38 R is free software and comes with ABSOLUTELY NO WARRANTY. 2017-06-18 06:06:38 You are welcome to redistribute it under certain conditions. 2017-06-18 06:06:38 Type 'license()' or 'licence()' for distribution details. 2017-06-18 06:06:38 2017-06-18 06:06:38 Natural language support but running in an English locale 2017-06-18 06:06:38 2017-06-18 06:06:38 R is a collaborative project with many contributors. 2017-06-18 06:06:38 Type 'contributors()' for more information and 2017-06-18 06:06:38 'citation()' on how to cite R or R packages in publications. 2017-06-18 06:06:38 2017-06-18 06:06:38 Type 'demo()' for some demos, 'help()' for on-line help, or 2017-06-18 06:06:38 'help.start()' for an HTML browser interface to help. 2017-06-18 06:06:38 Type 'q()' to quit R. 2017-06-18 06:06:38 2017-06-18 06:06:38 > setwd( Sys.getenv( "RWD" ) ) 2017-06-18 06:06:38 > 2017-06-18 06:06:38 > machine_specific_replacements <- 2017-06-18 06:06:38 + list( 2017-06-18 06:06:38 + 2017-06-18 06:06:38 + # replace the folder path on macnix 2017-06-18 06:06:38 + c( 'path.expand( \"~\" ) , \"DATASUS\"' , paste0( '"' , getwd() , '"' ) ) , 2017-06-18 06:06:38 + 2017-06-18 06:06:38 + # change other things in the script to be run 2017-06-18 06:06:38 + c( "hello" , "howdy" ) 2017-06-18 06:06:38 + 2017-06-18 06:06:38 + ) 2017-06-18 06:06:38 > 2017-06-18 06:06:38 > source( lodown::syntaxtractor( "datasus" , replacements = machine_specific_replacements , setup_test = "setup" ) , echo = TRUE ) 2017-06-18 06:06:39 2017-06-18 06:06:39 > library(lodown) 2017-06-18 06:06:39 2017-06-18 06:06:39 > lodown("datasus", output_dir = file.path("e:/eanthony/r-wd/datasus-1497791167")) 2017-06-18 06:06:39 building catalog for datasus 2017-06-18 06:06:39 2017-06-18 06:08:04 Error in download.file(this_dir, tf, mode = "wb", quiet = TRUE) : 2017-06-18 06:08:04 cannot open URL 'ftp://ftp.datasus.gov.br/dissemin/publicos/SIM/' 2017-06-18 06:08:04 Calls: source ... recursive_ftp_scrape -> getlisting -> download.file 2017-06-18 06:08:04 In addition: Warning message: 2017-06-18 06:08:04 In download.file(this_dir, tf, mode = "wb", quiet = TRUE) : 2017-06-18 06:08:04 InternetOpenUrl failed: 'A connection with the server could not be established 2017-06-18 06:08:04 ' 2017-06-18 06:08:04 Execution halted