I am trying to replicate the Stata code below from this package here but it gives an invalid syntax
error. I am using Stata 12 on Windows 7. Any ideas on how to solve this
clear
program drop _all
mata mata clear
sysuse auto
generate heavy=weight>3000
generate expensive=price>4000
label variable foreign "foreign"
VennDiagram foreign heavy expensive, title("Car market structure")
OK, first off, based on the comments above, I discovered that despite the instruction to
findit twoway_parea
the required command is
findit twoway parea
so ultimately I was able to successfully install the two pieces I needed for VennDiagram.
There are three syntax errors in venndiagram.ado. At line 96 we see
# delimit ;
At lines 100, 148, and 245 we see
version 9.2
Each of those needs a semicolon following it.
version 9.2;
With those three changes, the example runs without producing a syntax error.