From john-cavanaugh@cableone.net  Mon Feb 28 00:51:36 2000
From: john-cavanaugh@cableone.net (john-cavanaugh@cableone.net)
Date: Mon, 28 Feb 2000 01:51:36 +0100 (MET)
Subject: [Rd] Parser Bug Somewhere.... (PR#460)
Message-ID: <200002280051.BAA23077@pubhealth.ku.dk>

Full_Name: John P Cavanaugh
Version: .99
OS: linux
Submission from: (NULL) (24.116.10.99)


dataset$ema12 <- EMA (dataset$Close,12)
dataset$ema26 <- EMA (dataset$Close,26)
dataset$MACD_fast <- dataset$ema26 - dataset$ema12
dataset$MACD_slow <- EMA(dataset$MACD_fast,9)

dataset$MACD_hist <- dataset$MACD_fast - dataset$MACD_slow  # This line doesnt
work!!!


But... if I does work if I do the following

dataset$MACDfast <- dataset$ema26 - dataset$ema12
dataset$MACDslow <- EMA(dataset$MACDfast,9)
dataset$MACDhist <- dataset$MACDfast - dataset$MACDslow

Something seems wrong if you have an underscore in the dataname.  I think
this is a valid name and shouldnt need to be escaped inside of "". 

--John Cavanaugh

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Parser Bug Somewhere.... (PR#460)
john-cavanaugh@cableone.net