16.04.2014 Views

Embedding R in Windows applications, and executing R remotely

Embedding R in Windows applications, and executing R remotely

Embedding R in Windows applications, and executing R remotely

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Us<strong>in</strong>g R <strong>in</strong> a Distributed Computer Lab for<br />

Statistics Courses<br />

Thomas Baier<br />

Erich Neuwirth<br />

February 15, 2004<br />

In many of today’s computer labs it is not possible to provide a computer<br />

for every student. Fortunately many students already own a laptop computer<br />

which can be used for these labs. Universities tend to provide LAN or even<br />

WLAN access to the campus network for the student’s computers. These facts<br />

already po<strong>in</strong>t out the solution to the problem.<br />

We will discuss a software-architecture for us<strong>in</strong>g R <strong>in</strong> a distributed lab scenario<br />

<strong>and</strong> will describe the possible approaches <strong>and</strong> show the benefits <strong>and</strong> the<br />

problems aris<strong>in</strong>g from choos<strong>in</strong>g one of them. The discussed scenarios will be<br />

• lab-only <strong>in</strong>stallation <strong>and</strong> access of R<br />

• lab <strong>in</strong>stallations <strong>and</strong> <strong>in</strong>stallations on student computers<br />

• <strong>in</strong>stallation of R on lab computers <strong>and</strong> remote access via term<strong>in</strong>al services<br />

• lab-provided <strong>in</strong>stallation of R <strong>and</strong> remote access via rich clients<br />

• “repositories” of R on lab computers <strong>and</strong> static load balanc<strong>in</strong>g for access<br />

by rich clients on notebooks <strong>and</strong> lab computers<br />

Our discussions will focus on us<strong>in</strong>g R as the computational eng<strong>in</strong>e while<br />

students are work<strong>in</strong>g <strong>in</strong> a spreadsheet-application on W<strong>in</strong>dows platforms. Our<br />

ma<strong>in</strong> concerns are<br />

• ease of <strong>in</strong>stallation both on lab computers <strong>and</strong> for the students’ own computers<br />

• transparency of computation<br />

• ma<strong>in</strong>tenance of packages <strong>and</strong> <strong>in</strong>stallations<br />

• adm<strong>in</strong>istration of sample data <strong>and</strong> prepar<strong>in</strong>g exercises<br />

• data storage <strong>and</strong> (semi-)automatic submission of results<br />

F<strong>in</strong>ally, we will show the implementation chosen for a course tak<strong>in</strong>g place<br />

<strong>in</strong> fall/w<strong>in</strong>ter 2004 at the University of Vienna, Austria <strong>and</strong> discuss future extensions<br />

us<strong>in</strong>g Web Service technology (SOAP/HTTP) as a portable client<strong>in</strong>terface.<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!