R Package Writing Workshop

Walk through creating an R package from scratch - setting up the package skeleton, adding functions and data, and creating package documentation. If time permits, show an example of using C/C++ to interface the package with a 3rd party library. About the presenter: Rory Winston did an MSc in Applied Computing in Galway in Ireland. Set up and ran a training and consulting company before moving to London in 2001. Worked in the telecomms and finance sectors in London for 10 years, obtained an Masters in Finance from London Business School in 2007. Since 2005 Rory has worked as a consultant in the financial sector building real-time trading systems. Moved to Oz in Jan 2010 and work in one of the big 4 banks doing software development on foreign exchange trading systems.

Join or login to comment.

  • Jeromy Anglim

    link to video and slides from the talk: http://www.r-bloggers.com/RUG/2...­

    March 4, 2011

  • Mai Dang

    Good Introduction and Thank You.

    February 18, 2011

  • Jeromy Anglim

    After seeing Rory's talk I feel like I have a good launching pad for getting into R package writing.

    February 18, 2011

  • A former member
    A former member

    Really useful, thanks very much Rory

    February 18, 2011

  • Pauline Chou

    The presentation was clear and logical. I really liked the running example used.
    The audience was very helpful is assisting answering questions.
    Overall, a very good event!

    February 18, 2011

  • Troy Lynch

    Well thought out presentation on how to put together an R Package. Rory explained each step quite well, even to the point of each line of code (as well as basic elements). He was well aware of the different R skill levels among the attendees. One left with a sense of confidence that Rory had covered the essential elements required to build an R Package. Thanks for the presentation, Rory.

    February 18, 2011

  • Yuval Marom

    As always we'll be going to The Colonial after the meetup for dinner. Anyone who can't make it to the meetup but would like to join us for dinner please do. We'll be there around 7:30-8. The address is 585 Lonsdale Street.

    February 15, 2011

  • Hong Ooi

    What would be really nice to see is something on integrating R's package build process with Visual C++, which AIUI is the de facto standard in the Windows world. I know that base R won't compile on VC++ without massaging, but packages should be doable.

    Tips on using other languages besides C/C++/Fortran would also be nice: Java, C#, etc. I haven't done much of this myself, but I'm sure it would be very interesting for a lot of people.

    January 27, 2011

  • Mai Dang

    Creating R package would be fantastic and also how to compile some 32 bit packages into 64 bit ones would also be helpful. Do I need to buy or download compiler C/C++, Fortran etc.

    October 15, 2010

  • Rory Winston

    @Jeremy: thats a very useful example, I was trying to think of some C/C++ frameworks out there that didnt already have R bindings. That looks like a good possibility!

    @Geoff: I think an R package writing session would definitely have to cover both (or at least mention any differences in package creation process between Windows and Unix). And yes, it is definitely worthwhile putting reusable code in a package even if not ultimately destined for CRAN - I've found it a very useful approach.

    October 14, 2010

  • Geoff Robinson

    I imagine that a session on writing R packages would be useful to me. Would it cover both Unix and Windows? Are there many different styles of doing this? Is it worthwhile to put code into a package even though I have no intention of submitting it to CRAN?

    October 14, 2010

  • A former member
    A former member

    The idea of walking through interfacing with a 3rd party library sounds particularly interesting. Maybe Alglib's Decision Forest would be a useful example?: http://www.alglib.net/dataanaly...­

    October 14, 2010

Our Sponsors

People in this
Meetup are also in:

Sometimes the best Meetup Group is the one you start

Log in

Not registered with us yet?

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy