SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Trying to use sienascript for Mac OSX [ Reply ]
By: Ruth Ripley on 2010-03-08 03:08
[forum:2628]
I think you must have TK running OK to get as far as you did. The message suggests that the files are not where RSiena was looking for them. If you copy sienascript into the examples folder and run it there I think it will work.

Trying to use sienascript for Mac OSX [ Reply ]
By: R. Karl Rethemeyer on 2010-03-07 23:51
[forum:2627]
Hi,

I'm trying to use the GUI for Mac. I installed R, RSiena, and have done the chmod step for sienascript. The script will execute, but after I load a dataset (the EIES trial data), I click on Apply and then click "no" to saving. The program then stops operating. Here is the output from the X11 terminal:

Last login: Sun Mar 7 18:23:53 on ttys000
/Library/Frameworks/R.framework/Versions/2.10/Resources/library/RSiena/sienascript ; exit;
r-karl-rethemeyers-macbook-air:~ kretheme$ /Library/Frameworks/R.framework/Versions/2.10/Resources/library/RSiena/sienascript ; exit;
Error in file(file, "rt") :
no function to return from, jumping to top level
Calls: read.table -> file
In addition: Warning message:
In file(file, "rt") :
cannot open file 'EIES1.dat': No such file or directory
Execution halted
logout

[Process completed]


When I took the SIENA course with Dr. Snijders last summer in Kansas, I was told to install a package Tktable2.10. I tried to compile Tktable, but I can't get my machine to find the Gcc compiler. When I try to run ./configure, I get this message:

bash-3.2$ cd /Users/kretheme/Desktop/StOCNET/Tktable2.10
bash-3.2$ ./configure
checking for correct TEA configuration... ok (TEA 3.7)
checking for Tcl configuration... found /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking for existence of /System/Library/Frameworks/Tcl.framework/tclConfig.sh... loading
checking for Tk configuration... found /System/Library/Frameworks/Tk.framework/tkConfig.sh
checking for existence of /System/Library/Frameworks/Tk.framework/tkConfig.sh... loading
configure: --prefix defaulting to TCL_PREFIX /usr
configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
bash-3.2$


Any idea what I'm doing wrong?


Karl Rethemeyer

Thanks to:
Vienna University of Economics and Business Powered By FusionForge