R - installing FFTW3 package on Windows machine -
i trying build cartogram r following algorithm of gastner & newman on diffusion-based methods producing density-equalizing maps
i have found recipe on how of getcartr , rcartogram packages; however, requires installation of fast fourier transform libraries fftw3 , fftw. 
i installed fftw cran, have problem fftw3, find archived file here.
i following error message when trying install package .zip file:
install.packages(choose.files(), type="source", repos=null)installing package ‘h:/r.shiny.tutorial/libraries’ (as
libunspecified)warning in
read.dcf(file.path(pkgname, "description"), c("package", "type")): cannot open compressed file 'fftw-3.3.4/description', probable reason 'no such file or directory'error in
read.dcf(file.path(pkgname, "description"), c("package", "type")): cannot open connectionwarning in
install.packages: running command '"q:/rstud301.001/r-32~1.0/bin/i386/r" cmd install -l "h:\r.shiny.tutorial\libraries" "f:/cartogram/fftw-3.3.4.zip"' had status 1 warning ininstall.packages: installation of package ‘f:/cartogram/fftw-3.3.4.zip’ had non-zero exit status
i found tips on installing fftw3 on mac , linux, work on windows machine. 
i found similar problems online solutions not work me.
here session.info():
r version 3.2.0 (2015-04-16)  platform: **i386-w64-mingw32/i386 (32-bit)** running under: **windows 7 x64 (build 7601) service pack 1**  locale:  [1] lc_collate=english_united kingdom.1252  lc_ctype=english_united kingdom.1252    lc_monetary=english_united kingdom.1252  [4] lc_numeric=c                            lc_time=english_united kingdom.1252       attached base packages:  [1] stats     graphics  grdevices utils     datasets  methods   base       loaded via namespace (and not attached):  [1] tools_3.2.0  can help?
 
 
  
Comments
Post a Comment