SlideShare a Scribd company logo
1 of 15
Download to read offline
Data Science NL Meetup
Utrecht, 23 January 2014

-fun in Utrecht
ichard Gill
!
http://www.math.leidenuniv.nl/~gill

(R on an iDevice)
R on iOS ?

Sure, thanks to ech0chrome

•

http://leafmoon.users.sourceforge.net/cydia/

•

http://twitter.com/#!/ech0chrome

•

Taiju Yamada <ech0chrome@104.net>
R on iOS

•

First jailbreak iDevice – gain root privileges and
circumvent Apple restrictions (your legal right, AFAIK)

•

Jailbreak restores hidden functionality and installs Cydia
(App Store for lots more)

•

Apple doesn’t (yet) see difference & device can be
restored to original state – no loss of warranty
Why jailbreak an iThing?
•

iPhone, iPad speed, memory, storage, monitor
(number of pixels) of typical 10 years old desktop, plus...
•

Internal mobile internet modem (3G cell phone)

•

Bluetooth, Wireless, USB connections...

•

Gorgeous GUI on top of a (BSD) UNIX

•

Apple treats you like a child

•

Why climb Everest? Because it’s there
Jailbreaking
•

At time of writing: works on all iDevices running iOS 7;
not difficult or risky AFAIK (but make a backup first!)
•

Run evasi0n 7 on Mac or PC connected by USB

•

Uses known CPU architecture & vulnerabilities in Apple’s boot process

•

Note: the next generation will have new initially unknown architectures

•

Next upgrade of iOS 7 might well remove currently exploited vulnerability

•

Downgrading a currently installed iOS is essentially impossible

•

Last upgrade of earlier iOS essentially makes earlier exploits impossible
Jailbreaking iPad2, iOS 7.0.4
•

Backup; download evasi0n7; connect and run

•

Install OpenSSH and change passwords (alpine)
of root and of user (mobile)

•

Install more cool stuff and useful tools

•

You can’t upgrade iOS

•

You can re-install iOS, and then restore your personal
stuff from iTunes backup (jailbreak lost)
Cydia

Terminal

Fin

de
r

bile ot
mo tsp
a
I’m ss ho
ele
wir
Cydia “Installed”
Open in
pdf viewer
from
Finder
Amst-R-dam.pdf

0.00

0.05

0.10

0.15

TrueHistogram of sample, size 1000
gamma dist’n, shape=7,
seed=11091951
probability density superimposed

5

10

15

“truehist” from library MASS, all options default
data
Have fun!
•

Remember to change the passwords of root and of
mobile from alpine to ...

•

Be prepared for annoyance as Apple, hackers,
play cat and mouse

•

Beware of scams and rumours, don’t pay anyone
anything!

•

Don’t count on jailbreak still being possible a few
models / iOS versions later
Postscript (1)
•

Why I don’t use it much: can’t install extra libraries;
touchscreen iOS keyboard has no tab, ctrl, arrow keys…

•

Apple has made life of a non-standard developer almost
impossible (code signing, …)

•

Should you develop on the iDevice or outside?

•

If you’ve got internet, why not do R in the cloud?

•

RStudio Server … !
(but: a bug presently prevents effective use from iDevice)
Postscript (2)
•

http://gamma-level.com/iphoneos/ports/texlive
(Aaron Griffith) provides Cydia-based install of LaTeX
•

Just needs Perl from http://coredev.nl/

•

iOS hard disk has small partition for system, large partition for
user. But you can move, symlink /usr/local (system partition)
to /private/var/local (user partition), see http://coredev.nl/

•

Griffith also explained how he made his own build,
could be useful ... !

•

However these instructions don’t work on latest iOS
R inside

The End

More Related Content

Similar to R fun utrecht

Introduction to iOS Development
Introduction to iOS DevelopmentIntroduction to iOS Development
Introduction to iOS Development
Asim Rais Siddiqui
 
Ipod presentation
Ipod presentationIpod presentation
Ipod presentation
har139
 

Similar to R fun utrecht (20)

Ios operating system
Ios operating systemIos operating system
Ios operating system
 
Introduction to iOS Development
Introduction to iOS DevelopmentIntroduction to iOS Development
Introduction to iOS Development
 
Touch id in iphone 5s
Touch id in iphone 5sTouch id in iphone 5s
Touch id in iphone 5s
 
Unity: What does it take to port a browser title to mobiles
Unity: What does it take to port a browser title to mobilesUnity: What does it take to port a browser title to mobiles
Unity: What does it take to port a browser title to mobiles
 
iOS
iOSiOS
iOS
 
Android and ios cracking, hackintosh included !
Android and ios cracking, hackintosh included !Android and ios cracking, hackintosh included !
Android and ios cracking, hackintosh included !
 
Troopers14 Advanced Smartphone forensics - Vladimir Katalov
Troopers14 Advanced Smartphone forensics - Vladimir KatalovTroopers14 Advanced Smartphone forensics - Vladimir Katalov
Troopers14 Advanced Smartphone forensics - Vladimir Katalov
 
