[R] first readline() instance getting skipped on windows with R 3.3.3

Anthony Damico ajdamico at gmail.com
Fri Mar 10 13:23:48 CET 2017

hi, i'm curious if anyone else has noticed a change in behavior of

i have a function in an R package that calls readline() here:


after upgrading to 3.3.3, the function appeared to start ignoring that
readline() call.  my function runs some internet and plotting commands, so
i might be doing something wrong here.  i figured out that i can work
around the problem by adding an empty readline("") call earlier in the same
function.. so readline() is just getting skipped at the first occurrence
for some reason.  this line works around the problem, which seems odd:


i've been unsuccessful reproducing this more succinctly.  latest R news
indicates lots of changes to this function:

here's my extSoftVersion() and sessionInfo()


> extSoftVersion()
                     zlib                     bzlib
xz                      PCRE
ICU                       TRE                     iconv
                  "1.2.8"      "1.0.6, 6-Sept-2010"
"5.0.8"         "8.38 2015-11-23"                    "55.1" "TRE 0.8.0
R_fixes (BSD)"               "win_iconv"                        ""

> sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 10586)

[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
States.1252    LC_MONETARY=English_United States.1252
LC_NUMERIC=C                           LC_TIME=English_United

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods

other attached packages:
[1] survey_3.31-5   survival_2.40-1 Matrix_1.2-7.1  lodown_0.1.0

loaded via a namespace (and not attached):
[1] httr_1.2.1      R6_2.2.0        curl_2.3        splines_3.3.3
jpeg_0.1-8      jsonlite_1.1    lattice_0.20-34

	[[alternative HTML version deleted]]

More information about the R-help mailing list