[R] Rmpfr drives me *Rmpfr*

2016-08-16 Thread Ferri Leberl
Thank you for your answer. The installation of Rmpfr ends with an error: checking for mpfr.h... no configure: error: Header file mpfr.h not found; maybe use --with-mpfr-include=INCLUDE_PATH ERROR: configuration failed for package ‘Rmpfr’ * removing ‘/usr/local/lib/R/site-library/Rmpfr’ Die

Re: [R-es] RV: zyka RD

2016-08-16 Thread eric
veo q tienen el mismo numero de columnas, asi es que los puedes leer en R con read.csv(), los puedes unir en un unico data.frame con rbind() y luego exportar a un archivo con write() algo asi filenames <- list.files(path ="/home2/neo/Tesis/4tesis/2.objesp/experimento/expnov/4fames/",

[R-es] RV: zyka RD

2016-08-16 Thread Dr. José A. Betancourt Bethencourt
Estimados Quisiera saber cómo combinar varios archivos csv pero no de manera manual, sino con un script Saludos José -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de

Re: [R] [R Survey Analysis] Problem counting number of responses

2016-08-16 Thread Jim Lemon
Hi Lauren, As Sarah noted, if your blank responses are coming as NAs, it may be best to leave them alone until you have done the calculations: survey$responses<-!is.na(survey[,c("q1","q2","q3")]) survey$sum_survey<-rowSums(survey[,c("q1","q2","q3")],na.rm=TRUE) # the next line returns a logical

Re: [R] Need help with use of ROCK algorithm in R for binary data

2016-08-16 Thread Nordlund, Dan (DSHS/RDA)
You should really go to the help page for the function rockCluster() and run the first example and study the output. It should become clear that what you are calling the cluster is not a cluster at all. It is an indicator of which objects *did not* cluster with any other objects ). In

Re: [R] Need help with use of ROCK algorithm in R for binary data

2016-08-16 Thread Matej Zuzčák
Hi, thank you very much for your reply. :-) - So I have really only four objects in this data set. It looks this: objects cat1 cat2 cat3 cat4 ... A TRUEFALSE FALSE FALSE B TRUEFALSE TRUEFALSE C TRUEFALSE FALSE FALSE D

[R-es] RV: zyka RD

2016-08-16 Thread Dr. José A. Betancourt Bethencourt
De: Dr. José A. Betancourt Bethencourt [mailto:jbetanco...@iscmc.cmw.sld.cu] Enviado el: martes, 16 de agosto de 2016 06:18 Para: 'r-help-es@r-project.org' Asunto: zyka RD Estimados Quisiera saber cómo combinar varios archivos csv pero no de manera manual,

Re: [R] [R Survey Analysis] Problem counting number of responses

2016-08-16 Thread Sarah Goslee
Hi Lauren, I'm not entirely sure what your sample code is suppoesd to do, since it isn't complete R code, and it would be much easier to answer your question if you provided sample data and didn't post in HTML. dput(head(survey)) would be enough sample data, most likely. But if I'm

Re: [R] [R Survey Analysis] Problem counting number of responses

2016-08-16 Thread Greg Snow
Lauren, The easier that you make it for us to help you, the more likely you are to get help and the more helpful the answers will be. First, please post in plain text (not HTML). Second, reproducible code (including sample data) helps us help you. Your code above is incorrect, the 3 lines with

[R] [R Survey Analysis] Problem counting number of responses

2016-08-16 Thread Lauren Bolger
M ​y dataset includes a survey completed by research participants to evaluate quality of life. A few things regarding the survey: - *not all questions must be answered​ for the total score * - questions left blank are coded as "0" - ​the number of questions answered must be determined

[R] RDCOMclient copy excel chart to powerpoint

2016-08-16 Thread Patrick Doelp
Hello, I'm currently working on a project that requires me to create charts in excel and copy them to a powerpoint presentation. I've been using the RDCOMclient package to build the charts in excel. I'm now working on actually moving the charts from excel to powerpoint and I can't seem to figure

Re: [R] Error in riv package

2016-08-16 Thread David Winsemius
> On Aug 16, 2016, at 11:07 AM, Shivi Bhatia wrote: > > HI Team, > > I am working to reduce the # of predictor variables from the model using > woe and iv values. For this i am using riv package. However i am having a > hard time installing this package: > >

Re: [R] Accessing an object using a string

2016-08-16 Thread Greg Snow
Ista, The original poster did discover the get function and posted that (in a different thread). Personally I don't recommend get for things like this for similar reasons that I don't suggest a loaded pistol be used to swat a fly, it may be effective for the immediate problem, but has potential

