Skip to content
Prev 307709 / 398506 Next

simple parsing question?

I'm glad I asked as I would have thought that this was a common requirement and quantmod itself or a simple R function would have done the conversion. You saved me from having to master R's sub function. One remaining thing?when I use your snippet for AAPL, I get:
[1] -2

not the -2.00 that you got. Do I have a setting that is causing it to not show the significant digits?

Thanks.
On Oct 11, 2012, at 4:27 PM, William Dunlap wrote: