Hi Dirk, thanks for this answer. It seems, that this was a weird thing going on in my R: In later tests, I did not get any warnings at all. Don't know though, where this came from.
Best Simon On Oct 14, 2013, at 2:05 PM, Dirk Eddelbuettel <[email protected]> wrote: > > On 14 October 2013 at 11:55, Simon Zehnder wrote: > | Does anyone have an explanation what is going on and if I might have > forgotten something in my code? > > AFAIK this has nothing to do with Rcpp. When you do > > foo <- readLines("someFile.txt") > > you now get the warning, whereas in the past you did not. > > It seems one now needs > > con <- file("someFile.txt") > foo <- readLines(con) > close(con) > > Dirk > > -- > Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
