Re: [R] Fitting Mixture distributions

2016-09-13 Thread Aanchal Sharma
Yes, I mentioned it wrong , I increased the value. This did not help either. what helped is removing some samples which had zero (close to zero) values. So its working fine for this error. But there is another problem. For one of the genes it says throws following error: iteration = 1 log-lik

Re: [R] Minimum Binding Box in 3D

2016-09-13 Thread David Winsemius
> On Sep 13, 2016, at 7:20 AM, Lorenzo Isella wrote: > > Dear All, > I would like to know if anybody is aware of an R implementation of a > minimal bounding box ( http://bit.ly/2cKaSgT ) algorithm in R for > points in 3 dimensions. > It looks like there is no shortage

Re: [R] Maximum # of DLLs reached, or, how to clean up after yourself?

2016-09-13 Thread Henrik Bengtsson
In R.utils (>= 2.4.0), which I hope to submitted to CRAN today or tomorrow, you can simply call: R.utils::gcDLLs() It will look at base::getLoadedDLLs() and its content and compare to loadedNamespaces() and unregister any "stray" DLLs that remain after corresponding packages have been

Re: [R] Drill down reports in R

2016-09-13 Thread Greg Snow
As has been mentioned, this really requires a GUI tool beyond just R. Luckily there are many GUI tools that have been linked to R and if Shiny (the shiniest of them) does not have something like this easily available so far then you may want to look elsewhere in the meantime. One option is the

Re: [R] Drill down reports in R

2016-09-13 Thread Marc Schwartz
> On Sep 13, 2016, at 11:11 AM, Manohar Reddy wrote: > > Hi Jhon, > > > Thanks for responding my email ,actually my requirement is I have Orders and > related tables and now I need to generate a report something looks like below > whenever user click on “+” that

Re: [R] Drill down reports in R

2016-09-13 Thread Mark Sharp
Manu, With pure R, you can simply write a link in the parent document to a child document you have created. Alternative, and likely better, solutions could be based on AJAX, but I do not think you are going to do that all within R. Mark > On Sep 13, 2016, at 11:11 AM, Manohar Reddy

Re: [R] Drill down reports in R

2016-09-13 Thread Manohar Reddy
Hi Jhon, Thanks for responding my email ,actually my requirement is I have Orders and related tables and now I need to generate a report something looks like below whenever user click on “+” that report will be expanded .I know it is possible in SSRS (SQl Server Reporting Services) but now my

[R] Error with permutest on dbrda object in vegan

2016-09-13 Thread Cleo Tebby
Dear all, I am using distance-based RDA in vegan 2.4-1 with direct decomposition (no constant added, imaginary axes included) and trying to test axis significance. Permutations seem to work with first=FALSE, but not first=TRUE. The error message is "invalid comparison with complex values". Here

[R] Minimum Binding Box in 3D

2016-09-13 Thread Lorenzo Isella
Dear All, I would like to know if anybody is aware of an R implementation of a minimal bounding box ( http://bit.ly/2cKaSgT ) algorithm in R for points in 3 dimensions. It looks like there is no shortage of implementations in 2 dimensions, e.g. http://bit.ly/2cKaSh0 http://bit.ly/2cKboLS but I

Re: [R] Upgrade R 3.2 to 3.3 using tar.gz file on Ubuntu 16.04

2016-09-13 Thread Jeff Newmiller
For this query I would rather recommend [1] as reference, though Marc's suggestion to switch mailing lists is best. [1] https://cran.r-project.org/bin/linux/ubuntu/ -- Sent from my phone. Please excuse my brevity. On September 13, 2016 6:44:29 AM PDT, Loris Bennett

Re: [R] syntax to connect to linked SQL server using RODBC

2016-09-13 Thread Manohar Reddy
Hi Varun, Basically when we are pulling data from linked server through SSMS/some other client tools we may need to use query like this format * linkedservername.databasename.schemaname.tablename* and in this case your query like this, table1 <- as.data.table(sqlQuery(dbhandle, 'select * from

Re: [R] syntax to connect to linked SQL server using RODBC

2016-09-13 Thread Jeff Newmiller
This is not an R concept, and it may be highly specific to the SQL Server API rather than the ODBC API. You might try doing as the Posting Guide recommends and posting in the R-sig-db mailing list. I would also recommend that you figure out from Microsoft documentation what programming API your

Re: [R] Drill down reports in R

2016-09-13 Thread Marc Schwartz
Hi, Generally "drilldown" reports require a dynamic GUI that supports widgets that generate the data queries behind the scenes in response to user input/clicks and then updated the display dynamically with the additional data/content. This would be more typical of business oriented

Re: [R] How to read a grib2 file

2016-09-13 Thread Debasish Pai Mazumder
Hi Mike, Thanks again. I am using Mac OS Here is the required info > sessionInfo() R version 3.2.4 (2016-03-10) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.11.6 (El Capitan) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base

Re: [R] Drill down reports in R

2016-09-13 Thread John Kane
It is not really clear what you want but have a look at ?subset perhaps. John Kane Kingston ON Canada > -Original Message- > From: manu.redd...@gmail.com > Sent: Tue, 13 Sep 2016 16:16:05 +0530 > To: r-help@r-project.org > Subject: [R] Drill down reports in R > > Hi, > > > > How

Re: [R] Is this kind of removing of elements from data.frame (in)efficient?

2016-09-13 Thread Jeff Newmiller
Your example is not reproducible [1], so the apparent error in it is distracting... perhaps you meant kidmomhs <- kidmomhs[kidmomhs$kid_score != min(kidmomhs$kid_score),] yes, this creates a copy, and because the object name is re-used on the left side the original memory gets returned to the

[R-es] t-test y distribución de variables

2016-09-13 Thread JM Arbones
Hola, Estoy analizando unos datos para una tesis doctoral. Durante la investigación se han recogido distintas variables clínicas de dos grupos (n=30 y n=40). Me encuentro que las comparaciones de medias se han realizado mediante t-tests sin preocuparse de estudiar la distribución de las

Re: [R] Arules Package: Rules subset with 'empty' left hand side (lhs)

2016-09-13 Thread Tom D. Harray
Hello Luisfo, thank you for the hint: Your suggestion arules::subset(rules, subset=lhs %pin% "") gave 18 rules (out of 21) in my example, and not 3, what I have expected. Surprisingly the negation of the subset condition arules::subset(x = rules, subset = !(lhs %pin% "")) returns the 3

Re: [R] More tube-like lines3D?

2016-09-13 Thread Atte Tenkanen
Thanks, time is no problem! Atte 13.9.2016, 15.12, Duncan Murdoch kirjoitti: On 13/09/2016 5:58 AM, Atte Tenkanen wrote: Hi, Is it possible to give 3d-like form for rgl lines3d-lines? Although I increase lwd, lines still look like lines, not like tubes. cylinder3d() should do that. It puts

[R] syntax to connect to linked SQL server using RODBC

2016-09-13 Thread Varun Sinha
Hi All, I would like to know how to connect to a "linked server" from R. I find the linked server under Server Objects > Linked Servers on SQL management studio. Here is the current way I am using to connect to the server: dbhandle <- odbcDriverConnect('driver={SQL

Re: [R] Upgrade R 3.2 to 3.3 using tar.gz file on Ubuntu 16.04

2016-09-13 Thread Marc Schwartz
> On Sep 13, 2016, at 8:00 AM, Luigi Marongiu wrote: > > Dear all, > I am working on Linux Ubuntu 16.04 and I have installed R 3.2. I need > to upgrade to R 3.3 and I tried several options available online with > no success. I downloaded the tar.gz file for R 3.3 and I

Re: [R] Upgrade R 3.2 to 3.3 using tar.gz file on Ubuntu 16.04

2016-09-13 Thread Loris Bennett
Luigi Marongiu writes: > Dear all, > I am working on Linux Ubuntu 16.04 and I have installed R 3.2. I need > to upgrade to R 3.3 and I tried several options available online with > no success. I downloaded the tar.gz file for R 3.3 and I would like to > ask how can I

[R] Maximum # of DLLs reached, or, how to clean up after yourself?

2016-09-13 Thread Alexander Shenkin
Hello all, I have a number of analyses that call bunches of sub-scripts, and in the end, I get the "maximal number of DLLs reached" error. This has been asked before (e.g. http://stackoverflow.com/questions/36974206/r-maximal-number-of-dlls-reached), and the general answer is, "just clean

[R] Upgrade R 3.2 to 3.3 using tar.gz file on Ubuntu 16.04

2016-09-13 Thread Luigi Marongiu
Dear all, I am working on Linux Ubuntu 16.04 and I have installed R 3.2. I need to upgrade to R 3.3 and I tried several options available online with no success. I downloaded the tar.gz file for R 3.3 and I would like to ask how can I use this file in order to accomplish the upgrade. Many thanks,

Re: [R] More tube-like lines3D?

2016-09-13 Thread Duncan Murdoch
On 13/09/2016 5:58 AM, Atte Tenkanen wrote: Hi, Is it possible to give 3d-like form for rgl lines3d-lines? Although I increase lwd, lines still look like lines, not like tubes. cylinder3d() should do that. It puts a substantially larger burden on the graphics system, so if you draw too many

[R] More tube-like lines3D?

2016-09-13 Thread Atte Tenkanen
Hi, Is it possible to give 3d-like form for rgl lines3d-lines? Although I increase lwd, lines still look like lines, not like tubes. -- Atte Tenkanen, FT MuM Turun Martinseurakunnan kanttori p. 040-3417125 __ R-help@r-project.org mailing list -- To

Re: [R] Apply a multi-variable function to a vector

2016-09-13 Thread S Ellison
> I would like to define an arbitrary function of an arbitrary number of > variables, > for example, for 2 variables: > > func2 <- function(time, temp) time + temp > > I'd like to keep variable names that have a meaning in the problem (time and > temperature above). Not quite enough

Re: [R] How to read a grib2 file

2016-09-13 Thread Michael Sumner
What is your computer system? What is the output of this? sessionInfo() If you point to a file I'll try it so I can tell you the minimum system requirements. Cheers, Mike On Tue, 13 Sep 2016, 08:56 Debasish Pai Mazumder wrote: > Thanks for your suggestion. I have checked

[R] Drill down reports in R

2016-09-13 Thread Manohar Reddy
Hi, How to generate “Drill down reports ” (like please refer below url) in R using any package ? I did lot of research in google but I didn’t found suitable link . Can anyone help how to do that in R ? url : http://bhushan.extreme-advice.com/drilldown-report-in-ssrs/ Thanks in

Re: [R-es] Regresión Deming

2016-09-13 Thread Carlos Ortega
Hola, Aquí cuentan cómo hacerlo en "R": http://labrtorian.com/2015/09/14/deming-and-passing-bablok-regression-in-r/ Saludos, Carlos Ortega www.qualityexcellence.es El 13 de septiembre de 2016, 12:05, Marcos Bermejo < markbermej...@hotmail.com> escribió: > Hola a todos, > > > ¿Alguien sabría

Re: [R-es] Borrar carácteres extraños /xax

2016-09-13 Thread Ruben Tobalina Ramirez
Buenos dias, Muchas gracias Rubén, tocayo. Ya me temía que la solución fuera esa. Estube mirando por los foros y vi que todas las soluciones eran crear un diccionario de palabras que se identificaran con los códigos de los emoji. Lo más fácil será crear un archivo con los códigos y borrarlos con

Re: [R] Arules Package: Rules subset with 'empty' left hand side (lhs)

2016-09-13 Thread Luisfo via R-help
Dear Tom, I think this is the line you need arules::subset(rules, subset=lhs %pin% "") I found the solution here: http://stackoverflow.com/questions/27926131/how-to-get-items-for-both-lhs-and-rhs-for-only-specific-columns-in-arules One more thing. For printing the rules, I needed the

[R] Is this kind of removing of elements from data.frame (in)efficient?

2016-09-13 Thread mviljamaa
So I'm a beginner in R and I was testing the removal of elements from a data.frame. The way I remove the element(s) with the minimum value in kid_score variable is to do: kidmomhs <- data[kidmomhs$kid_score != min(kidmomhs$kid_score),] So now kidmomhs is the same data, but without the

Re: [R] Hausman Test

2016-09-13 Thread Achim Zeileis
On Mon, 12 Sep 2016, Ding, Jie Ding (NIH/NIA/ERP) [F] wrote: Dear Achim, Sorry to have disturbed you. I have encountered a problem when computing Hausman test statistics (i.e. p values) in R to compare OLS and 2SLS models. The problem is a discrepancy between the two p-value outputs from