[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: lcolor not allowed

From   "Davide Cantoni" <>
Subject   Re: st: lcolor not allowed
Date   Wed, 15 Aug 2007 17:15:08 +0200

Thanks for your comments, Mike, but I'm afraid the problem is still
there. Getting to your questions:

- Both versions are abolutely up-to-date, using update all and update
swap afterwards.

- I entered exactly the same commands on both computers. Up to the
last comma, parenthesis, line continuation sign.

- I did not copy the command code in my previous email, defiying, the
FAQ's, because I did not consider it essential to the problem that
lcolor does not work in any case. But here is one example:

. twoway (line difftosynth_10000 year, lcolor(black)) (line
difftosynth_65 year, lcolor(gs12))
option lcolor() not allowed

It does not work in a simpler case, either:

. twoway line difftosynth_10000 year, lcolor(black)
option lcolor() not allowed

- Again, all of these very same commands work on that other computer
running WinXP.

- Now that I am trying, here's another thing that does never work: lpattern():

. twoway line difftosynth_10000 year, lpattern(dash)
option lpattern() not allowed

I have no clue at this point. Thanks for any suggestions, once again.

Davide Cantoni

On Aug 15, 2007, at 10:28 AM, Michael Hanson wrote:

In my experience, the purported Mac vs. PC aspect of your problem is a
red herring. More likely, one of the two following situations exist:

1. You have not entered *exactly* the same commands on both computers.
The error you report can be caused by a misplaced comma or
parentheses, or possibly by forgetting a line continuation (such as
"///") -- all of which are difficult to spot with the unaided eye.

Relatedly, you have not followed the advice of the Statalist FAQ: "Say
exactly what you typed and exactly what Stata typed (or did) in
response. N.B. exactly!" To reiterate: *exactly*!

2. Your version of Stata is not completely up-to-date on your Mac,
relative to the PC you tried. Type -update all- and follow the advice
given. Don't forget to "swap" the executable if instructed to do so.
(That is, launch the new Stata program that is placed in your
/Applications/Stata folder -- don't keep running the outdated one.) A
less-than-complete update could create an environment in which
standard commands produce non-standard results or errors.

Hope this helps.

-- Mike
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index