Forum Archive

Analyser and R for IOS

ihf

Many of you have asked for Pandas and SciPY to be added to Pythonista. In earlier threads some mention has been made of the Analyser app that purports to offer these and other data analysis modules that are unavailable here. Analyser is relatively expensive ($15.99) and it does not permit modules to be installed so you get what the author includes. I noticed that the author of Analyser also has an app "R for IOS" which is $.99 so I figured I would try it just to see what kind of code and in particular UI the author creates. I have not tested it extensively but I can say that demo() and help() kill the app.
There does not appear to be a console interface so what you get is an editor into which you can type R code and then click Run which takes you to another window that shows the result. There is apparently no documentation and if you click on support from the iTunes page for the app you are taken to an invalid URL.

Of course I don't know what the Analyser UI looks like and I don't plan on spending $16 to find out. Has anyone tried it? There are no reviews on App store.

ccc

https://forum.omz-software.com/topic/4365/will-pandas-and-scipy-be-available-on-pythonista-in-the-near-future/5

ihf

@ccc Yes, that is where I originally saw Analyser mentioned. I suppose I could/should have put my post there and directed it to @Analyser in case he monitors the forum.

Matteo

@ihf Hi ihf, I don't know R language, but if you need to perform simple R scripts (or Maxima, Gap, GP, HTML, Octave, Singular scripts), the Sage remote server works using a command like R.eval(X) where X is any R script as a python string. You can execute also Octave scripts or render Html pages in the same way, you should use octave.eval()....
For heavy calculations it is better to use a specific App like Analyser, that I dont want to buy due to little free space in my iphone.
Bye

ihf

Actually I have no need to execute R scripts, I only purchased the R for iOS app to see what kind of UI the author of Analyser produces. So far, I am not impressed.

[deleted]

Hi, I also need pandas and scipy on my iPad (and really, really hope that they'll be available in Pythonista one day), so I decided to try the Analyser app (despite the price). My advice: don't waste your money on this app, it's a total rip-off. Its UI is a mix of English, Chinese and empty labels which appear to be randomly placed on the screen and the embedded editor is a joke. I filed a complaint at Apple Support and was able to get my money back, so I just wanted to warn you not to buy this app.

For the moment I'm using Microsoft Azure Notebooks when I need pandas and scipy, works great. But I would welcome an offline solution someday, preferably in Pythonista ofcourse :-)

ihf

@Walter Thanks for the heads-up. Your experience is consistent with mine although I only invested $.99.

Matteo

@Walter Hi, in my opinion if Pythonista will have some powerful python math libraries built-in in next releases, I hope the @omz' App will be less about 500/600 Mb. A good thing would be to allow user to install what he needs and delete/uninstall what he doesn't use, to preserve storage mem; all the important/basic libraries should be protected (read only).
Bye

uja

I guess this shouldn't become an Analyser forum, but on the other hand, it seems one cannot emphasize enough that many would love to see support of Pandas and SciPy in Pythonista.

I made the investment and though the UI is seriously underwhelming, I am quite impressed with Analyser. Besides Python, it contains a pretty rich R environment with lots of popular packages. The main disadvantage is that the editor and the UI overall are rather rudimentary, to put it mildly. Without manually saving it, you may lose your work, for instance. Not an experience you know and like on an iPad.

Nevertheless, for me it is an okay to good offline solution. I certainly wouldn't call it a rip-off.

Phuket2

Maybe I should shut my big mouth, but that does not seem like me :). But the author mentioned in another post that @ccc references that he would be willing to sell the libs (complied in such a way that they could be used by Pythonista) to @omz. Hmmm, well sell is a pretty lose word. One time cost etc. I am not sure
I have no idea what the merits of this would be, regards updates, support etc....bloated App blah blah. Etc.
But if its a simple as raising some money (which I am guessing it not) I would be willing to contribute. I dont have any need for these libs and doubt I ever will. But I am all for anything that improves Pythonista for the users. For the skimpy amount I have paid for Pythonista Vrs the pleasure I have got out, I would have no problem with that. I think some others may feel the same way. I understand everyone has different financial suituations in the here and now, but for me I am in a suituation were I could kick in.
@omz, I hope you don't think I have crossed a line here. Is not my intention to. There are many ways to slice a cake though. I don't pretend to understand the ramifications of what's been suggested. In my own way, I feel I am trying to be helpful.

khilnani

It would be great if @omz could add pandas, Sicily/sklearn and nltk ... not having them is pretty much the reason I have gone back to ssh’ing to a remote server and also using Juno.sh

Bill_Raynor

For the R fans out there, think of Analyser as a batch processor. I found that using Textastic and Files improves the experience. Of course, when I started using R (S, actually) it was Emacs and the CLI, so it wasn't that big of a stretch for me. It's not interactive (see ?interactive).

Also R runs lots of helper programs and uses .so files profusely, which Apple forbids. so it is a cut down version.

[deleted]

Pythonista doesn't have pandas. Even you asked many times. The author doesn't care about users. Just a toy not a tool.

adrius42

@lpl your negotiation skills seem to be somewhat lacking. Do you think your will help or hinder the case for including pandas

FYI: THERE ARE AN EVER GROWING NUMBER OF USERS WHO LOVE PYTHONISTA
and @omz for keeping it alive and ever more functional.

[deleted]

@adrius42 So did he ever give us the answer to the question? More and more people sent the same request. NO ANSWER. Did you try to talk to other developers? I sent emails to other developer and he could write back within 6 hours. And for omz? Maybe within 6 months.

JonB

It had been answered many times -- @omz has said he had no plans to implement scipy or pandas in the near future:

https://forum.omz-software.com/topic/1488/pandas-on-pythonista/22?page=2

