New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting csound library on windows #2
Comments
Try changing your working directory to where the dll files are, either before loading playitbyr (and the associated csound package), or before using So, in a clean R session: oldwd <- getwd()
setwd("C:\\Program Files\\Csound\\bin\\") # or wherever your csound/bin directory is
library(playitbyr)
setwd(oldwd) If you already have playitbyr or the csound loaded in your session, you could alternatively do: oldwd <- getwd()
setwd("C:\\Program Files\\Csound\\bin\\") # or wherever your csound/bin directory is
setCsoundLibrary("csound64.dll.5.2") # or whatever the dll name is
setwd(oldwd) The underlying problem is that package rdyncall, which my packages rely on to link to csound, seems to sometimes get confused with Windows paths on some but not all Windows computers. Let me know if this works -- thanks for reporting, and yes, this is the perfect place to post playitbyr issues. |
I tried this recommendation -
Works fine on the Max and Linux side |
Been a while since I've looked at this, I'll give it a shot and let you know! |
@scotgl -- It looks like R is not actually changing directories in the In the code you posted it looks like you entered the directory as Does that help? |
Not sure if I'm posting this in the right place, but I'm brand new to sonification and am trying to use playitbyr to sonify some driving simulator data. For some reason none of the .dll files I've tried from the csound/bin folder have been accepted as a csound library in R. I've been using the setCsoundLibrary() function and have put in just about every path I can think of... Anyone having similar issues on Windows machines? Any suggestions?
thanks in advance
The text was updated successfully, but these errors were encountered: