search for: sebastiangibb

Displaying 4 results from an estimated 4 matches for "sebastiangibb".

2010 Jul 17
4
sort file names in numerical order
Hello, I get some file names by list.files(). These names are in alphabetical order. I want to change it to logical numeric order. Example: > fileNames <- c("A10", "A1", "A2", "B1", "B2", "B10") > sort(fileNames) [1] "A1" "A10" "A2" "B1" "B10" "B2" I want to have:
2013 Oct 15
1
discrepancy between r cmd check --as-cran and messages at submission
...knitr but there is nothing looking like a vignette in your source package.... We also see: * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from Authors@R Author: 'Corentin M Barbu <corentin.barbu@gmail.com> [aut, cre], Sebastian Gibb <mail@sebastiangibb.de> [ctb]' Authors@R: 'Corentin M Barbu [aut, cre], Sebastian Gibb [ctb]' Maintainer field differs from that derived from Authors@R Maintainer: 'Corentin M. Barbu <corentin.barbu@gmail.com>' Authors@R: 'Corentin M Barbu <corentin.barbu@gmail.com>'...
2010 Sep 26
2
get absolute file path
Hello, I get a value which stores a relative file name. (I get it from another function, which I don't want to change.) e.g. > fileName <- "../data/2010-08.csv"; Is it possible to get the absolute file path out of this value? (e.g. /home/sebastian/documents/data/2010-08.csv) Kind regards, Sebastian
2010 Jun 27
2
floating point in single precision
Hello, is there a possibilty in R to convert numbers (double precision, 64bit) into single precision ones (32bit). I need that for compatibility reasons. Until now I call a C application which casts a double to a float. float precision32(double value) { return (float)value; } But I want to use a R only method. What can I do? Kind regards, Sebastian