parse (PR#2104)
dmurdoch@pair.com
dmurdoch@pair.com
Fri, 4 Oct 2002 13:10:16 +0200 (MET DST)
On Fri, 4 Oct 2002 08:31:11 +0200 (MET DST), you wrote:
>> # The following line produces an error:
>> tmp.name<-"tmp"
>> parse(text=paste(tmp.name, ".lg, ", sep="") )
>Error in parse(file, n, text, prompt) : parse error
I'm not sure what you'd expect here. If you just enter the result of
the paste at the command line, you should see
> tmp.lg,
Error: syntax error
Commas aren't allowed to end expressions. (Array indexing and
function calls have argument lists ending with a comma, but argument
lists aren't expressions.)
Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._