11-28-2016 11:28 AM
I am new to SAS as a primarily R user until now. I am working on some basic examples in SAS to get going and the following is my code:
TITLE 'Bar Chart with Discrete Option';
PROC GCHART DATA=auto;
VBAR rep78/ DISCRETE;
The result is ERROR: Procedure GCHART not found. Why is this happening?
I do not have the University Edition! I already checked my SAS installation, results here:
Product expiration dates:
---Base SAS Software
---SAS Enterprise Miner
---MDDB Server common products
---SAS Enterprise Guide
---SAS/ACCESS Interface to PC Files
---SAS/ACCESS Interface to ODBC
---SAS Enterprise Miner for Desktop
---SAS Workspace Server for Local Access
---SAS Add-in for Microsoft Excel
Thanks for your help.
11-28-2016 12:09 PM
For a certain module to work in SAS, you must have it installed and licensed; since SAS/GRAPH is licensed, I suspect that your installation was not complete. This might be due to the deployment plan that was used.
Did you do the SAS installation yourself?
11-28-2016 12:57 PM
Oh, and one more tip -- if you are just getting started with SAS, I recommend learning PROC SGPLOT instead of GCHART for basic analytical graphs. Coming from R, you'll find the syntax a little bit cleaner and less verbose. SGPLOT is part of Base, not SAS/GRAPH.
You will want to use the SAS/GRAPH techniques to do more advanced tricks with drilldowns and geo maps, if you have those requirements.
Need further help from the community? Please ask a new question.