Re: [R] Creating a "very long" function in R

2014-05-31 Thread David Winsemius
On May 31, 2014, at 4:24 PM, David Winsemius wrote: > > On May 31, 2014, at 3:17 PM, Yuriy Strilets wrote: > >> Dear All, >> >> >> >> I would appreciate if someone could give any hint/ provide a solution if >> it's possible in R to create such a function where many similar >> mathematical ex

Re: [R] split string and count

2014-05-31 Thread arun
Hi, May be this helps: vec1 <- c("Humanities, Multidisciplinary; Social Sciences, Interdisciplinary; History", "History","Sociology; Religion","Humanities, Multidisciplinary;","Social Sciences, Interdisciplinary","Literature","Sociology; Religion") res1 <- as.data.frame(table(unlist(strsplit(v

Re: [R] Creating a "very long" function in R

2014-05-31 Thread David Winsemius
On May 31, 2014, at 3:17 PM, Yuriy Strilets wrote: > Dear All, > > > > I would appreciate if someone could give any hint/ provide a solution if > it's possible in R to create such a function where many similar > mathematical expressions organized in a given way. > > For example, to create a f

[R] Creating a "very long" function in R

2014-05-31 Thread Yuriy Strilets
Dear All, I would appreciate if someone could give any hint/ provide a solution if it's possible in R to create such a function where many similar mathematical expressions organized in a given way. For example, to create a function: f(x)=(...(((x^x)^x)^x)...^x)^x (x is encountered n times). Or

[R] Particular case of a factorial experiment

2014-05-31 Thread Fiorella Alexandra Flores Caceres
Hi, Is there any package related to Analysis of a factorial experiment with more than one control treatment? if there is no package to do this, then, could you give me references of books about it? For help to create a program for it. Thanks. Fiorella Flores [[alternative HTML version d

Re: [R] Skipping .Rd files and using Org-mode instead?

2014-05-31 Thread Thorsten Jolitz
Rolf Turner writes: > On 01/06/14 03:52, Thorsten Jolitz wrote: >> >> Hi List, >> >> it seems that .Rd files are just an intermediary format used for >> exporting to txt, html and latex when creating an R package. >> >> How flexible is the R package mechanism? Would it possible to skip .Rd >> fil

Re: [R] Skipping .Rd files and using Org-mode instead?

2014-05-31 Thread Rolf Turner
On 01/06/14 03:52, Thorsten Jolitz wrote: Hi List, it seems that .Rd files are just an intermediary format used for exporting to txt, html and latex when creating an R package. How flexible is the R package mechanism? Would it possible to skip .Rd files alltogether, write the docs with another

[R] Skipping .Rd files and using Org-mode instead?

2014-05-31 Thread Thorsten Jolitz
Hi List, it seems that .Rd files are just an intermediary format used for exporting to txt, html and latex when creating an R package. How flexible is the R package mechanism? Would it possible to skip .Rd files alltogether, write the docs with another tool (e.g. Emacs Org-mode), export them t

[R] RODBC and PosgreSQL problems

2014-05-31 Thread Paul Gilbert
I'm not sure if this was due to mailer wrap, but I think you are putting a between the end of the table name and the quote mark, and possibly that or a space is being included in the table name in the sqlQuery() statement. Do you have the same problem if you put the quote mark immediately afte

Re: [R] RODBC and PosgreSQL problems

2014-05-31 Thread Frede Aakmann Tøgersen
Hi Not sure was is going on! Can you try to do the sqlQuery without the paste function? Like this: sqlQuery(DRCch,"SELECT * FROM tblCeramicWare")) By the way your sqlTables doesn't list the tblCeramicWare table. Br. Frede Aakmann Tøgersen Sendt fra Samsung mobil Oprindelig medde