I never built any package on Mac but you should be able to build the package via the following command, if R development environment is installed, which should be the case for Mac OS X:<br><br># create local library<br>mkdir build_lib<br>
# build package<br>R CMD INSTALL -l build_lib --build NMF_0.9.tar.gz<br># possibly use flag --no-vignettes if the step "creating/re-building vignettes" seems to take too long.<br><br>See <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Building-binary-packages">http://cran.r-project.org/doc/manuals/R-exts.html#Building-binary-packages</a><br>
<br>Renaud<br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/11 Gordon Robertson <span dir="ltr"><<a href="mailto:grobertson@bcgsc.ca" target="_blank">grobertson@bcgsc.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">Renaud, <div><br></div><div>I run NMF v0.8.13 on OS X 10.7.5 and on CentOS 5.x. I should be able to build a Mac version of v0.9 from the source file, but would need instructions. Can you tell me what to do or point me to instructions on the web? </div>
<div><br></div><div>Thank you. </div><span><font color="#888888"><div><br></div></font></span><div><span><font color="#888888">Gordon</font></span><div><div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<br></div></span></div></span></span>
</div>
<br><div><div>On 2012-11-10, at 10:58 PM, Renaud wrote:</div><br><blockquote type="cite">Hi Gordon, <br><br>indeed.<br>I forgot to mention that the package is not available for Mac, but this is only because I have no access to a Mac and there is no Mac-builder that I am aware of.<br>
If would be nice if someone could build Mac version(s) from the package source though. I could add them to the repository.<br>
Thank you.<br><br>Bests,<br>Renaud.<br><br>PS: Gordon, please subscribe to the mailing list so that you messages can go through.<br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/10 Gordon Robertson <span dir="ltr"><<a href="mailto:grobertson@bcgsc.ca" target="_blank">grobertson@bcgsc.ca</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div>Renaud,</div><div><br></div><div><div>I can view your CRAN page at <a href="http://web.cbio.uct.ac.za/~renaud/CRAN/" target="_blank">http://web.cbio.uct.ac.za/~renaud/CRAN/</a>, and can download the source file from the NMF page. </div>
</div><div><br></div><div>But I get an error when I try to install v0.9 as you suggested, using R 2.15.1 on OS X 10.7.5, from RStudio. </div><div><br></div><div>Can you help me understand what the problem is? </div><div>
<br>
</div><div><div><font face="Courier">> install.packages('NMF', repos=c('<a href="http://web.cbio.uct.ac.za/~renaud/CRAN'" target="_blank">http://web.cbio.uct.ac.za/~renaud/CRAN'</a>, getOption('repos')))</font></div>
<div><font face="Courier">Installing package(s) into ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library’</font></div><div><font face="Courier">(as ‘lib’ is unspecified)</font></div><div><font face="Courier">Warning in install.packages :</font></div>
<div><font face="Courier"> cannot open: HTTP status was '404 Not Found'</font></div><div><font face="Courier">Warning in install.packages :</font></div><div><font face="Courier"> cannot open: HTTP status was '404 Not Found'</font></div>
<div><font face="Courier">Warning in install.packages :</font></div><div><font face="Courier"> unable to access index for repository <a href="http://web.cbio.uct.ac.za/~renaud/CRAN/bin/macosx/leopard/contrib/2.15" target="_blank">http://web.cbio.uct.ac.za/~renaud/CRAN/bin/macosx/leopard/contrib/2.15</a></font></div>
<div><font face="Courier">Warning in install.packages :</font></div><div><font face="Courier"> package ‘NMF’ is not available (for R version 2.15.1)</font></div><div><br></div><div>Thanks,</div><div><br></div><div>G</div>
</div><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<br></div></span></div></span></span>
</div>
<br><div><div>On 2012-11-10, at 3:21 AM, Renaud wrote:</div><br><blockquote type="cite">Dear NMF enthusiasts,<br><br>following some recent changes/enforcement of CRAN policies the NMF package was archived on mid-September, while I was on leave. As a result it has not been accessible for standard installation ever since. I apologise for the inconvenience and hope it did not affect your research or interest in NMF methodologies.<br>
<br>I have been working hard on a new version, so that it could quickly make its way to CRAN, and bring along a set of improvements developed over the past year, such as a brand new and improved annotated heatmap engine for visualizing NMF results.<br>
<br>The update is now ready and passes all the checks on my system, but for some reason fails on CRAN own machines, and some investigation about this dark magic is necessary until the package is finally back live on CRAN.<br>
<br>It is important that the package is immediately available in some way though, especially given the many enquiries I had about the package and its disappearance from R world. So I put a pre-release version on my personal CRAN-like repository, from which the package can be installed via the following command:<span><br>
<br>install</span><span>.</span><span>packages</span><span>(</span><span>'NMF'</span><span>,</span><span> repos</span><span>=</span><span>c</span><span>(</span><span>'<a href="http://web.cbio.uct.ac.za/~renaud/CRAN" target="_blank">http://web.cbio.uct.ac.za/~renaud/CRAN</a>'</span><span>,</span><span> getOption</span><span>(</span><span>'repos'</span>)))<code></code><br>
<br>I hope you will like this new version and welcome any feedback, bug report, discussion or suggestion, which could improve the package's quality and usability.<br>Note that there is a mailing list dedicated to this (<a href="mailto:nmf-user@lists.r-forge.r-project.org" target="_blank">nmf-user@lists.r-forge.r-project.org</a>) to which you can subscribe, if you have not already:<br>
<br><a href="https://lists.r-forge.r-project.org/mailman/listinfo/nmf-user" target="_blank">https://lists.r-forge.r-project.org/mailman/listinfo/nmf-user</a><br><br>Last but not least, an eye-candy browsable version of the documentation pages is available online at:<br>
<br><a href="http://nmf.r-forge.r-project.org/" target="_blank">http://nmf.r-forge.r-project.org</a><br><br>I will let you know when the package is officially released on CRAN.<br><br>Bests,<br>Renaud<br clear="all"><br>
PS: you are receiving this email because you showed interest in the NMF package, in some way or another. Please send me an email if you do not want to receive any more emails about it.<span><font color="#888888"><br>
<br>-- <br><pre cols="72">Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa</pre><br>
</font></span></blockquote></div><br></div></blockquote></div><br><br clear="all"><br>-- <br><pre cols="72">Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa</pre><br>
</div>
</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><pre cols="72">Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa</pre><br>
</div>