[ESS] Getting SAS to start

Rodney Sparapani rsparapa at mcw.edu
Thu Oct 6 16:26:59 CEST 2005


Cameron Hooper wrote:

>
>This should be easy, but for some reason I can't make it work. I am  
>using tcsh. So I edited .tcshrc to include the following line:
>
>setenv PATH "~/bin:${PATH}"
>
>This seems to have worked:
>
>$ echo $PATH
>
>/home/usr07/chooper/bin:/usr/local/GAUSS:/opt/java/bin:/usr/kerberos/ 
>bin:/usr/src/LSF/bin:/usr/src/LSF/etc:/usr/local/bin:/bin:/usr/bin:/ 
>usr/X11R6/bin
>
>I created a simple script in /home/usr07/chooper/bin called "sas"  
>containing the single line:
>
>/usr/local/SAS/SAS_9.1/sas
>
>And set the file to executable.
>
>So ~/bin is at the head of my path and sas should invoke my new script,  
>not the one in /usr/local/SAS, right?
>
>But typing sas still causes the system level script to run not my ~/bin  
>script.
>
>I don't understand this behaviour. Can anyone tell me what I am doing  
>wrong?
>
>Cameron
>  
>
Hi Cameron:

I can't stand csh anymore and this one of my pet peeves.  Try running
rehash.  Hopefully, that is the problem.

Thanks, Rodney




More information about the ESS-help mailing list