[R] Changeing logarithms

2017-11-18 Thread Aino Rprogram
Hi! I'm using a large panel data, and now I have faced some difficulties with my analysis. The predictors are not normally distributed and there are quite many outliers (some of them are influential though). I have tried to change the logarythm, but i'm not sure, how to do that. I want also draw

Re: [R] tcltk problems

2017-11-18 Thread Rolf Turner
On 18/11/17 18:18, Peter Langfelder wrote: Rolf, looking at the configure script I believe you need to specify --with-tcl-config=/usr/lib/tcl8.6/tclConfig.sh and similarly --with-tk-config= HTH. Yes it helped. Thank you. I don't really understand why, but. I had previously (following an

Re: [R] Complicated analysis for huge databases

2017-11-18 Thread Duncan Murdoch
On 18/11/2017 4:40 PM, Allaisone 1 wrote: The loop : AllMAFs <- list() for (i in length(SeparatedGroupsofmealsCombs) { AllMAFs[[i]] <- apply( SeparatedGroupsofmealsCombs[[i]], 2, function(x)maf( tabulate( x+1) )) } gives these errors (I tried this many times and I'm sure I copied it e

Re: [R] [FORGED] Re: tcltk problems

2017-11-18 Thread peter dalgaard
Hum, missed that bit. Looking at the configure script, the only way I can see it failing to look in /usr/lib/tcl8.6 is if ${LIBnn} is not "lib". Any chance it might be set to lib64? -pd > On 18 Nov 2017, at 22:32 , Rolf Turner wrote: > > > On 19/11/17 05:36, Albrecht Kauffmann wrote: > >>

Re: [R] Complicated analysis for huge databases

2017-11-18 Thread Boris Steipe
The correct code is: for (i in 1:length(SeparatedGroupsofmealsCombs)) { ... I had mentioned that this is untested, but the error is so obvious ... B. > On Nov 18, 2017, at 4:40 PM, Allaisone 1 wrote: > > > The loop : > > AllMAFs <- list() > > for (i in length(SeparatedGroupso

Re: [R] [FORGED] Re: tcltk problems

2017-11-18 Thread Rolf Turner
On 19/11/17 05:36, Albrecht Kauffmann wrote: Did you istall the tcl- and tk-devel packages? (a) That should be "dev" not "devel". (b) The answer to your question is, yes, as I made clear in my original post. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics Universi

[R] Using cforest on a hierarchically structured dataset

2017-11-18 Thread hmh
Hi, I am facing a hierarchically structured dataset, and I am not sure of the right way to analyses it with cforest, if their is one. - - BACKGROUND & PROBLEM We are analyzing the behavior of some social birds facing different temperature conditions. The behaviors of the birds were recor

Re: [R] Complicated analysis for huge databases

2017-11-18 Thread David Winsemius
> On Nov 18, 2017, at 1:52 AM, Allaisone 1 wrote: > > Although the loop seems to be formulated correctly I wonder why > it gives me these errors : > > -object 'i' not found > - unexpected '}' in "}" You probably did not copy the entire code offered. But we cannot know since you did not "show

Re: [R] tcltk problems

2017-11-18 Thread Dirk Eddelbuettel
Rolf, A few quick points as I just noticed this thread (as I don't regularly dip into r-help any more): 1) You really do not need to builds R locally on Ubuntu. I update the Debian package hours after Peter cuts a release. Michael rolls Ubuntu releases off these typically the same or

Re: [R] tcltk problems

2017-11-18 Thread Albrecht Kauffmann
Did you istall the tcl- and tk-devel packages? Best, Albrecht -- Albrecht Kauffmann alkau...@fastmail.fm Am Sa, 18. Nov 2017, um 05:00, schrieb Erin Hodgess: > When I have compiled from sourced on Ubuntu, I did NOT include the > "with-tcltk" and it worked fine. Did you try that, please? >

Re: [R] tcltk problems

2017-11-18 Thread peter dalgaard
That should probably work, but I wonder whether the root cause might be non-installation of Ubuntu "-devel" (or is it "-dev"?) Tcl and Tk packages. It doesn't look quite right to have to tell R's configure about a path that depends on the current Tcl/Tk version. I would have expected that tclCon