Re: [R] R help

2012-01-18 Thread Poul Kristensen
data". I hope you are encouraged to stay with the list. Regards Poul 2012/1/18 Berend Hasselman : > > On 18-01-2012, at 12:53, Catarina Maia wrote: > >> hello! >> >> A few days ago I subscribed the R mailing list in order to ask for some >> help. The thing is tha

[R] unable to find an inherited method for function "make.db.names", for signature "character", "missing"

2012-01-17 Thread Poul Kristensen
. Thanks Poul __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] dbWriteTable(con, access_log, overwrite = F).....

2012-01-16 Thread Poul Kristensen
into PostgreSQL I get an error. dbWriteTable(con, access_log, overwrite = F); returns Error in .Internal(is.vector(x, mode)) : 'x' is missing? Thanks Poul Poul Kristensen IT-Konsulent / Consultant Det Kongelige Bibliotek | The Royal Library IT-afdelingen | Information Technology

Re: [R] change values in data frames

2008-06-28 Thread poul
;) >> # now replace all 'i' with 'I' >> x$colb[x$colb == 'i'] <- 'I' >> # replace lon runs with 'h' >> for (i in long){ > + x$colb[(offsets[i]+1):(offsets[i] + z$lengths[i] - 1)] <- > rep('h', z$lengt

[R] change values in data frames

2008-06-27 Thread poul
Hello every body, I am quite a new user of R so I beg your pardon for this naive question and the lake of syntax with wich I ask it: I have a data frames like this: colacolb 1 c 1 i 1 i 1 c 2 i 2 c 2 c 2 i 2 i ... 1 I would like ,for