From: Fred on 18 Apr 2010 05:55 Just wondering, how to run SAS on Ubuntu via "wine" command. ??? Thank you.
From: Matt C on 18 Apr 2010 13:39 > Just wondering, how to run SAS on Ubuntu via "wine" command. ??? < I have been running SAS 9.2 on Ubuntu 9.10 via the tar.gz package that my university had available for 4 months. It runs fine. Installation was not a big issue. I found a great site for installing SAS on Linux at: http://www.thejuliagroup.com/blog/?p=283 SAS does have some differences with the HMI (human-man interface) but they weren't deal breakers for me. ;) For example, cut, copy, paste are easier with the keyboard than the mouse, to be expected with Linux. There are a few other items that are important. After talking (literally talking) to SAS support staff they told me a couple items. 1) They only support SAS on Red Hat (ie Fedora) and SUSE (ie open suse) but don't let that stop you. I also found out that Java 5 update 15 is recommended. So you need to install that java version, place it in the /usr or along with SAS in its directory and then point SAS to it. I still have a little issue with SAS error messages not being properly displayed in the my browser but who needs error messages anyway. :D Other than that life is good. As you can probably tell from my lack of discussion about wine/SAS I have not tried it and would be a little skeptical about getting it going. Searching through wineHQ: http://appdb.winehq.org/objectManager.php?sClass=application&iId=3410 I found that the WineHQ app database gives SAS/9.1 a bronze while 9.2 gets a garbage rating. So take that for all it worth too. If you have any questions don't hesitate to ask... ;) HTH Matt
From: brandon.degraaf on 21 Apr 2010 22:04 I used to run SAS 9.1 from Windows under wine before I got SAS 9.2 for Linux. I could never get the windows version to install but I was able to copy the already installed files from windows into my wine c drive folder and run it from there just fine, both GUI and batch. The only thing that didn't work was the advanced editor, but the simple editor was still better the native Linux one :( I fully recommend Jedit for SAS programming in Linux btw, it has syntax highlighting and other programmer features, and just paste your code into SAS when you want to run it interactively. To start SAS from an shortcut on the desktop I think I used the following line: env WINEPREFIX="/home/user/.wine" wine "C:\Program Files\SAS\SAS 9.1\sas.exe" but it should run fine without the "env WINEPREFIX="/home/ brandon/.wine"" part. To run SAS in batch mode I put the following line into a shell script: env WINEPREFIX="/home/user/.wine" wine "C:\Program Files\SAS\SAS 9.1\sas.exe" -NOSPLASH -SYSIN Z:\\home\\user\\Projects\\run.sas -LOG Z: \\home\\user\\Projects\\log -NOSPLASH stopped the splash screen and reduced the number of errors wine reported. -SYSIN specifies the SAS code to run -LOG tells SAS where to put the log file It's a bit long so you can see why I set up a shell script to run code in batch mode. I guess you can set up an alias ~./bashrc something like: alias sas='env WINEPREFIX="/home/brandon/.wine" wine "C:\Program Files \SAS\SAS 9.1\sas.exe" -NOSPLASH -SYSIN' so you can type 'sas Z:\\home\\user\\Projects\\code.sas' in the terminal I never bothered to figure out how to produce reports in batch mode but my guess would be to use ODS HTML FILE= 'Z:\home\user\Projects \output.htm'; in your SAS code.
|
Pages: 1 Prev: regression equations from proc mixed Next: SAS insufficient memory |