search for: need_enc

Displaying 1 result from an estimated 1 matches for "need_enc".

Did you mean: need_doc
2010 Feb 26
2
Error on Windows build: "unable to re-encode"
...n '--use-zip-data' ** R Error : unable to re-encode 'RR.r' I found the piece of code producing the error in the function .install_package_code_files in the file src/library/tools/R/admin.R: ## assume that if locale is 'C' we can used 8-bit encodings unchanged. if(need_enc && !(Sys.getlocale("LC_CTYPE") %in% c("C", "POSIX"))) { con <- file(outFile, "a") on.exit(close(con)) # Windows does not like files left open for(f in codeFiles) { tmp <- iconv(readLines(f, warn = FALSE), fro...