Re: [R] User Interfaces for R

2019-01-10 Thread Duncan Murdoch
On 10/01/2019 4:25 p.m., Ivan Krylov wrote: On Wed, 9 Jan 2019 14:29:22 -0500 (EST) Bernard McGarvey wrote: Can anyone point me to such an easy to use package to create GUIs for R? If you want a traditional approach, a lot of R installations have Tcl/Tk support built in (i.e.

Re: [R] (no subject)

2019-01-10 Thread Bert Gunter
Please post on R-package-devel, not here. That list is specifically devoted to such issues. This list is about R programming help. -- Bert 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

[R] (no subject)

2019-01-10 Thread Sam Albers
Hello all, I am experience some issues with building a package that we are hosting on GitHub. The package itself is quite large. It is a data package with a bunch of spatial files stored as .rds files. The repo is located here: https://github.com/bcgov/bcmaps.rdata If we clone that package to

Re: [R] Reading an excel file

2019-01-10 Thread rsherry8
The way I have done it in the past is to convert to an CSV file. One advantage of this approach is that should my r script accidental write to the file, my original Excel file is not damaged. Bob Sherry On 1/10/2019 4:39 PM, Bernard Comcast wrote: What is the best way to read in data of any

Re: [R] Reading an excel file

2019-01-10 Thread Albrecht Kauffmann
read.xlsx() works well if the xlsx-file has not too much joined cells. Particularly in the latter case I would recommend to convert the xlsx-file into csv format and then read.csv(). Greetings Albrecht -- Albrecht Kauffmann alkau...@fastmail.fm Am Do, 10. Jan 2019, um 22:43, schrieb

Re: [R] Reading an excel file

2019-01-10 Thread Bert Gunter
Don't! Well, I know that being a wiseguy is not helpful, but this "advice" is actually not entirely unhelpful. Search on "input Excel file" or similar on rseek.org to bring up many links, including the readxl package, tutorials, the R data import/export manual, etc. However, excel files are

Re: [R] Reading an excel file

2019-01-10 Thread Hasan Diwan
https://cran.r-project.org/web/packages/xlsx/xlsx.pdf You'll need the JDK (>= 1.6) -- H On Thu, 10 Jan 2019 at 13:40, Bernard Comcast wrote: > What is the best way to read in data of any type from an Excel 2016 .xlsx > file? > > Thanks > > Bernard > Sent from my iPhone so please excuse the

[R] Reading an excel file

2019-01-10 Thread Bernard Comcast
What is the best way to read in data of any type from an Excel 2016 .xlsx file? Thanks Bernard Sent from my iPhone so please excuse the spelling!" __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] User Interfaces for R

2019-01-10 Thread Ivan Krylov
On Wed, 9 Jan 2019 14:29:22 -0500 (EST) Bernard McGarvey wrote: > Can anyone point me to such an easy to use package to create GUIs for > R? If you want a traditional approach, a lot of R installations have Tcl/Tk support built in (i.e. capabilities('tcltk') is TRUE). This means that you can

Re: [R] Running list of drugs taken and dropped (via Reduce and accumulate = TRUE or by other means)

2019-01-10 Thread David Winsemius
On 1/10/19 7:00 AM, Paul Miller via R-help wrote: Hello All, Would like to keep a running total of what drugs cancer patients have taken and what drugs have been dropped. Searched the Internet and found a way to cumulatively paste a series of drug names. Am having trouble figuring out how

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Sebastien Bihorel
Thanks for the clarification. - Original Message - From: "Duncan Murdoch" To: "Sebastien Bihorel" , "Jeff Newmiller" Cc: r-help@r-project.org Sent: Thursday, January 10, 2019 11:43:14 AM Subject: Re: [R] Diff'ing 2 strings On 10/01/2019 11:38 a.m., Sebastien Bihorel wrote: > Yep, I

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Bert Gunter
It's the same thing. From ?Rdiff: "Given two *R* output files, compute differences ignoring headers, footers and some other differences." Bert 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

Re: [R] Diff'ing 2 strings

2019-01-10 Thread William Dunlap via R-help
> args(tools::Rdiff) function (from, to, useDiff = FALSE, forEx = FALSE, nullPointers = TRUE, Log = FALSE) NULL > version$version.string [1] "R version 3.4.3 (2017-11-30)" (The 'tools' package is not attached by default, so use ::.) Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jan

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Duncan Murdoch
On 10/01/2019 11:38 a.m., Sebastien Bihorel wrote: Yep, I did. Got nothing. It does not come with R 3.4.3, which is the version I can use. R CMD Rdiff comes with this version, but it is a shell command not a R function. It is meant for diff'ing R output. It's in the tools package, so

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Sebastien Bihorel
Yep, I did. Got nothing. It does not come with R 3.4.3, which is the version I can use. R CMD Rdiff comes with this version, but it is a shell command not a R function. It is meant for diff'ing R output. - Original Message - From: "Jeff Newmiller" To: r-help@r-project.org, "Sebastien

Re: [R] Seeking help for using optim for MLE in R

2019-01-10 Thread Bert Gunter
Probably: don't do this. Use the nnet package (and there may well be others) to fit multinomial regression. See here for a tutorial: https://rpubs.com/rslbliss/r_logistic_ws Cheers, Bert On Thu, Jan 10, 2019 at 6:18 AM Naznin Sultana wrote: > Hi, I am writing a program for MLE of parameters

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Jeff Newmiller
Just type ?Rdiff it is in the preinstalled packages that come with R. On January 10, 2019 7:35:42 AM PST, Sebastien Bihorel wrote: >From which the diffobj package? > > >From: "Martin Møller Skarbiniks Pedersen" >To: "Sebastien Bihorel" >Cc: "R mailing list" >Sent: Thursday, January 10,

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Sebastien Bihorel
>From which the diffobj package? From: "Martin Møller Skarbiniks Pedersen" To: "Sebastien Bihorel" Cc: "R mailing list" Sent: Thursday, January 10, 2019 2:35:15 AM Subject: Re: [R] Diff'ing 2 strings On Sat, Jan 5, 2019, 14:58 Sebastien Bihorel < [

[R] [R-pkgs] New package readABF for reading Axon Binary Files

2019-01-10 Thread Stanislav Syekirin
A new package called readABF for reading .abf, a binary format (or rather a family of related binary formats) used by software like Axon pClamp, is available. CRAN: https://cran.r-project.org/package=readABF GitHub: https://github.com/Zabolekar/readABF We greatly appreciate any feedback. Best

[R] Running list of drugs taken and dropped (via Reduce and accumulate = TRUE or by other means)

2019-01-10 Thread Paul Miller via R-help
Hello All, Would like to keep a running total of what drugs cancer patients have taken and what drugs have been dropped. Searched the Internet and found a way to cumulatively paste a series of drug names. Am having trouble figuring out how to make the paste conditional though. Below is some

Re: [R] User Interfaces for R

2019-01-10 Thread Eric Berger
Shiny (from RStudio - and free) A wonderful tool. And the app is accessed via the user's browser. On Thu, Jan 10, 2019 at 4:18 PM Bernard McGarvey < mcgarvey.bern...@comcast.net> wrote: > I want to create an R application that includes a user interface where the > user inputs values etc and then

[R] Seeking help for using optim for MLE in R

2019-01-10 Thread Naznin Sultana
Hi, I am writing a program for MLE of parameters of multinomial distribution using optim.But when I run the program outside of a function it gives me the likelihood value, but when using it for optim function it gives the error message "Error in X %*% beta : non-conformable arguments". If X, and

[R] User Interfaces for R

2019-01-10 Thread Bernard McGarvey
I want to create an R application that includes a user interface where the user inputs values etc and then can run R calculations and get results back on the user interface. I was hoping that an easy to use GUI package exists. Can anyone point me to such an easy to use package to create GUIs

Re: [R] Resampling 1 time series at another set of (known) irregularly spaced times

2019-01-10 Thread John Hillier
Thank you Jeff and Bert, You provided the pointer to reliable starting place that I needed after my initial searching. I now better understand the terminology/approach used in R for this sort of thing. The answer is indeed trivial when you know how e.g. use the 'xout' option in approx().

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Martin Møller Skarbiniks Pedersen
On Thu, 10 Jan 2019 at 09:23, Gerrit Eichner < gerrit.eich...@math.uni-giessen.de> wrote: > Don't you mean ?Rdiff ? > > Oh yes. The unix/linux command diff uses the rdiff-algorithme and it seems that Rdiff in R uses the exactly same algorithme. Regards Martin [[alternative HTML version

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Troels Ring
?Rdiff perhaps?? Troels -Oprindelig meddelelse- Fra: R-help På vegne af Martin Møller Skarbiniks Pedersen Sendt: 10. januar 2019 08:35 Til: Sebastien Bihorel Cc: R mailing list Emne: Re: [R] Diff'ing 2 strings On Sat, Jan 5, 2019, 14:58 Sebastien Bihorel <

Re: [R] Diff'ing 2 strings

2019-01-10 Thread Gerrit Eichner
Don't you mean ?Rdiff ? Hth -- Gerrit - Dr. Gerrit Eichner Mathematical Institute, Room 212 gerrit.eich...@math.uni-giessen.de Justus-Liebig-University Giessen Tel: +49-(0)641-99-32104 Arndtstr.