Running R within an iOS application - ios

I'm trying to figure out if this is doable
I know there's a way to run Python or Lua scripts within iOS. Also, I know there are already projects that make this easy to do with libraries and bridging components.
The question is - has this also been done for the R language? I've been looking around online but have only seen posts by people that have done this on a jailbroken environment. Also according to my understanding this does not go against the iOS developer license agreement as section 3.3.2 has been altered to allow running any code that's bundled along with the application binary.
Any suggestions? Directions to try?

https://itunes.apple.com/us/app/r-programming-language/id540809637?mt=8
Also you can run windows applications on iOS:
http://www.technobuffalo.com/2013/10/17/microsoft-app-turns-your-ios-device-into-a-windows-8-1-device/
http://www.net-security.org/secworld.php?id=12872
However, I have not tried these personally.

Related

Run tensorflow on ios with Xcode

I have searched some related questions here, but I can't find the way to solve my problem.
I would like to ask how to run my python script(which includes tensorflow modules) on ios app. Are there any websites that I can follow the steps and install sucessfully? or some useful documents?
Thanks for the help!!
I think this will be hard to do:
Although there are several apps in the app store available, in which you can run python scripts, I think you cannot add external modules there (but I not that sure about that). You could check Pythonista 3, for example.
If you want to do it on your own, e.g. write your own python interpreter - but then please be sure to read point 2.5.2 in the app store review guidelines.

How can I create hybrid apps on IOS?

I see on Android that apps exist to create android apps. I understand nothing like this exists on IOS because of apple's terms. On IOS however, some apps, pythonista for example, allow the user to create scripts that run similar to apps. Is this functionality currently available for hybrid frameworks, IE phonegap/cordova, react native, etc? Barring this, is there some method whereby I can code and test such apps on my iPhone/iPad?
Bottom line, I want to code apps while commuting, etc, on IOS. I understand I need a computer to compile the final product, that's ok, it's just the coding/testing process I want to do on IOS.
I am up for any hack you can think of to make this work, so long as it is accessible with VoiceOver, apple's screen reader, as I cannot see at all. One example of something I thought of that won't work is using remote desktop software, there is no such software that is accessible as it uses an image of the remote screen, I have no access to this.
I am looking forward to your creativity, so far this has me stumped.
Thanks in advance.
Similar to the playgrounds answer, but if you wanted to use Xamarin you could use Continuous .NET. It’s a C# IDE for iOS. You could then use Working Copy to to keep the version on your computer in line.
The other option is to VNC into your computer at home, but if you’re on the train that might not be a great option.
It's not a solution for your problem, but if you have an iPad, you can write parts of apps in Swift Playgrounds. There you have access to all the UIKit stuff. Unfortunately some of the frameworks you can use in iOS are missing.

Is PlayN on iOS possible without licensing MonoTouch?

Following the instructions on the PlayN wiki I was able to get the "hello" PlayN sample running on the iOS simulator. However, when using MonoStudio, I was told that I need to upgrade to an Indie license or higher to compile the code. (Apparently I was using 33+ features which required it.) When I activated a trial edition, the sample compiled and ran fine on the simulator.
The PlayN wiki seems to indicate the you'd only need a license if you plan on testing on a real device. Is it wrong or am I missing something?
Also, I thought the idea behind PlayN was to build a free, open source game engine on top of free, open-source technology. Mono is both, but MonoTouch is neither. Is there another option or am I stuck with shelling out $1000/year to use iOS (which so far seems far from fully implemented on the PlayN side of things)?
Right now, there isn't. Sorry its disappointing, but its the nature of iOS. Its a very non-free platform.
Perhaps you can try your hands at writing a cross compiler, and release it under an opensource license? You can try basing it on http://gcc.gnu.org/java/.

BB10 - Cascades Application - Console/Terminal Application

I am attempting to create a simple terminal application that runs on a BB10 device/simulator. I have gone through all of the available demo/example applications:
http://developer.blackberry.com/native/
I can't seem to find a way to have an application run as a console/terminal/tty-interface on the BB10 device I'm developing for. I was hoping to port some simple console games (ie: maybe a simple thing like "Hunt the Wumpus", http://en.wikipedia.org/wiki/Hunt_the_Wumpus), and then maybe take a crack at a Rogue or Nethack port as well (hopefully without having to depend on the ncurses library (http://en.wikipedia.org/wiki/Ncurses), but it's OK if I have to rely on ncurses. It just saves me from having to write additional interfacing code).
Can someone please provide a short, simple example of what I would need to write in a basic BB10 application that opens a black-and-white terminal with color support? It can be short, and just something I have to paste into an empty project.
Thank you in advance!
Here you go:
https://github.com/blackberry/NDK-Samples/tree/master/HelloWorldDisplay
It's listed near the bottom.

Node.JS Development on iOS?

I'm wondering if there is any chance to run Node.JS on iOS to develop as on desktop? I definitely realize I must have jailbroken iPad to install node or mongodb. The only I've found is good code editor Diet Coda with FTP/SSH support, but no more. How can I get node in "real" terminal on iPad, launching my .js files on certain port etc?
P.s. I'm not big fan of cloud9 'cause it's requires Internet connection and at this time supports only node 0.6
Found a so-so solution: connect to my server via ssh and develop my app in console. But it requires internet connection, that's not good.
A quick search reveals NodeJS on iOS.
The long story short is that I got NodeJS compiled on my jailbroken iPhone 4! It was a long quest to get it working properly but I've done the hard work and compiled a .deb file compatible with Cydia for your installing pleasure...
It's a year and a half old, so the article might be a little out of date, but it's definitely a good starting point. See also how to set up gcc if you need to do that on your iOS device.
Aside: If you're a rooted Android developer, you may be interested in anode.
I am working on an implementation of Node.js on non-jailbroken iOS devices.
http://www.youtube.com/watch?v=xzFH80-HYTo
It is not ready for a public consumption yet, but I am making a good progress and have a plan to open-source it soon.
You can use node.js on iOS without jailbreaking, and without violating any Apple
terms of service. LiquidCore is an open source project that enables node.js on both Android and iOS for deploying micro applications. iOS support is now available from version 0.5.0.
CodeSandbox for iOS works amazingly well, though it's not a console interface.
CodeSandbox for iOS offers a full-fledged development environment with all the tools you need to develop projects of any size. Create a sandbox to quickly prototype your ideas or work on a large codebase with CodeSandbox Projects: whatever your needs are we have you covered.
I've wondered how much work I could get in something like the IconFactory's WorldWideWeb. That company has been around a while, and WWW makes it easy to do work in a browser-hosted environment.
So CodeSandbox almost answers your question, and, if it disappears at some point, WorldWideWeb might be a fallback in a pinch.

Resources