Re: [R] [External] Re: Playing a music file in R

2020-07-23 Thread Rasmus Liland
On 2020-07-23 16:25 -0700, Henrik Bengtsson wrote: > FWIW, see also the 'midi' R package > (https://github.com/moodymudskipper/midi). > It's not on CRAN. /Henrik Interesting! I tried to play the midi running these lines, but failed: > mid <- midi::midi$new(file.path(find.package("mi

Re: [R] [External] Re: Playing a music file in R

2020-07-23 Thread Henrik Bengtsson
FWIW, see also the 'midi' R package (https://github.com/moodymudskipper/midi). It's not on CRAN. /Henrik On Thu, Jul 23, 2020 at 12:19 PM Rasmus Liland wrote: > > On 2020-07-23 14:19 -0400, Richard M. Heiberger wrote: > > On Thu, Jul 23, 2020 at 7:21 AM bretschr wrote: > > > > > > Dear Vahid,

Re: [R] [External] Re: Playing a music file in R

2020-07-23 Thread Rasmus Liland
On 2020-07-23 14:19 -0400, Richard M. Heiberger wrote: > On Thu, Jul 23, 2020 at 7:21 AM bretschr wrote: > > > > Dear Vahid, > > > > > > Re: > > > > > I have a question regarding the > > > following code: > > > setWavPlayer("/Library/Frameworks/R.framework/Versions/3.6/Resources/bin/play") > > >

Re: [R] [External] Re: Playing a music file in R

2020-07-23 Thread Richard M. Heiberger
The R command system.file() tells you where the currently running version of R is located on your machine and your operating system. On the Macintosh it shows > system.file() [1] "/Library/Frameworks/R.framework/Resources/library/base" You don't need to worry about the R version number, as R kno