Re: [R] For loop with multiple iteration indexes

2018-09-10 Thread David Disabato
Thank you everyone. After thinking about each response, I realized a fairly simple solution is available (obviously, other suggested approaches work as well): stopifnot(length(x) == length(y); stopifnot(length(x) > 0) r <- list() for (i in 1:length(x) ) { r[[i]] <- cor(x = dat[, x[i] ], y = dat

Re: [R] Why can't I make use of tcltk in this installation?

2018-09-10 Thread p_connolly
Hello Albrecht. I didn't specify those paths on the 3 machines that have tcltk available. It appears that those files are not on the machine in question and that is the reason for my problem. But if they are, ./configure finds them itself. I'm not at the machine that has the issue, but I a

Re: [R] Packaged exe and Shiny

2018-09-10 Thread Jeff Newmiller
IMO the best short answer is don't target making an install package or msi at all... the obstacles are quite significant. Aim for building most of your capabilities in packages and having people install them. You can setup an in-house package repo to simplify this and give them a startup script

Re: [R] Packaged exe and Shiny

2018-09-10 Thread Jim Lemon
Hi Kevin, It might be just as easy to write R scripts that would do basic analyses. Users could "source" these scripts in an R session or from the command line. The scripts would be much more compact than the .exe files that you describe. Jim On Tue, Sep 11, 2018 at 8:06 AM Kevin Kowitski via R-h

[R] Packaged exe and Shiny

2018-09-10 Thread Kevin Kowitski via R-help
Hey Everyone,    I do not know if this topic has been covered, I'm sure it must have, but is there a good environment for packaging R code into a distributed exe. (which includes all of the required libraries, etc.)?  I have seen that Shiny is a good GUI / Web library for sharing R programs, b

Re: [R] For loop with multiple iteration indexes

2018-09-10 Thread Berry, Charles
I have a sense of deja vu: https://www.mail-archive.com/r-help@r-project.org/msg250494.html There is some good advice there. > On Sep 9, 2018, at 3:49 PM, David Disabato wrote: > > Hi R-help, > > I am trying to create a for loop with multiple iteration indexes. I don't > want to use two diffe

Re: [R] Why can't I make use of tcltk in this installation?

2018-09-10 Thread peter dalgaard
You may need to consult the R-sig-debian list, rather than R-help. Offhand, I would expect that you need Tcl libraries, Tk libraries and the associated -devel or -dev packages. Notice that although they are designed to work together, Tcl and Tk are two separate entities, so searching for tcltk m

Re: [R] Why can't I make use of tcltk in this installation?

2018-09-10 Thread Albrecht Kauffmann
Hi Patrick, did you give the compiler path instructions to tclConfig.sh and tkConfig.sh , as ../R-3.5.1/configure --with-tcl-config=/usr/lib64/tclConfig.sh --with-tk-config=/usr/lib64/tkConfig.sh ? Best, Albrecht -- Albrecht Kauffmann alkau...@fastmail.fm Am Mo, 10. Sep 2018, um 10:54,

[R] Why can't I make use of tcltk in this installation?

2018-09-10 Thread Patrick Connolly
> sessionInfo() R version 3.5.0 (2018-04-23) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 14.04.5 LTS Matrix products: default BLAS: /home/pat/local/R-3.5.0/lib/libRblas.so LAPACK: /home/pat/local/R-3.5.0/lib/libRlapack.so locale: [1] LC_CTYPE=en_NZ.UTF-8 LC_NUMERIC=C

[R] real time monitoring of streaming audio with R?

2018-09-10 Thread Spencer Graves
Hello, All:   Is it feasible to do real time monitoring of streaming audio with R, writing a compressed copy of what's read to 1-hour long MP3 files?   I'm a volunteer with a community radio station (kkfi.org).  My minimum requirements at the moment are to create MP3 files from what