[Rcpp-devel] plugin in a package - how is it registered?
Simon Zehnder
szehnder at uni-bonn.de
Tue Oct 15 11:38:05 CEST 2013
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 <edd at debian.org> 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 | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list