[R] R package source branching

2011-12-01 Thread Mehmet Suzen
Dear List, I was wondering if any of you worked on an R package which has many branches on a repository i.e. SVN. Is it recommended to branch an R package source tree based on a specific project? I know it depends on project but it would be great to hear opinions from R community. Best,

Re: [R] memory allocation in R

2011-11-23 Thread Mehmet Suzen
You may want to enable garbage collection on gctorture(on = TRUE) see: ?gctorture ?gcinfo ?object.size -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Marc Jekel Sent: 23 November 2011 15:42 To: R-help@r-project.org

Re: [R] Jordan Form of a matrix

2011-11-11 Thread Mehmet Suzen
Hi Arnau, Not aware of direct implementation. It was discussed in octave project as well (http://octave.1599824.n4.nabble.com/Jordan-canonical-form-td2216965.html) It is numerically ill-conditioned to compute that. See this http://dl.acm.org/citation.cfm?id=355912 Best, Mehmet Süzen, PhD

Re: [R] multivariate random variable

2011-11-01 Thread Mehmet Suzen
You can use mvtnorm package http://cran.r-project.org/web/packages/mvtnorm/index.html -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Anera Salucci Sent: 01 November 2011 11:22 To: r-help@r-project.org Subject: [R] multivariate

Re: [R] calculating joint entropy of many variables

2011-10-31 Thread Mehmet Suzen
You may want to use this for basic measures : http://cran.r-project.org/web/packages/entropy/ from http://strimmerlab.org/software/entropy/ Look at their paper, it may give you some idea Before going into more complicated cases, http://arxiv.org/PS_cache/arxiv/pdf/0811/0811.3579v3.pdf

Re: [R] assignment operator - does not work in a function...

2011-10-31 Thread Mehmet Suzen
Are you running the function with Rscript or R CMD? If yes, try it interactively. Or, try to run them separate functions. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Levent TERLEMEZ Sent: 31 October 2011 13:31 To:

Re: [R] Linear Regression with Linear Equality Constraint

2011-10-31 Thread Mehmet Suzen
I think Alabama package on CRAN can do this; http://cran.r-project.org/web/packages/alabama/index.html -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of JW Sent: 31 October 2011 17:57 To: r-help@r-project.org Subject: [R] Linear

Re: [R] package for time series

2011-10-27 Thread Mehmet Suzen
This book is also pretty good: Introductory Time Series with R Paul S.P. Cowpertwait and Andrew V. Metcalfe http://www.springer.com/statistics/statistical+theory+and+methods/book/9 78-0-387-88697-8 -Original Message- From: r-help-boun...@r-project.org

Re: [R] Simulation from discrete uniform

2011-10-26 Thread Mehmet Suzen
Why don't you use sample; sample(1:10,10,replace=TRUE) -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of BSanders Sent: 26 October 2011 08:49 To: r-help@r-project.org Subject: Re: [R] Simulation from discrete uniform If you wanted

Re: [R] lock a package to specific R version

2011-10-26 Thread Mehmet Suzen
-Original Message- From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sent: 26 October 2011 10:12 To: Uwe Ligges Cc: Mehmet Suzen; r-help@r-project.org Subject: Re: [R] lock a package to specific R version On Wed, 26 Oct 2011, Uwe Ligges wrote: On 25.10.2011 11:42, Mehmet Suzen

[R] lock a package to specific R version

2011-10-25 Thread Mehmet Suzen
Hi, I was wondering if it is possible to lock a package to a specific version of R. Dependency attribute in the package DESCRIPTION only accepts = AFAIU (http://cran.r-project.org/doc/manuals/R-exts.html#fn-3 ) Any work around? Thanks, Mehmet LEGAL NOTICE This message is intended for the use

[R] read.csv behaviour

2011-09-27 Thread Mehmet Suzen
This might be obvious but I was wondering if anyone knows quick and easy way of writing out a CSV file with varying row lengths, ideally an initial data read from a CSV file which has the same format. See example below. I found it quite strange that R cannot write it in one go, so one must

[R] missing message part in R console

2011-09-13 Thread Mehmet Suzen
Dear List, I have compiled R on windows 32bit (v 2.12.2). However, I am not getting the following line: Natural language support but running in an English locale message. What would be the reason for this behaviour? -m PS: R version 2.12.2 (2011-02-25) Copyright (C) 2011 The R Foundation

Re: [R] missing message part in R console

2011-09-13 Thread Mehmet Suzen
Reply to my own question: This is due to internationalisation support: http://cims.nyu.edu/cgi-systems/info2html?%28R-admin.info.gz%29Internati onalization%2520support -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Mehmet Suzen