iBeacons for Everyone, From iOS to Android
iBeacons for Everyone, From iOS to AndroidiBeacons for Everyone, From iOS to Android
iBeacons for Everyone, From iOS to Android
 
Mobile & Wearables Games for Health 2014 Tutorial
Mobile & Wearables Games for Health 2014 TutorialMobile & Wearables Games for Health 2014 Tutorial
Mobile & Wearables Games for Health 2014 Tutorial
 
Icloud by Apple
Icloud by AppleIcloud by Apple
Icloud by Apple
 
iCloud Presentation Notes
iCloud Presentation NotesiCloud Presentation Notes
iCloud Presentation Notes
 
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...
It's Assembler, Jim, but not as we know it: (ab)using binaries from embedded ...
 
The ipad
The ipadThe ipad
The ipad
 
Apple i pad2
Apple i pad2Apple i pad2
Apple i pad2
 
iCloud
iCloudiCloud
iCloud
 
jQueryUI and HTML5 Video Play Nice
jQueryUI and HTML5 Video Play NicejQueryUI and HTML5 Video Play Nice
jQueryUI and HTML5 Video Play Nice
 
Ipod presentation
Ipod presentationIpod presentation
Ipod presentation
 
Ppt by saikumar icloud
Ppt by saikumar icloudPpt by saikumar icloud
Ppt by saikumar icloud
 
Presentation on iOS
Presentation on iOSPresentation on iOS
Presentation on iOS
 
ARIHSL Presentation: Today's Tech - What a Practicing Librarian Needs to Know
ARIHSL Presentation: Today's Tech - What a Practicing Librarian Needs to KnowARIHSL Presentation: Today's Tech - What a Practicing Librarian Needs to Know
ARIHSL Presentation: Today's Tech - What a Practicing Librarian Needs to Know
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

R fun utrecht

  • 1. Data Science NL Meetup Utrecht, 23 January 2014 -fun in Utrecht ichard Gill ! http://www.math.leidenuniv.nl/~gill (R on an iDevice)
  • 2. R on iOS ? Sure, thanks to ech0chrome • http://leafmoon.users.sourceforge.net/cydia/ • http://twitter.com/#!/ech0chrome • Taiju Yamada <ech0chrome@104.net>
  • 3. R on iOS • First jailbreak iDevice – gain root privileges and circumvent Apple restrictions (your legal right, AFAIK) • Jailbreak restores hidden functionality and installs Cydia (App Store for lots more) • Apple doesn’t (yet) see difference & device can be restored to original state – no loss of warranty
  • 4. Why jailbreak an iThing? • iPhone, iPad speed, memory, storage, monitor (number of pixels) of typical 10 years old desktop, plus... • Internal mobile internet modem (3G cell phone) • Bluetooth, Wireless, USB connections... • Gorgeous GUI on top of a (BSD) UNIX • Apple treats you like a child • Why climb Everest? Because it’s there
  • 5. Jailbreaking • At time of writing: works on all iDevices running iOS 7; not difficult or risky AFAIK (but make a backup first!) • Run evasi0n 7 on Mac or PC connected by USB • Uses known CPU architecture & vulnerabilities in Apple’s boot process • Note: the next generation will have new initially unknown architectures • Next upgrade of iOS 7 might well remove currently exploited vulnerability • Downgrading a currently installed iOS is essentially impossible • Last upgrade of earlier iOS essentially makes earlier exploits impossible
  • 6. Jailbreaking iPad2, iOS 7.0.4 • Backup; download evasi0n7; connect and run • Install OpenSSH and change passwords (alpine) of root and of user (mobile) • Install more cool stuff and useful tools • You can’t upgrade iOS • You can re-install iOS, and then restore your personal stuff from iTunes backup (jailbreak lost)
  • 9.
  • 11. Amst-R-dam.pdf 0.00 0.05 0.10 0.15 TrueHistogram of sample, size 1000 gamma dist’n, shape=7, seed=11091951 probability density superimposed 5 10 15 “truehist” from library MASS, all options default data
  • 12. Have fun! • Remember to change the passwords of root and of mobile from alpine to ... • Be prepared for annoyance as Apple, hackers, play cat and mouse • Beware of scams and rumours, don’t pay anyone anything! • Don’t count on jailbreak still being possible a few models / iOS versions later
  • 13. Postscript (1) • Why I don’t use it much: can’t install extra libraries; touchscreen iOS keyboard has no tab, ctrl, arrow keys… • Apple has made life of a non-standard developer almost impossible (code signing, …) • Should you develop on the iDevice or outside? • If you’ve got internet, why not do R in the cloud? • RStudio Server … ! (but: a bug presently prevents effective use from iDevice)
  • 14. Postscript (2) • http://gamma-level.com/iphoneos/ports/texlive (Aaron Griffith) provides Cydia-based install of LaTeX • Just needs Perl from http://coredev.nl/ • iOS hard disk has small partition for system, large partition for user. But you can move, symlink /usr/local (system partition) to /private/var/local (user partition), see http://coredev.nl/ • Griffith also explained how he made his own build, could be useful ... ! • However these instructions don’t work on latest iOS