[R] cforest Single Tree Output for Categorical Variable

2017-01-13 Thread Sparks, John James
Hello R Helpers, I am building a random forest using the cforest method in the party package. I then want to have a look at the characteristics of a few of the trees. I get the output for one of the trees by executing pt <- party:::prettytree(cforest@ensemble[[3]],

Re: [R] Match ISO 8601 week-of-year numbers to month-of-year numbers on Windows with German locale

2017-01-13 Thread David Winsemius
> On Jan 13, 2017, at 3:20 AM, Janko Thyson wrote: > > Hi David, > > thanks for replying and sorry about the HTML/non-plain-text email (I > forgot to change that, shouldn't have happened). > > Might just be me, but reading "The documentation for R datetime format >

Re: [R] JSON data in data frame

2017-01-13 Thread Archit Soni
Thanks Jeremiah, I'll try this. On Jan 13, 2017 11:23 PM, "jeremiah rounds" wrote: I TAd a course in R computing and the first thing I told students was "inspect. inspect. inspect." d1 <- fromJSON('http://api.openweathermap.org/data/2.5/

Re: [R] JSON data in data frame

2017-01-13 Thread jeremiah rounds
I TAd a course in R computing and the first thing I told students was "inspect. inspect. inspect." d1 <- fromJSON(' http://api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric=ec0313a918fa729d4372555ada5fb1f8 ') names(d1) str(d1) d1 d1$list your_data = d1$list On Fri, Jan 13,

Re: [R] [FORGED] file.exists() on device files

2017-01-13 Thread Jeff Newmiller
Of course they have separate criteria for determining existence... they do different things, and therefore have different requirements for access permissions. -- Sent from my phone. Please excuse my brevity. On January 13, 2017 3:54:35 AM PST, Benjamin Tyner wrote: >Thank

Re: [R] what is f_eval? It has broken the HH package

2017-01-13 Thread Richard M. Heiberger
That solved it. Thank you. On Fri, Jan 13, 2017 at 6:27 AM, Duncan Murdoch wrote: > On 13/01/2017 12:46 AM, Richard M. Heiberger wrote: >> >> I am preparing for the new semester and have downloaded and installed >> R-3.3.2 for Macintosh and Windows, and then the HH

Re: [R-es] input en markdown

2017-01-13 Thread Antonio Maurandi López
sí, efectivamente con knitr está resuelto. en markdown entiendo q no es la filosofía, pero cabría al igual que empelamos el ![iamgen](mipic.png),.. ... Muchas Gracias José Luis El 13/01/17 a las 12:29, José Luis Cañadas escribió: Acabo de leer que preguntabas sin utilizar rmarkdown ni

[R] [R-pkgs] New package: epidata

2017-01-13 Thread Bob Rudis
Hey folks, epidata — https://cran.r-project.org/package=epidata — hit CRAN a few days ago. It provides tools to retrieve Economic Policy Institute data library extracts from their "hidden"-but-well-conceived API, returning pristine data frames. EPI provides researchers,

Re: [R] [FORGED] file.exists() on device files

2017-01-13 Thread Benjamin Tyner
Thank you for the insights, Rolf and Henrik. To give another example, this time in non-interactive mode, Rscript -e "file.exists(commandArgs(TRUE))" <(echo "Hi") [1] TRUE versus Rscript -e "normalizePath(commandArgs(TRUE))" <(echo "Hi") [1] "/dev/fd/63" Warning message: In

Re: [R] what is f_eval? It has broken the HH package

2017-01-13 Thread Duncan Murdoch
On 13/01/2017 12:46 AM, Richard M. Heiberger wrote: I am preparing for the new semester and have downloaded and installed R-3.3.2 for Macintosh and Windows, and then the HH package and its dependencies for both. Everything fresh off CRAN. All works correctly on the Macintosh. On the Windows 10

Re: [R-es] input en markdown

2017-01-13 Thread José Luis Cañadas
Hola ¿Quizá por aquí? https://github.com/yihui/knitr/issues/268 El 13 de enero de 2017, 12:26, Rubén Gómez Antolí escribió: > > > El 13/01/17 a las 11:50, Antonio Maurandi López escribió: > > Hola lista: > > > > Una duda rápida (espero). > > > > ¿Se puede hacer un

Re: [R-es] input en markdown

2017-01-13 Thread Rubén Gómez Antolí
El 13/01/17 a las 11:50, Antonio Maurandi López escribió: > Hola lista: > > Una duda rápida (espero). > > ¿Se puede hacer un "inlcude" o un "input" en markdown? > > sin emplear Rmarkdown o knitr solo puro markdown, de modo que por > ejemplo github lo interprete o un visor básico de

Re: [R] Match ISO 8601 week-of-year numbers to month-of-year numbers on Windows with German locale

2017-01-13 Thread Janko Thyson
Hi David, thanks for replying and sorry about the HTML/non-plain-text email (I forgot to change that, shouldn't have happened). Might just be me, but reading "The documentation for R datetime format parameters ?strptime says %V is ignored on input." in the documentation doesn't really tell me

[R-es] input en markdown

2017-01-13 Thread Antonio Maurandi López
Hola lista: Una duda rápida (espero). ¿Se puede hacer un "inlcude" o un "input" en markdown? sin emplear Rmarkdown o knitr solo puro markdown, de modo que por ejemplo github lo interprete o un visor básico de markdown. la idea es q un file muestre(contenga) todo pero tener la info

[R] JSON data in data frame

2017-01-13 Thread Archit Soni
Hi All, Warm greetings, I am stuck at an issue to convert incoming json response to data frame. I am using below code to get the data library(jsonlite) d1 <- fromJSON(' http://api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric=ec0313a918fa729d4372555ada5fb1f8 ') d2 <-