[R] sound lib - rstreams Mac OS 9 and X ???

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jul 3 09:04:26 CEST 2002

pasquet olivier wrote:
> Hello,
> I'm looking for a working compiled library of "rstreams" for mac OS 9 and
> for mac OS X.
> I could find one (somewhere) but it is not loading.
> It says in R 151 under OS 9.2:
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>     unable to load shared library
> "PRO-096-system:Applications:Languages:rm151:library:rstreams:libs:RstreamsL
> ib":
>   error code -2807 getting disk fragment R--memcpy for library
> PRO-096-system:Applications:Languages:rm151:library:rstreams:libs:RstreamsLi
> b
> Error in library(rstreams) : .First.lib failed

Probably you found the package "wave" in version 0.1-1 on my homepage.
I quickly hacked the wave file read / write code in 1999 when
connections in R were not available, but Rstreams was. It should be
quite easy to "port" the code to use the file connections provided in R
base, see 
?connections and ?readBin.

Uwe Ligges
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list