Ask Your Question
1

What advantages do Tcl/Tk offer while using sage?

asked 2012-02-16 12:00:44 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

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?

edit retag flag offensive close merge delete

Comments

1

I 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.

kcrisman gravatar imagekcrisman ( 2012-02-16 12:39:54 +0100 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2012-02-16 14:52:19 +0100

Emil Widmann gravatar image

updated 2012-02-16 15:06:05 +0100

I 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.

edit flag offensive delete link more
0

answered 2013-12-26 01:56:51 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

On 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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-02-16 12:00:44 +0100

Seen: 818 times

Last updated: Dec 26 '13