https://forum.omz-software.com/topic/2544/wish-list-for-next-release/95#

There are more that I remember. The basic gist is that he has never said it will absolutely never happen, but also said he is not planning it in the near term, or commit to a date because it may or may not work out.

If I needed to use scipy/pandas on my iPad today, I would be using sagecell to run my work in the cloud. Not quite as convienent, but the wrench script works and makes it somewhat transparent. Any other promises or intentions are not going to help you today, and whining about it won't get it implemented sooner.

[deleted]

@JonB "Pandas is more likely to happen (again, no promises!)." 3 YEARS AGO....
LOL.

[deleted]

And Analyser and R for IOS already supported numpy,s.cipy,pandas,statsmodels,scikit-leary/image,nilearn,astroML,pymc,nipy many years ago. So I really don't know what is omz doing now. Maybe ui or other GREATER features instead of the modules in python even lots of people keep asking?

JonB

Analyzer and Juno are two apps that advertise support for scipy/pandas and the like. If that is a priority for you, I'd suggest you invest in one of those apps.

[deleted]

@JonB So even other apps already added them to their apps. And omz still said difficult/will try. And you, almost as an admin in this forum, just said, it's ok, at least it still can be used?

[deleted]

@JonB You really think Pythonista is a toy instead of a Productivity right?

JonB

Do you consider pythonista a toy? I don't
I just don't think pythonista offers pandas today.

If you actually wanted to use pandas, today, you would be using Matteo's excellent sagecell options.

Or, you should check out https://develobile.com/pyto/

Or Juno or Analyzer.

Or the other python app

Those apps offer what you are after. Pythonista currently doesn't.

[deleted]

@JonB https://github.com/holzschu/python3_ios/issues/2 lol.
I mean, I really don't understand why a user, would just feel satisified to this. The author can't make it even all other authors made it already. You would not push the app to move up, but enjoy staying in the warm bed, right?
Isn't pandas a tool which has been used by many projects? And so much many people want pandas in ipad, too. And the author just said difficult/will try for years? And you said it is ok? Such a nice user, just reported bugs, never asked for a feature, and never said no.

ihf

Just curious if anyone has tried Pyto and if so, what were your impressions?

ccc

I find the personal attacks inappropriate and unprofessional. The facts and alternatives have been clearly stated in this thread. If Pythonista does not have the features that you require, then adopt the alternatives but please avoid insults and do not ridicule the hard work of others.

cvp

Fully agree with @ccc

[deleted]

To all of you, if I want a feature, I would say like this, this app is wonderful and the author has added some great features to it, but I noticed that something is missed and I hope you can support this in the future.

And the author said, I will add this in few months/few days. Or I wouldn't add it because of some reasons.

And many people would keep asking why not and show that other apps already added this and it is not very hard. And many people are enjoying this feature.

And the author said nothing, nothing. NOTHING.

And admins said, if you use this, accept the fact that the author didn't care about you at all. Or just shut up.

So many people compromised. But not me.

[deleted]

The author disappeared for many months and this app has not been updated for ONE YEAR. Did you ask anything? Did you feel worried about this app and author? Did you try to communicate with the author? Did you? ADMINS?

JonB

There are no admins here, just folks that like to help out others, and enjoy this app.

Your $10 bought a fully functional app that provided what it promised. You, and others have out their vote in for pandas. The developer has made it clear it is not really a priority for him at this time. He has suggested he might, one day, get to it, without any commitment or time frame.

Based on the thread with hundreds of replies, do you think continuing to beat the dead horse is likely to change that?

Development on this app tends to come in spurts, once a year maybe (usually a few beta versions per year), so holding out hope that the next update will have your desires filled is fruitless.

So, from a pragmatic perspective, if pandas on iOS is actually important to you, today, your options are:
1) use one of the other iOS apps that currently support it.
2) get a developer account, and use the pythonista XCode template, or the open source pyti app, and roll your own personal version, for free.
3) use sagecell from within pythonista, for free

Matteo

@lpl Hi, in my opinion (my opinion tries always to be in favor of democracy) it is better if Pythonista is not so powerful, because otherwise there would be very little chances for other developers. In this way other people can develop apps that try to be closer to users needs (let's say that this creates a good and lively market).

The main vocation of Pythonista is not to be a scientific tool (we all understood it), but an advanced IDE with a lot of features.

omz, the developer is very perfectionist in the things he does (it is my idea) and I suppose he uses a lot of time to plan very well all his development ideas about his app. In other words, I think that to add a c based python library to Pythonista is not so difficult for him, but it is not the main target in his idea about Pythonista and, also, adding c libraries in Pythonista would inevitably give the developer extra responsibility for keeping these libraries up-to-date (it is not to be taken for granted that the updated version of a c-based python library can be easily compiled like the previous one).

The best thing for now could be to install different python IDEs available on Apple Store (everyone has to decide his/her budget: 3$, 15$, 300$, ...) that perform different and specific tasks, and even better if all these apps/IDEs can access to user's iCloud folder, in your device you could run what you want with the IDE that best meets your needs.

If you don't want to install other python apps/IDEs, try to develop something about the sage interface in order to allow user to use pandas in Pythonista console using the remote server but in a way that is as if pandas were really installed in Pythonista, I mean, in order to be able to execute in console each pandas command with any argument and each single pandas command returns the output in console.

I would be grateful to you, because I do not know where to start doing something like that.

Example of session in Pythonista console with pandas available in sage remote server:

>>> data = pandas.read_csv("mydata.csv")   ## here Pythonista sends the pandas command to server with the argument (automatically, the argument 'mydata.csv' is obviously in Pythonista folder, in this case it is in main Documents folder, but you could add relative path for other files) and wait for answer in order to save in data the output
>>> data.head()   ## here Pythonista print data content