From erich.neuwirth at univie.ac.at  Thu Oct 22 13:21:23 2009
From: erich.neuwirth at univie.ac.at (Erich Neuwirth)
Date: Thu, 22 Oct 2009 13:21:23 +0200
Subject: [Rd] source and textConnection
In-Reply-To: <4ADC37C2.6010506@univie.ac.at>
References: <4ADC37C2.6010506@univie.ac.at>
Message-ID: <4AE04033.7090202@univie.ac.at>

Using todays freshly downloaded compiled version of R-2.10.0 beta
let me pose this question once again:

>> myconn<-textConnection("print(11*11)")
>> source(myconn)
produces
> [1] 121
> Warning message:
> In source(myconn) : argument 'encoding = "native.enc"' will be ignored

So I get a warning about a default parameter value I did not use myself.
This is somewhat strange.
Up to 2.9.2 this warning did not show up,
and 2.9.2 also has the encoding parameter.

source(myconn,encoding="unknown")
does not produce a warning.

Will it remain like this?
I am asking because then I have to adapt a certain mechanism in RExcel.


-- 
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39464 Fax: +43-1-4277-39459



[Rd] source and textConnection
Erich Neuwirth