Skip to content

Error: Unexpected symbol in "1M"

2 messages · Wei-han Liu, Joshua Ulrich

#
This has nothing to do with finance, so you should have posted it to
R-help instead.

The answer to your question is found in "An Introduction to R",
section 1.8: R commands, case sensitivity, etc.  "... a name must
start with '.' or a letter, and if it starts with '.' the second
character must not be a digit."  Technically, you can assign a value
to a name that starts with a number, but you will run into lots of
problems.

Best,
--
Joshua Ulrich  |  about.me/joshuaulrich
FOSS Trading  |  www.fosstrading.com

R/Finance 2013: Applied Finance with R  | www.RinFinance.com
On Sun, Feb 24, 2013 at 5:48 PM, Wei-han Liu <weihanliu2002 at yahoo.com> wrote: