Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

8 results for “from:Ranjan Bagchi”

System exit codes
Ranjan Bagchi · Jul 30, 2008 · r-help

Hi -- Is there a way of detecting the exit code while calling system or pipe? eg (on Unix) > system("perl -e 'print \"foo\\\n\";exit(-1);'") foo Any help appreciated, Ranjan

System exit codes
Ranjan Bagchi · Jul 30, 2008 · r-help

Hi -- Is there a way of detecting the exit code while calling system or pipe? eg (on Unix) > system("perl -e 'print \"foo\\\n\";exit(-1);'") foo Any help appreciated, Ranjan

newbie lapply question
Ranjan Bagchi · Dec 5, 2007 · r-help

Hi -- I just noticed the following (R 2.6.1 on OSX) > lapply(c(as.Date('2007-01-01')), I) [[1]] [1] 13514 This is a bit surprising.. Why does lapply unclass the object? Sorry for such a basic question...

Indexes on dataframe columns?
Ranjan Bagchi · Oct 25, 2007 · r-help

Hi -- I'm working with some data frames with fairly high nrows (call it 8 columns, by 20,000 rows). Are there any indexes on these columns? When I do a df[df$foo == 42,] [which I think is idiomatic...

newbie lapply question
Ranjan Bagchi · Dec 5, 2007 · r-help

On Wed, 5 Dec 2007, Prof Brian Ripley wrote: >[...] Thanks I'll read it more carefully. > Perhaps if you told us what you are trying to achieve we might be able to > help you achieve it. > I have a function...

Idioms for empty dataframes
Ranjan Bagchi · Oct 1, 2007 · r-help

I'm fairly new to R, coming from a programming background -- it's quite nice to work with dataframes, though, as opposed to explicit iteration. One thing I've found, which is surprising is that zero-length dataframes seem to...

System exit codes
Ranjan Bagchi · Jul 30, 2008 · r-help

Thank you -- I missed the bit about the invisible attribute. Can this happen with pipe, as well? > x = readLines(pipe("perl -e 'print \"foo\\\n\";exit(-1);'")) > x [1] "foo" I'd want to know that the command failed so...

Odp: Idioms for empty dataframes
Ranjan Bagchi · Oct 1, 2007 · r-help

Thanks... that's very helpful. Sorry about the typo too > t1 <- t[t$bob < 50, ,drop=F] > t1 [1] bob <0 rows> (or 0-length row.names) > order(t$bob) [1] 1 > On Mon, 1 Oct 2007, Petr PIKAL wrote...

Can't find what you're looking for? Try searching with Google .