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

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


Dec
23
comment Once more on object orientation in Mathematica: does it have to be so hard?
@NasserM.Abbasi This is not just on V9 - the form I used in undocumented. But it is the form I needed, and there isn't an easy replacement for it within the documented functionality.
Dec
23
comment Once more on object orientation in Mathematica: does it have to be so hard?
@NasserM.Abbasi It is not free for one thing, and I really want a simple and short implementation for another one.
Dec
23
answered Once more on object orientation in Mathematica: does it have to be so hard?
Dec
23
asked Once more on object orientation in Mathematica: does it have to be so hard?
Dec
23
comment Notation for specifying transformation rules
@Mr.Wizard Not much to thank for :)
Dec
22
comment How to get a plot generated by R returned in an output cell?
@MikeHoneychurch I will have to first talk to the TCS team, to make sure that they approve public upload of the notebooks, and then I will upload them on the http://download.wolfram.com/. I could send the file with examples to you personally though, with a request that you don't distribute it as publicly endorsed by WRI, if you give me your e-mail. You can email me at lshifr at gmail. I might not reply until tomorrow though, since I am mostly off for today.
Dec
22
comment How to get a plot generated by R returned in an output cell?
@MikeHoneychurch In this case, I wrote all those examples (as well as RLink's documentation, of course), just because I was the one most familiar with the topic, so it was much easier for me than for anyone else there.
Dec
22
comment How to get a plot generated by R returned in an output cell?
@MikeHoneychurch You could have pinged me directly about those examples, I am the one responsible for them and their placement. The thing is, I made these extra ones after the main docs were done, and there wasn't enough time to add them to the docs. I will make an effort to get them into V9.0.1 though.
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.