Combining the Powerful Worlds of Python and R

Combining the Powerful Worlds of Python and R

EuroPython Conference via YouTube Direct link

Functions as arguments In R many functions expect functions as arguments

14 of 18

14 of 18

Functions as arguments In R many functions expect functions as arguments

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Combining the Powerful Worlds of Python and R

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 What is R? • A tool for statistical data analysis and graphical representation of data and results • Open Source
  3. 3 What is Rserve?
  4. 4 pyRserve Python-Land
  5. 5 What is pyRserve?
  6. 6 QAP1 Python-Land
  7. 7 QAP1 - Quad Attributes Protocol V1 • Message-orientierted binary protocol Exchange arbitrary complex data
  8. 8 Installation
  9. 9 Easy start...
  10. 10 First real steps: String evaluation Simple expression in R, result returned to Python
  11. 11 More string evaluation • Creating a function in R and calling it
  12. 12 R Namespaces Connector conn provides two special attributes
  13. 13 A more pythonic approach ... (1)
  14. 14 Functions as arguments In R many functions expect functions as arguments
  15. 15 References to variables in R
  16. 16 Out-of-bound messages ... aka callbacks • Allows R to push messages to Python These trigger pre-defined callback functions • Rserve needs to be started with special config file
  17. 17 Basic usage of Out-of-bound messages Setup a callback function in Python
  18. 18 Application of oob (1): progress report

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.