![]() Make sure R is available inside the SDK by running the following in Terminal: ln -sf /Library /Developer/SDKs/MacOSX10.4u.sdk/Library For compatibility, the GUI offers an old-style project for Xcode 2.0 named R.xcode which will build PowerPC binary only. The default build is universal, therefore you will need universal R framework and Mac OS X 10.4u SDK. The same effect can be achieved on the command line in the Mac-GUI directory by typing: xcodebuild -target R -configuration Deployment The current development is done using Xcode 2.2.1. Using Xcode load the R.xcodeproj project, select R target (which is the default), set Deployment configuration build. Before compiling R.app make sure R is installed as /Library/Frameworks/R.framework and working. They are available in the form of a Xcode project on the R for Mac OS X pages as well as the SVN repository. ![]() Next:, Previous:, Up: 2.4 How to build and install the R.app The sources for the R.app GUI are currently not included in the global R source distribution. Once you have installed the AquaTclTk libraries and headers files, you can configure R using these additional arguments -with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh -with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh TCLTKLIBS='-framework Tcl -framework Tk' TCLTKCPPFLAGS='-I/Library/Frameworks/Tcl.Framework/Headers -I/Library/Frameworks/Tk.Framework/Headers' Note that currently R.app doesn't support Aqua Tcl/Tk, because of conflicting event loops. If those are not detected automatically, use the following flags with configure: -with-tcl-config=/System/Library/Frameworks/Tcl.framework/tclConfig.sh -with-tk-config=/System/Library/Frameworks/Tk.framework/tkConfig.sh For older versions of OS X you need to obtain Aqua TclTk separately. Next:, Previous:, Up: 2.1.6 Aqua TclTk headers and libraries (optional) Mac OS X 10.4 (Tiger) comes with Aqua TclTk libraries. Tar fxz tk8.4. cd tk8.4.12/unix CFLAGS='-arch i386 -arch ppc -arch ppc64'./configure -with-x -disable-corefoundation -enable-threads -disable-symbols -disable-aqua make sudo make install. Modify the configure part to suit your needs, such as if you don't need all architectures: cd /tmp/ curl -O curl -O tar fxz tcl8.4. cd tcl8.4.12/unix CFLAGS='-arch i386 -arch ppc -arch ppc64'./configure -with-x -disable-corefoundation -enable-threads -disable-symbols -disable-aqua make sudo make install cd./. John Seal wrote: JCM wrote: I still use an old modified version of ASED I use gvim now, but long ago I used the editor in TkDesk, which had a feature I still miss: When you searched for something, matching lines were shown in a new window, and clicking on one jumped the main window to that line. When those cases come up, then the data driving the application would need to be updated. Certainly I could see a situation where the information about an editor is wrong - someone says an editor can do AAA but it can't, or says an editor can't do BBB but it can, if you load a special file or whatever. ![]() It might be interesting to have either option of exploring the editors. Perhaps the program mis designed in a way that one only is asked questions that are relevant to the remaining options, which means that one moves through the options to an answer more quickly, or maybe the user is asked all the questions, because one need might be less important than another that would take them down a different decision path. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |