ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 26 Dec 2013 01:56:51 +0100What advantages do Tcl/Tk offer while using sage?https://ask.sagemath.org/question/8713/what-advantages-do-tcltk-offer-while-using-sage/I am planning to install sage in Ubuntu 10.04. I need to know if installation of Tcl/Tk is absolutely necessary or is optional for use of sage. (The associated FAQ does not clearly state that.) I have not used python earlier so I am confused. The reason I am interested in installing sage is that I will often need to solve differential equations numerically and save the output plot in ps/eps/pdf format so that I can use this in latex input file. I may need to get help with other jobs like evaluating complicated integrations etc. So should I install Tcl/Tk or can I skip it?Thu, 16 Feb 2012 12:00:44 +0100https://ask.sagemath.org/question/8713/what-advantages-do-tcltk-offer-while-using-sage/Comment by kcrisman for <p>I am planning to install sage in Ubuntu 10.04. I need to know if installation of Tcl/Tk is absolutely necessary or is optional for use of sage. (The associated FAQ does not clearly state that.) I have not used python earlier so I am confused. The reason I am interested in installing sage is that I will often need to solve differential equations numerically and save the output plot in ps/eps/pdf format so that I can use this in latex input file. I may need to get help with other jobs like evaluating complicated integrations etc. So should I install Tcl/Tk or can I skip it?</p>
https://ask.sagemath.org/question/8713/what-advantages-do-tcltk-offer-while-using-sage/?comment=20283#post-id-20283I don't have an answer for you, but your use case suggests that you might find SageTeX useful - http://www.sagemath.org/doc/installation/sagetex.html, among other places.Thu, 16 Feb 2012 12:39:54 +0100https://ask.sagemath.org/question/8713/what-advantages-do-tcltk-offer-while-using-sage/?comment=20283#post-id-20283Answer by Emil Widmann for <p>I am planning to install sage in Ubuntu 10.04. I need to know if installation of Tcl/Tk is absolutely necessary or is optional for use of sage. (The associated FAQ does not clearly state that.) I have not used python earlier so I am confused. The reason I am interested in installing sage is that I will often need to solve differential equations numerically and save the output plot in ps/eps/pdf format so that I can use this in latex input file. I may need to get help with other jobs like evaluating complicated integrations etc. So should I install Tcl/Tk or can I skip it?</p>
https://ask.sagemath.org/question/8713/what-advantages-do-tcltk-offer-while-using-sage/?answer=13275#post-id-13275I can think of 2 situations where you could need TCL/TK. First is with R. if you download additional packages from CRAN servers, then TCL/TK provides a GUI Window to select the mirror. However there should be a fallback (text) mode - so this is not crucial.
The second possibility is if you want to use MATPLOTLIB directly from the python packages (scipy, numpy). TCL/TL is one possible "graphic backend". However in that case Sage needs to be compiled with compiler option `MATPLOTLIBGUI=yes`.
So bottom line: Probably you won't need TCL/TK and won't even notice if you don't have it.
Thu, 16 Feb 2012 14:52:19 +0100https://ask.sagemath.org/question/8713/what-advantages-do-tcltk-offer-while-using-sage/?answer=13275#post-id-13275Answer by JoalHeagney for <p>I am planning to install sage in Ubuntu 10.04. I need to know if installation of Tcl/Tk is absolutely necessary or is optional for use of sage. (The associated FAQ does not clearly state that.) I have not used python earlier so I am confused. The reason I am interested in installing sage is that I will often need to solve differential equations numerically and save the output plot in ps/eps/pdf format so that I can use this in latex input file. I may need to get help with other jobs like evaluating complicated integrations etc. So should I install Tcl/Tk or can I skip it?</p>
https://ask.sagemath.org/question/8713/what-advantages-do-tcltk-offer-while-using-sage/?answer=15861#post-id-15861On the other hand, if you want to use R packages, there are a few that depend on tcl/tk themselves (not just the download gui). Ggplot2 comes to mind. Whether you will be able to use the tcl/tk interfaces within these libraries is moot, but they definitely won't compile/install without them.Thu, 26 Dec 2013 01:56:51 +0100https://ask.sagemath.org/question/8713/what-advantages-do-tcltk-offer-while-using-sage/?answer=15861#post-id-15861