Re: [R] Alternatives for explicit for() loops

2015-11-01 Thread Duncan Murdoch
On 01/11/2015 7:31 AM, Maram SAlem wrote: > Hi All, > > I'm writing a long code that takes long time to execute. So I used the > Rprof() function and found out that the function that takes about 80% of > the time is the incomb () fucntion (below), and this is most probably > because of the many

[R] Alternatives for explicit for() loops

2015-11-01 Thread Maram SAlem
Hi All, I'm writing a long code that takes long time to execute. So I used the Rprof() function and found out that the function that takes about 80% of the time is the incomb () fucntion (below), and this is most probably because of the many explicit for() loops I'm using.

Re: [R-es] Paquete que autocargue

2015-11-01 Thread Jesús Para Fernández
Desde un .bat puedo ejecutar R, pero puedo cargar un paquete desde un .bat?? Se puede cargar un paquete de R sin necesidad de cargar el GUI de R y que se ejecute solo mi paquete? Gracias!!! Date: Sun, 1 Nov 2015 00:49:06 +0100 Subject: Re: [R-es] Paquete que autocargue From:

[R] ts.intersect() not working

2015-11-01 Thread Sun, Changyou
Hi all, I am trying to combine a single time series with a multivariate ts using ts.intersect(). However, depending on the month, the function may or may not work. Is this a bug or something I missed? Thank you for the help. Edwin Sun = > # Example 1: work well > a2 <- ts(data

Re: [R] Works on Mac, but not Windows: Using tempdir() to determine image location works with .tex file

2015-11-01 Thread Mark Sharp
Did you look at file.path()? R. Mark Sharp, Ph.D. Director of Primate Records Database Southwest National Primate Research Center Texas Biomedical Research Institute P.O. Box 760549 San Antonio, TX 78245-0549 Telephone: (210)258-9476 e-mail: msh...@txbiomed.org > On Oct 31, 2015, at 3:28

Re: [R] Fixed effects estimators doesn't drop or omit

2015-11-01 Thread William Dunlap
You might get better or quicker answers if you ask package-specific questions to the maintainer of the package > maintainer("plm") [1] "Yves Croissant " or to the authors listed in > packageDescription("plm") Package: plm Version: 1.4-0 Date: 2013-12-24

Re: [R] How to get variable name while doing series of regressions in an automated manner?

2015-11-01 Thread Bert Gunter
Ravi et. al: My prior "solution" nagged at me, as I thought it was pretty clumsy -- I was hoping someone would show how to fix it up. As no one did, I finally realized how to do it myself. Here's how to do the iteration to get the right labeling with no pasting or formula() call by using

Re: [R] Alternatives for explicit for() loops

2015-11-01 Thread jim holtman
Why are you recreating the incomb function within the loop instead of defining it outside the loop? Also you are referencing several variables that are global (e.g., m & j); you should be passing these in as parameters to the function. Jim Holtman Data Munger Guru What is the problem that you

Re: [R] (no subject)

2015-11-01 Thread Daniel Wagenaar
Thank you all for your helpful responses. I apologize for the lack of subject line. That is certainly not my habit. It happened because my first email was refused because it was sent using an incorrect "From:" line (an aliases email address, daniel.wagen...@uc.edu) instead of the address I

[R] CentOS 6.5 x86_64 R installation throwing "Error in download.file(url, destfile = f, quiet = TRUE) : unsupported URL scheme" error

2015-11-01 Thread Damion Reeves
Just wondering if any CRAN or "R" guru out there might have seen something like thisand could advise a potential fix (or advise what, if anything I've missed) ? I've installed pre-req packages without an issue: [hostname ]# *yum install libxml2-devel git svn gtk+-devel gtk2-devel

Re: [R] CentOS 6.5 x86_64 R installation throwing "Error in download.file(url, destfile = f, quiet = TRUE) : unsupported URL scheme" error

2015-11-01 Thread peter dalgaard
3.2.0 is the problem. Support for HTTPS was streamlined in 3.2.2. You either need to choose an HTTP mirror (if you can trust your communication lines -- the reason for the change is that it was a security hole for people with untrusted connections: free wifi, etc.), or figure out how to