package ‘seewave’ is not available (for R version 3.1.1)

1,587 views
Skip to first unread message

Callin Switzer

unread,
Sep 21, 2014, 10:56:51 AM9/21/14
to see...@googlegroups.com
Hi,

What is the best way to access seewave with my mac?  I'm running OS X version 10.9.5, and I'm using R version 3.1.1.  When I try to install.packages('seewave'), I get an error: 

package ‘seewave’ is available as a source package but not as a binary

Warning in install.packages :
  package ‘seewave’ is not available (for R version 3.1.1)

Thanks,
Callin

Jérôme SUEUR

unread,
Sep 22, 2014, 3:05:43 AM9/22/14
to see...@googlegroups.com
Hello,

I am not a Mac user but it seems that the binary version of seewave is
indeed not available for Maverics as stated here:
http://cran.r-project.org/web/packages/seewave/index.html.

I am sorry as I have no control on this at all. This is in the hands
of CRAN managers.

Jerome


Callin Switzer <callin....@gmail.com> a écrit :

> Hi,
>
> What is the best way to access seewave with my mac? I'm running OS X
> version 10.9.5, and I'm using R version 3.1.1. When I try to
> install.packages('seewave'), I get an error:
>
> package ?seewave? is available as a source package but not as a binary
>
> Warning in install.packages :
> package ?seewave? is not available (for R version 3.1.1)
>
> Thanks,
> Callin
>
> --
> You received this message because you are subscribed to the Google
> Groups "seewave" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to seewave+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



--
Muséum National d'Histoire naturelle
UMR CNRS 7205 Institut Systématique, Evolution, Biodiversité (ISYEB)
45 rue Buffon - 75005 Paris - FRANCE
Tel. + 33 1 40 79 33 98
http://isyeb.mnhn.fr/SUEUR-Jerome


Mario Rollo

unread,
Sep 29, 2014, 4:13:00 PM9/29/14
to see...@googlegroups.com
Hi Jérôme, Callin,

I wasn't able to find a solution to run seewave on Mac OS X 10.9.5 with R 3.1.1, as I am not familiar with source-to-binary conversions. Thus, I downgraded R to 3.0.3. Seewave is now installed and running properly.

Mario

Luis J. Villanueva

unread,
Sep 29, 2014, 4:34:38 PM9/29/14
to see...@googlegroups.com

Hi all,

I recently saw this problem with a Mac user in my lab. It is a dependencies problem. Seewave on Maverick returns the error "Package required but not available: ‘fftw’" (http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/seewave-00check.html)

When you check why fftw fails, it says: "No package 'fftw3' found" (http://www.r-project.org/nosvn/R.check/r-release-osx-x86_64-mavericks/fftw-00check.html)

So, the problem is the fftw3 requirement. It is not installed in the machine CRAN is using, so the install fails.
Just install the libraries first (in OS X, not R), then you should be able to install fftw and seewave from the tar.gz files.

Luis J. Villanueva
http://research.CoquiPR.com

Message has been deleted

Filipe Cristovão Ribeiro da Cunha

unread,
Feb 13, 2015, 3:16:30 AM2/13/15
to see...@googlegroups.com

Hi! Good morning!

I`m new in this forum and I just found it because I was looking for a way to install the "seewave" pkg on mac Yosemite. Well, after a long journey and visit diferent forums and blogs I got the solution and I would like to share, and if someone has the same problem can easily solved... =)


1st: If you do not have the R version 3.0.2 yet...install it first: you can find it on the old directories e.g. "http://stat.ethz.ch/CRAN/"

2nd: Make sure that you are using the 3.0.2 version. For that we have some options:

I) On the "Terminal" of your mac type: ls -l /Library/Frameworks/R.framework/Versions/
This will show you a list of version of R and also show which one is the current version.
II) you can also download the R switch here "http://r.research.att.com/" this will switch your R version, for one that you have installed (you can choose).


Ok. This step is easy. Now there is important steps that is nice do it before install all the pkg for seewave.

Go to the Terminal in your mac and type:

xcode-select --install

this will instal the xcode 
(an integrated development environment).Agree with the license and then type on the terminal


make #and than hit enter

make install
#and than hit enter

Now we are almost there, to get the seewave running...

But, first go to R and type:

install.packages(c("fftw","tuneR","rgl","rpanel"), repos="http://cran.at.r-project.org/")
#this will install the pkgs 

                                                                                                                                                                                                "fftw","tuneR","rgl","rpanel"

and finally:

install.packages("seewave", repos="http://cran.at.r-project.org/")

I think that this blog http://pblog.ebaker.me.uk/ can help if you have any doubt...at least help me a lot!

Now just have fun with seewave! =)

Kind regards,

Filipe

Jerome Sueur

unread,
Feb 13, 2015, 3:48:31 AM2/13/15
to see...@googlegroups.com
Thank you very much Filipe.
I would not have thought that installing seewave could be so complex.
The next version of seewave (in the pipes but with some delay due to a computer "lost"....) should depend on tuneR only making easier the installation.
Best regards,
Jerome
--
You received this message because you are subscribed to the Google Groups "seewave" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seewave+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
Muséum national d'Histoire naturelle
Institut Systématique, Evolution, Biodiversité
UMR 7205 CNRS-MNHN-UPMC-EPHE
45 rue Buffon
75005 Paris- France
http://isyeb.mnhn.fr/SUEUR-Jerome
##
International Society of Ecoacoustics
https://sites.google.com/site/ecoacousticssociety/

Juan Sebastián Ulloa

unread,
Jun 11, 2015, 12:44:15 PM6/11/15
to see...@googlegroups.com
Hi. I just got the same problem to install Seewave on OSX 10.9 (Mavericks). I will give an alternative solution since I had XCode5 installed and I still wasn't able to install Seewave. 

Here are the errors I got:

stft.c:3:11: fatal error: 'sndfile.h' file not found
stft.c:14:11: fatal error: 'fftw3.h' file not found
ERROR: compilation failed for package ‘seewave’


As I see there are only 2 libraries missing when trying to compile Seewave on OSX 10.9: sndfile.h and fftw3.h. To get these libraries, the easiest way is:

1. Install Homebrew: http://brew.sh/
2. from OSX Terminal run:

brew install libsndfile

brew install fftw


Once you have these libraries (you can check that you have them in /usr/local/include), you should be able to install Seewave as indicated on the homepage:

3. From the R console type:
install.packages("seewave", repos="http://cran.at.r-project.org/") 

And that's it:
Welcome to seewave! 
 
--
Juan

Xavier DELERCE

unread,
Jul 18, 2015, 3:05:43 PM7/18/15
to see...@googlegroups.com
Thank you very much Juan,

works perfectly for me !

Eloise Deaux

unread,
Sep 14, 2017, 9:52:47 AM9/14/17
to seewave
Hi All,

I just had the very same problem installing seewave.
I just thought I would reply saying that Juan answer also worked for me for R 3.4 and Mac OS Sierra 10.12.

All the best,
Eloise
Reply all
Reply to author
Forward
0 new messages