[Rd] Serial connections?

2010-04-20 Thread Blair Christian
Does anybody know if there is any support to read from serial ports? I just got an arduino, and wanted to write some scripts for working with real time streaming sensor data... In base::connections documentation, it's not clear if there's an easy way to do this? Any ideas on hacking it? I'm open

[Rd] Segfault reporting: memory not mapped error

2009-10-25 Thread Blair Christian
Is this the right place to report segfaults? spc$ R CMD BATCH driver.q rOut.txt spc$ tail -16 rOut.txt /Library/Frameworks/R.framework/Resources/bin/BATCH: line 60: 5461 Segmentation fault ${R_HOME}/bin/R -f ${in} ${opts} ${R_BATCH_OPTIONS} > ${out} 2>&1 *** caught segfault *** address 0x

[Rd] unit testing for R packages?

2009-10-05 Thread Blair Christian
Hi All, I'm interested in putting some unit tests into an R package I'm building. I have seen assorted things such as Runit library, svUnit library, packages with 'tests' directories, etc I grep'd "unit test" through the writing R extensions manual but didn't find anything. Are there any sugges