Re: [R] Antwort: Re: Accessing an object using a string

2016-08-16 Thread Jeff Newmiller
My example shows that using a dedicated environment allows you to segregate the items loaded from the save file from the objects you are working with. It has the advantage that any kind of object or collection of objects can be loaded that way. It has the disadvantage that you have to keep

[R] Error in riv package

2016-08-16 Thread Shivi Bhatia
HI Team, I am working to reduce the # of predictor variables from the model using woe and iv values. For this i am using riv package. However i am having a hard time installing this package: install_github("riv","tomasgreif") install.packages("DBI",dependencies=TRUE) The error i receive is :

Re: [R] Accessing an object using a string

2016-08-16 Thread Ista Zahn
I'm surprised no one has given what I consider to be the standard answer to this questions, namely ?get. Won't for (i in object_list) { print(paste0("Object '", i, "' in '", file_name, "' contains:")) str(get(i)) print(names(get(i))) # works } do what you want? Best, Ista On

Re: [R] Accessing an object using a string

2016-08-16 Thread Bert Gunter
Inline. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Aug 15, 2016 at 11:43 PM, wrote: > Hi Greg > and all others who replied

Re: [R] R Shiny convert into Java

2016-08-16 Thread Doran, Harold
You should ask this on the Shiny google group. But, Shiny depends on R, so what you¹re wanting to accomplish is not possible On 8/16/16, 9:11 AM, "Venky" wrote: >Hi, > >How to run Shiny (Server,UI) into JAVA? > >I am running R Shiny app using R >But i want to run those

Re: [R] Accessing an object using a string

2016-08-16 Thread Greg Snow
Interestingly I just gave a presentation on this last Friday. Using load it is a little more complicated since load reads the object name from the file as well (which can lead to overwriting objects if loading from more than one file). So it is better to use another save format if possible. One

[R] [R-pkgs] RQGIS 0.1.0 release

2016-08-16 Thread Jannes Münchow
Dear all, We proudly announce the release of RQGIS! RQGIS establishes an interface between R and QGIS (probably the most widely used open-source Desktop GIS!), i.e. it allows the user to access the more than 1000 QGIS geoalgorithms from within R. To install it, run: install.packages("RQGIS")

[R] dissimilarity matrix using SAX distance

2016-08-16 Thread AURORA GONZALEZ VIDAL
Dear all, I'm trying to cluster some data using SAX distance that was described in the paper "a symbolic representation of time series with implications for streaming algorithms" http://www.cs.ucr.edu/~eamonn/SAX.pdf Once I have my data in matrix format, which function can I use to compute the

Re: [R] effect.clm

2016-08-16 Thread Fox, John
Dear David, Effect.clm() isn't properly passing optional arguments like xlevels. The problem occurs in some other Effect() and effect() methods as well, and the fix seems simple. I've corrected these functions in the development version of effects package on R-Forge. We'll need to test more

[R] R Shiny convert into Java

2016-08-16 Thread Venky
Hi, How to run Shiny (Server,UI) into JAVA? I am running R Shiny app using R But i want to run those functions in Java without dependent of R Please help me on this anyone Thanks and Regards Venkatesan [[alternative HTML version deleted]]

[R] effect.clm

2016-08-16 Thread David Barron
I'm having a problem using the xlevels option with effect (or Effect) with objects of class clm, which seems to have no impact on the output (whereas it does for models of class polr). Can anyone suggest how to fix this? Thanks, David Here's an example: mod.wvs <- MASS::polr(poverty ~ gender +

[R] help: about lemmatization with treetagger tool

2016-08-16 Thread Ranjana Girish
To do lemmatization in R, I executed code below library("koRpus") tagged.results <- treetag(c("run", "ran", "running"), treetagger="manual", format="obj", TT.tknz=FALSE , lang="en", TT.options=list(path="C:/Program Files/TreeTagger",

[R] Antwort: Re: Accessing an object using a string

2016-08-16 Thread G . Maubach
Hi Greg and all others who replied to my question, many thanks for all your answers and help. Currently I store all my objects in .GlobalEnv = Workspace. I am not yet familiar working with different environments nor did I see that this would be necessary for my analysis. Could you explain

Re: [R] Need help with use of ROCK algorithm in R for binary data

2016-08-16 Thread PIKAL Petr
Hi see in line > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Matej > Zuzčák > Sent: Monday, August 15, 2016 11:23 AM > To: r-help@r-project.org > Subject: [R] Need help with use of ROCK algorithm in R for binary data > > Dear list members, > > I