56,362 reputation
5158249
bio website mathprogramming-intro.org
location St. Petersburg, Russia
age 37
visits member for 2 years, 6 months
seen 5 hours ago

Ok, an obligatory note: opinions expressed here are mine and not those of my employer.


Dec
22
comment Notation for specifying transformation rules
@Mr.Wizard It is probably ok to do this, but I personally would not probably do this because it may be confusing - by looking at such code (after a while or written by someone else), I would most definitely think that the ampersand was forgotten. Your suggestion is more along the macro-writing ideology, but then I'd write macros consistently. Mathematica does not currently provide the right support for them, although in principle it can be implemented from within Mathematica. Something I was also thinking about :)
Dec
21
comment More structure in Source Code/Notebooks
@acl Ok, you will be among the first people to know when it's ready. I will likely package the code using my new OO extension / framework.
Dec
21
comment More structure in Source Code/Notebooks
@acl I think there is a way to chnage this situation. I have a very preliminary version of a tabbed-based IDE implemented in the FrontEnd. But it needs more work before I can recommend it, and I have to finish a bunch of other things first. I guess the turning point will be when I start using it for all my development, and this did not happen yet.
Dec
21
comment More structure in Source Code/Notebooks
Notebooks are not the right software development tool for larger projects, at least not without some additional framework on top of the standard notebook interface. Generally, you want source code (packages), and some IDE (Workbench is a good choice) to manage them. Notebooks contain too much meta-data.
Dec
21
comment How to get a plot generated by R returned in an output cell?
Can't resist to upvote this one, +1 :)
Dec
20
comment Special Mathematica Cell to work with R code
@Thomas Yes, it is. There is not much auto-magic,though.You can use ? (Information) to see how rcell is implemented: ?RLink`Private`rcell. The replR function is really just a proxy for REvaluate. The code that generates the cell itself is pretty similar to code of WReach referred to by @rm -rf in his answer. The connection to code highlighter is via this option: CellEventActions->RLink`Private`eventActions. The symbol RLink`Private`eventActions is defined by the highlighter package. The latter is located in the Kernel subfolder of RLink.
Dec
20
awarded  Nice Answer
Dec
20
comment _?NumericQ equivalent for lists
Yes, that's right.
Dec
20
comment _?NumericQ equivalent for lists
Try (VectorQ[#,NumericQ]&)
Dec
20
revised Special Mathematica Cell to work with R code
Added a screen shot and a few remarks
Dec
20
comment Special Mathematica Cell to work with R code
@Mr.Wizard Yes, I was busy mainly because of it. Re:earlier - I told folks that I consult for WRI and was developing RLink right when V9 was released, so about 3 weeks ago, in chat. Somehow I was sure that you saw that chat transcript.
Dec
20
comment Special Mathematica Cell to work with R code
@Mr.Wizard Yep:). I developed RLink. But the highlighter part is experimental and not documented therefore.
Dec
20
revised Special Mathematica Cell to work with R code
deleted 6 characters in body
Dec
20
revised Special Mathematica Cell to work with R code
added 251 characters in body
Dec
20
answered Special Mathematica Cell to work with R code
Dec
19
comment Do you know of any web-based university course that is entirely Mathematica based?
Such courses may exist here and there, but mostly created by professors who are at the same time expert Mathematica users / programmers. I know of only one reference of the kind you look for: Math Desktop software (and it is not web-shared). I am sure others will add more links. But my point is, I am not aware of any general framework for this, and creating a complete such solution in Mathematica requires a very significant programming effort. But I agree that M still is an ideal patform for such things.
Dec
19
awarded  Guru
Dec
19
awarded  Enlightened
Dec
19
awarded  Nice Answer
Dec
19
comment Unexpected result from Flatten
@m_goldberg Was glad to help, and thanks for the accept.