|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: lcolor not allowed
On Aug 15, 2007, at 8:41 AM, Davide Cantoni wrote:
when doing graphics, and while trying to influence their appearance in
terms of line color, I do always get the message: (whatever kind of
graph I'm trying to create)
option lcolor() not allowed
r(198);
The point is: I run exactly the same graph command on another
computer, and it works perfectly as it should. So it's not a syntax
problem. It's just on my computer. I have updated stata, but still the
same. My computer has Intercooled Stata 9.2 for Macintosh. The other
computer I tried was a Windows XP with Intercooled Stata 9.2, and
there, as I mentioned before, everything ran smoothly. Any
suggestions?
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:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/