Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9640 > unrolled thread

Re: What characters are allowed in mathematica variable names? i.e. how

Started by"djmpark" <djmpark@comcast.net>
First post2012-04-14 07:13 +0000
Last post2012-04-15 07:20 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: What characters are allowed in mathematica variable names? i.e. how "djmpark" <djmpark@comcast.net> - 2012-04-14 07:13 +0000
    Re: What characters are allowed in mathematica variable names? i.e. how dr DanW <dmaxwarren@gmail.com> - 2012-04-15 07:20 +0000

#9640 — Re: What characters are allowed in mathematica variable names? i.e. how

From"djmpark" <djmpark@comcast.net>
Date2012-04-14 07:13 +0000
SubjectRe: What characters are allowed in mathematica variable names? i.e. how
Message-ID<jmb82v$r45$1@smc.vnet.net>
You never explain why you are running Mathematica on a cluster in batch
mode.  I could envision someone setting up a highly intensive numerical
calculation, for example, in Mathematica and then feeding it to batch
processing (although I have no experience in that kind of thing). But I
don't see why it would be necessary to work from the command line to do
this.

Mathematica is designed to work with the FrontEnd and notebook interface.
All the nice formatting, display of graphics, finding things, importing and
exporting, and operations such as DynamicModules are integral front end
functionality. If you want FrontEnd functionality you have to use the
FrontEnd, or program it yourself - which means you will probably never get
to the math. 

My suggestion is:

1) Get a good personal computer and work on that. They are not that
expensive. Forget the server.

2) If you have to use a server and batch processing because you absolutely
need processing power that is not available on a PC, then divide the work
into the portion that requires input, specification, formatting,  display
and presentation from that part that needs the intensive processing. Then
use the notebook interface to ship it off to the batch processor, wait for
the results and when they arrive manipulate them for presentation. I'm
fairly certain someone can show you how to do this.

3) If someone is forcing you to use Mathematica solely via the command line
interface but wants front end features then find some better situation. It
will be too frustrating. 

Unless you are in need of special augmented processing power, batch
processing is so 1960's era.


David Park
djmpark@comcast.net 
http://home.comcast.net/~djmpark/index.html 



From: Jesse Perla [mailto:jesseperla@gmail.com] 


Sadly, If I am running mathematica on a cluster in batch jobs, connecting
over ssh I don't have much of a choice.  Sometimes I play around on the
frontend to get things working, but it doesn't do me much good if the output
of the batch process is not readable and full of \[...]

On Thu, Apr 12, 2012 at 4:33 PM, Murray Eisenberg
<murray@math.umass.edu>wrote:

> Not ever to use the Front End seems like a self-imposed unnecessary 
> restriction.
>
>
>

[toc] | [next] | [standalone]


#9657

Fromdr DanW <dmaxwarren@gmail.com>
Date2012-04-15 07:20 +0000
Message-ID<jmdsrl$ad4$1@smc.vnet.net>
In reply to#9640
David,
Don't forget that Workbench is also a perfectly legitimate platform for working in Mathematica, and primarily displays in ASCII. Programming with these Unicode characters with the ungainly \[...] names is a serious pain, and makes for uniquely unreadable code.

Also, camel case is fine when just typing symbol names, but I am currently working on an application where I need to generate symbol names.  Without some kind of delimiting character, some of the generated names may conflict or not be readable.  I ended up using $ out of sheer necessity, as it is on e of the few ASCII non- alphanumeric characters available for naming.

Daniel

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web