[Rd] How to debug an R package (with C code)

2014-01-16 Thread Ma, Saisai - maysy020
Hi all, Sorry to bother you. I am a beginner in R programming. I have encountered some problems when I modified a R package with C code. I would like to modified the C code within the R package, and want to debug the C program. But I have no idea how to debug this kind of R package. In the

[Rd] file.exists does not like path names ending in /

2014-01-16 Thread Gabor Grothendieck
If a path name ends in slash then file.exists says it does not exist. I would have expected these to all return TRUE. file.exists(/Program Files) [1] TRUE file.exists(/Program Files/) [1] FALSE file.exists(normalizePath(/Program Files/)) [1] FALSE R.version.string [1] R version 3.0.2 Patched

[Rd] win.version() incorrect

2014-01-16 Thread Gabor Grothendieck
On Windows 8.1 I get this. win.version() indicates build 9200 but I actually have build 9600 as can be seen from the ver command. shell(winver) also indicates 9600. I assume ver and winver are correct and win.version() is not. win.version() [1] Windows 8 x64 (build 9200) shell(ver)

Re: [Bioc-devel] ordering GenomicRanges without regard for strand

2014-01-16 Thread Hervé Pagès
Hi, Just a quick update on this. I added unstrand() to BiocGenerics 0.9.3. Following the same approach as for unname(), I didn't make it a generic function, just a convenience wrapper to the generic strand setter (‘strand-’): unstrand - function(x) { strand(x) - * x } However I