[R] Playing a music file in R

bretschr bret@chr @end|ng |rom x@4@||@n|
Thu Jul 23 13:18:50 CEST 2020


Dear Vahid,


Re:

> I have a question regarding the following code:
> setWavPlayer("/Library/Frameworks/R.framework/Versions/3.6/Resources/bin/play")   # path depends on your R version etc. 
> 
> How can I find the corresponding path on my laptop?


This line ...

setWavPlayer("/Library/Frameworks/R.framework/Versions/3.6/Resources/bin/play")   

... is the path on my MacBook Air running Mac OS Mojave.
The structure of R on similar computers and OS versions will be the same, but I don't know if you use Windows or Linux.
Maybe an R-user working with Windows or Linux can help.
Success,

Franklin
----



Franklin Bretschneider
Dept of Biology
Utrecht University
f.bretschneider using uu.nl



More information about the R-help mailing list