<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13821</id>
	<title>Nabble - R devel</title>
	<updated>2009-11-28T05:45:04Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/R-devel-f13821.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/R-devel-f13821.html" />
	<subtitle type="html">This list is intended for questions and discussion about code development in R. Questions likely to prompt discussion unintelligible to non-programmers or topics that are too technical for R-help's audience should go to R-devel.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26553261</id>
	<title>Re: Sending signals to current R process from R running under MS Windows (c.f. Esc)</title>
	<published>2009-11-28T05:45:04Z</published>
	<updated>2009-11-28T05:45:04Z</updated>
	<author>
		<name>Henrik Bengtsson (max 7Mb)</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;here is some discussion/information in the same vein:
&lt;br&gt;&lt;br&gt;(1) R-help thread '[R] The R &amp;quot;fork&amp;quot;', March 18, 2006:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;https://stat.ethz.ch/pipermail/r-help/2006-March/101913.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/pipermail/r-help/2006-March/101913.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;(2) R-devel thread '[Rd] New simpleExit() condition (Was: Re: Can
&lt;br&gt;example() code stop the example without generating an error?)', March
&lt;br&gt;14-16, 2006:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;https://stat.ethz.ch/pipermail/r-devel/2006-March/036861.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/pipermail/r-devel/2006-March/036861.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;(3) Regarding sending SIGINT on Windows, I posted the following
&lt;br&gt;question (without replies): 'Fix Unix' thread 'Sending/generating
&lt;br&gt;SIGINT to process', Oct 1, 2007:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://fixunix.com/microsoft-windows/30232-sending-generating-sigint-process.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fixunix.com/microsoft-windows/30232-sending-generating-sigint-process.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;/Henrik
&lt;br&gt;&lt;br&gt;On Sat, Nov 28, 2009 at 10:54 AM, Graham Williams
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26553261&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Graham.Williams@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am using RGtk2 for a simple GUI (rattle).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I start rattle from the RGui and I remain able to interact with the
&lt;br&gt;&amp;gt; RGui while rattle runs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Under MS/Windows, when rattle has initiated some other underlying R
&lt;br&gt;&amp;gt; command the rattle GUI remains responsive (unlike under GNU/Linux
&lt;br&gt;&amp;gt; where it is not responsive until the underlying command completes).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can interrupt the running command with a press of the Esc key in the RGui.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to have a button on the rattle GUI to run an R command to have
&lt;br&gt;&amp;gt; the same behavior as pressing the Esc key in the RGui. I currently
&lt;br&gt;&amp;gt; have a button in rattle as an example that will run another R command
&lt;br&gt;&amp;gt; whilst the original R command is still running.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Looking at the C source code for the RGui it looks like it is sending
&lt;br&gt;&amp;gt; a SIGBREAK signal to the R process.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is this possible to do, somehow, from R?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Graham
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26553261&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26553261&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sending-signals-to-current-R-process-from-R-running-under-MS-Windows-%28c.f.-Esc%29-tp26551658p26553261.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26551658</id>
	<title>Sending signals to current R process from R running under MS Windows (c.f. Esc)</title>
	<published>2009-11-28T01:54:03Z</published>
	<updated>2009-11-28T01:54:03Z</updated>
	<author>
		<name>Graham Williams</name>
	</author>
	<content type="html">I am using RGtk2 for a simple GUI (rattle).
&lt;br&gt;&lt;br&gt;I start rattle from the RGui and I remain able to interact with the
&lt;br&gt;RGui while rattle runs.
&lt;br&gt;&lt;br&gt;Under MS/Windows, when rattle has initiated some other underlying R
&lt;br&gt;command the rattle GUI remains responsive (unlike under GNU/Linux
&lt;br&gt;where it is not responsive until the underlying command completes).
&lt;br&gt;&lt;br&gt;I can interrupt the running command with a press of the Esc key in the RGui.
&lt;br&gt;&lt;br&gt;I want to have a button on the rattle GUI to run an R command to have
&lt;br&gt;the same behavior as pressing the Esc key in the RGui. I currently
&lt;br&gt;have a button in rattle as an example that will run another R command
&lt;br&gt;whilst the original R command is still running.
&lt;br&gt;&lt;br&gt;Looking at the C source code for the RGui it looks like it is sending
&lt;br&gt;a SIGBREAK signal to the R process.
&lt;br&gt;&lt;br&gt;Is this possible to do, somehow, from R?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Graham
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551658&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sending-signals-to-current-R-process-from-R-running-under-MS-Windows-%28c.f.-Esc%29-tp26551658p26551658.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26551637</id>
	<title>[Fwd: opened symbols in libR.so available.]</title>
	<published>2009-11-28T01:50:57Z</published>
	<updated>2009-11-28T01:50:57Z</updated>
	<author>
		<name>Guillaume Yziquel-4</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;I've patched Dirk Eddelbuettel's Debian package of R, namely r-base, in
&lt;br&gt;order to make hidden symbols of the library libR.so available is now
&lt;br&gt;available:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://yziquel.homelinux.org/debian/pool/main/r/r-base/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yziquel.homelinux.org/debian/pool/main/r/r-base/&lt;/a&gt;&lt;br&gt;&lt;br&gt;For instance, the mkPROMISE symbol is available:
&lt;br&gt;&lt;br&gt;&amp;gt; yziquel@seldon:/usr/lib/R/lib$ nm -D libR.so | grep mkPROMISE
&lt;br&gt;&amp;gt; 000000000011f6f0 T Rf_mkPROMISE
&lt;br&gt;&amp;gt; yziquel@seldon:/usr/lib/R/lib$ 
&lt;br&gt;&lt;br&gt;Instructions for my personal repository are available here:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://yziquel.homelinux.org/topos/debian-repository.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yziquel.homelinux.org/topos/debian-repository.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;I hope this will be useful to people who wish to develop
&lt;br&gt;things, test things, reverse-engineer things from the libR.so library.
&lt;br&gt;&lt;br&gt;I've been told that there's an interesting scheme, used by r-base-ra, to 
&lt;br&gt;make packages coexist with R. As of now, it simply replaces the Debian 
&lt;br&gt;version number, currently -1, with the Debian version number -1hackable.
&lt;br&gt;&lt;br&gt;All the best,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Guillaume Yziquel
&lt;br&gt;&lt;a href=&quot;http://yziquel.homelinux.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yziquel.homelinux.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551637&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Fwd%3A-opened-symbols-in-libR.so-available.--tp26551637p26551637.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549848</id>
	<title>Re: p-generalized normal distribution</title>
	<published>2009-11-27T17:55:11Z</published>
	<updated>2009-11-27T17:55:11Z</updated>
	<author>
		<name>Ben Bolker</name>
	</author>
	<content type="html">Steve Kalke &amp;lt;steve.kalke &amp;lt;at&amp;gt; uni-rostock.de&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; I would like to know if there is an R-package available for 
&lt;br&gt;&amp;gt; computing the density, distribution function,
&lt;br&gt;&amp;gt; quantiles and random 
&lt;br&gt;&amp;gt; numbers of the p-generalized normal distribution or 
&lt;br&gt;&amp;gt; if somebody is already working on it.
&lt;br&gt;&lt;br&gt;&amp;nbsp; I haven't been able to find out what the p-generalized normal
&lt;br&gt;distribution is: the only paper I can find is
&lt;br&gt;&lt;br&gt;Sinz, F., and M. Bethge$. 2009. Characterization of the p-generalized 
&lt;br&gt;normal distribution. Journal of Multivariate Analysis 100:817-820. 
&lt;br&gt;doi: 10.1016/j.jmva.2008.07.006.
&lt;br&gt;&lt;br&gt;and I don't have access to it at the moment (although it does
&lt;br&gt;at least hint that the required distribution is multivariate;
&lt;br&gt;maybe p-dimensional?). &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;Is it the same as this?
&lt;br&gt;&lt;br&gt;Goodman, I. R., and S. Kotz. 1973. Multivariate θ-generalized normal
&lt;br&gt;distributions. Journal of Multivariate Analysis 3:204-219. doi:
&lt;br&gt;10.1016/0047-259X(73)90023-7.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Where can we find a description?
&lt;br&gt;&lt;br&gt;&amp;nbsp; (Short answer: as far as I can tell, it doesn't exist in
&lt;br&gt;R, but it would be good to have more information ...)
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549848&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/p-generalized-normal-distribution-tp26499523p26549848.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542966</id>
	<title>Re: Long execution time for quantile() and difftime objects (PR#14092)</title>
	<published>2009-11-27T06:15:12Z</published>
	<updated>2009-11-27T06:15:12Z</updated>
	<author>
		<name>ripley-3</name>
	</author>
	<content type="html">&amp;nbsp; This message is in MIME format. &amp;nbsp;The first part should be readable text,
&lt;br&gt;&amp;nbsp; while the remaining parts are likely unreadable without MIME-aware tools.
&lt;br&gt;&lt;br&gt;--27501778-1317196171-1259330723=:5696
&lt;br&gt;Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-7; format=flowed
&lt;br&gt;Content-Transfer-Encoding: 8BIT
&lt;br&gt;Content-ID: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542966&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alpine.LFD.2.00.0911271406411.5696@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Did you read the help page?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; x: numeric vector whose sample quantiles are wanted. &amp;nbsp;¡NA¢ and
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;¡NaN¢ values are not allowed unless ¡na.rm¢ is ¡TRUE¢.
&lt;br&gt;&lt;br&gt;so only 'numeric' vectors are really supported, although it does say
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The default method does not allow factors, but works with objects
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sufficiently like numeric vectors that ¡sort¢, addition and
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; multiplication work correctly. &amp;nbsp;In principle only sorts and
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; weighted means are needed, so datatimes could have quantiles - but
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; this is not implemented.
&lt;br&gt;&lt;br&gt;There is no claim that it works (let alone works well) for class 
&lt;br&gt;&amp;quot;difftime&amp;quot;. &amp;nbsp;If you follow the link to 'sort' it says
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The default ¡sort¢ method makes use of ¡order¢ for objects with
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; classes, which in turn makes use of the generic function ¡xtfrm¢.
&lt;br&gt;&lt;br&gt;and from ?xtfrm
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The default method will make use of ¡==¢ and ¡&amp;gt;¢ methods for the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; class of ¡x[i]¢ (for integers ¡i¢), and the ¡is.na¢ method for the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; class of ¡x¢, but might be rather slow when doing so.
&lt;br&gt;&lt;br&gt;So, if you want this to be fast, you need to write an xtfrm method. 
&lt;br&gt;There is one in R-devel
&lt;br&gt;&lt;br&gt;&amp;gt; xtfrm.difftime
&lt;br&gt;function (x)
&lt;br&gt;as.numeric(x)
&lt;br&gt;&lt;br&gt;and you can use that in your workspace (and your example is fast in 
&lt;br&gt;R-devel, because of that function I think, there being other 
&lt;br&gt;development work in progress in the version I tried).
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, 27 Nov 2009, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542966&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hong.ooi@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Full_Name: Hong Ooi
&lt;br&gt;&amp;gt; Version: 2.10.0
&lt;br&gt;&amp;gt; OS: Windows XP
&lt;br&gt;&amp;gt; Submission from: (NULL) (203.110.235.1)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; While trying to get summary statistics on a duration variable (the difference
&lt;br&gt;&amp;gt; between a start and end date), I ran into the following issue. Using summary or
&lt;br&gt;&amp;gt; quantile (which summary calls) on a difftime object takes an extremely long time
&lt;br&gt;&amp;gt; if the object is even moderately large.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A reproducible example:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; x &amp;lt;- as.Date(1:10000, origin=&amp;quot;1900-01-01&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; x[1:10]
&lt;br&gt;&amp;gt; [1] &amp;quot;1900-01-02&amp;quot; &amp;quot;1900-01-03&amp;quot; &amp;quot;1900-01-04&amp;quot; &amp;quot;1900-01-05&amp;quot; &amp;quot;1900-01-06&amp;quot;
&lt;br&gt;&amp;gt; [6] &amp;quot;1900-01-07&amp;quot; &amp;quot;1900-01-08&amp;quot; &amp;quot;1900-01-09&amp;quot; &amp;quot;1900-01-10&amp;quot; &amp;quot;1900-01-11&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; d &amp;lt;- x - as.Date(&amp;quot;1900-01-01&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; d[1:10]
&lt;br&gt;&amp;gt; Time differences in days
&lt;br&gt;&amp;gt; [1] &amp;nbsp;1 &amp;nbsp;2 &amp;nbsp;3 &amp;nbsp;4 &amp;nbsp;5 &amp;nbsp;6 &amp;nbsp;7 &amp;nbsp;8 &amp;nbsp;9 10
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(d[1:10]))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp; 0.01 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;0.01
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(d[1:100]))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp; 0.21 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;0.20
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(d[1:1000]))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp; 3.02 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;3.02
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(d[1:10000]))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp;43.56 &amp;nbsp; &amp;nbsp;0.04 &amp;nbsp; 43.66
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I unclass d, there is no problem:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(unclass(d[1:10000])))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Testing with Rprof() indicates that the problem lies in [.difftime, although the
&lt;br&gt;&amp;gt; code for that function seems innocuous enough.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; sessionInfo()
&lt;br&gt;&amp;gt; R version 2.10.0 (2009-10-26)
&lt;br&gt;&amp;gt; i386-pc-mingw32
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; locale:
&lt;br&gt;&amp;gt; [1] LC_COLLATE=English_Australia.1252 &amp;nbsp;LC_CTYPE=English_Australia.1252
&lt;br&gt;&amp;gt; [3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
&lt;br&gt;&amp;gt; [5] LC_TIME=English_Australia.1252
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; attached base packages:
&lt;br&gt;&amp;gt; [1] stats &amp;nbsp; &amp;nbsp; graphics &amp;nbsp;grDevices utils &amp;nbsp; &amp;nbsp; datasets &amp;nbsp;methods &amp;nbsp; base
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542966&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Brian D. Ripley, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542966&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ripley@...&lt;/a&gt;
&lt;br&gt;Professor of Applied Statistics, &amp;nbsp;&lt;a href=&quot;http://www.stats.ox.ac.uk/~ripley/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stats.ox.ac.uk/~ripley/&lt;/a&gt;&lt;br&gt;University of Oxford, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tel: &amp;nbsp;+44 1865 272861 (self)
&lt;br&gt;1 South Parks Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +44 1865 272866 (PA)
&lt;br&gt;Oxford OX1 3TG, UK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: &amp;nbsp;+44 1865 272595
&lt;br&gt;--27501778-1317196171-1259330723=:5696--
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542966&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Long-execution-time-for-quantile%28%29-and-difftime-objects-%28PR-14092%29-tp26542966p26542966.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542979</id>
	<title>Re: Long execution time for quantile() and difftime objects (PR#14091)</title>
	<published>2009-11-27T06:09:55Z</published>
	<updated>2009-11-27T06:09:55Z</updated>
	<author>
		<name>ripley-3</name>
	</author>
	<content type="html">Did you read the help page?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; x: numeric vector whose sample quantiles are wanted. &amp;nbsp;‘NA’ and
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;‘NaN’ values are not allowed unless ‘na.rm’ is ‘TRUE’.
&lt;br&gt;&lt;br&gt;so only 'numeric' vectors are really supported, although it does say
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The default method does not allow factors, but works with objects
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sufficiently like numeric vectors that ‘sort’, addition and
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; multiplication work correctly. &amp;nbsp;In principle only sorts and
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; weighted means are needed, so datatimes could have quantiles - but
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; this is not implemented.
&lt;br&gt;&lt;br&gt;There is no claim that it works (let alone works well) for class 
&lt;br&gt;&amp;quot;difftime&amp;quot;. &amp;nbsp;If you follow the link to 'sort' it says
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The default ‘sort’ method makes use of ‘order’ for objects with
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; classes, which in turn makes use of the generic function ‘xtfrm’.
&lt;br&gt;&lt;br&gt;and from ?xtfrm
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The default method will make use of ‘==’ and ‘&amp;gt;’ methods for the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; class of ‘x[i]’ (for integers ‘i’), and the ‘is.na’ method for the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; class of ‘x’, but might be rather slow when doing so.
&lt;br&gt;&lt;br&gt;So, if you want this to be fast, you need to write an xtfrm method. 
&lt;br&gt;There is one in R-devel
&lt;br&gt;&lt;br&gt;&amp;gt; xtfrm.difftime
&lt;br&gt;function (x)
&lt;br&gt;as.numeric(x)
&lt;br&gt;&lt;br&gt;and you can use that in your workspace (and your example is fast in 
&lt;br&gt;R-devel, because of that function I think, there being other 
&lt;br&gt;development work in progress in the version I tried).
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, 27 Nov 2009, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542979&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hong.ooi@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Full_Name: Hong Ooi
&lt;br&gt;&amp;gt; Version: 2.10.0
&lt;br&gt;&amp;gt; OS: Windows XP
&lt;br&gt;&amp;gt; Submission from: (NULL) (203.110.235.1)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; While trying to get summary statistics on a duration variable (the difference
&lt;br&gt;&amp;gt; between a start and end date), I ran into the following issue. Using summary or
&lt;br&gt;&amp;gt; quantile (which summary calls) on a difftime object takes an extremely long time
&lt;br&gt;&amp;gt; if the object is even moderately large.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A reproducible example:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; x &amp;lt;- as.Date(1:10000, origin=&amp;quot;1900-01-01&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; x[1:10]
&lt;br&gt;&amp;gt; [1] &amp;quot;1900-01-02&amp;quot; &amp;quot;1900-01-03&amp;quot; &amp;quot;1900-01-04&amp;quot; &amp;quot;1900-01-05&amp;quot; &amp;quot;1900-01-06&amp;quot;
&lt;br&gt;&amp;gt; [6] &amp;quot;1900-01-07&amp;quot; &amp;quot;1900-01-08&amp;quot; &amp;quot;1900-01-09&amp;quot; &amp;quot;1900-01-10&amp;quot; &amp;quot;1900-01-11&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; d &amp;lt;- x - as.Date(&amp;quot;1900-01-01&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; d[1:10]
&lt;br&gt;&amp;gt; Time differences in days
&lt;br&gt;&amp;gt; [1] &amp;nbsp;1 &amp;nbsp;2 &amp;nbsp;3 &amp;nbsp;4 &amp;nbsp;5 &amp;nbsp;6 &amp;nbsp;7 &amp;nbsp;8 &amp;nbsp;9 10
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(d[1:10]))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp; 0.01 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;0.01
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(d[1:100]))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp; 0.21 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;0.20
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(d[1:1000]))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp; 3.02 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;3.02
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(d[1:10000]))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp;43.56 &amp;nbsp; &amp;nbsp;0.04 &amp;nbsp; 43.66
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I unclass d, there is no problem:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; system.time(summary(unclass(d[1:10000])))
&lt;br&gt;&amp;gt; &amp;nbsp; user &amp;nbsp;system elapsed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Testing with Rprof() indicates that the problem lies in [.difftime, although the
&lt;br&gt;&amp;gt; code for that function seems innocuous enough.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; sessionInfo()
&lt;br&gt;&amp;gt; R version 2.10.0 (2009-10-26)
&lt;br&gt;&amp;gt; i386-pc-mingw32
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; locale:
&lt;br&gt;&amp;gt; [1] LC_COLLATE=English_Australia.1252 &amp;nbsp;LC_CTYPE=English_Australia.1252
&lt;br&gt;&amp;gt; [3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
&lt;br&gt;&amp;gt; [5] LC_TIME=English_Australia.1252
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; attached base packages:
&lt;br&gt;&amp;gt; [1] stats &amp;nbsp; &amp;nbsp; graphics &amp;nbsp;grDevices utils &amp;nbsp; &amp;nbsp; datasets &amp;nbsp;methods &amp;nbsp; base
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542979&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;-- 
&lt;br&gt;Brian D. Ripley, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542979&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ripley@...&lt;/a&gt;
&lt;br&gt;Professor of Applied Statistics, &amp;nbsp;&lt;a href=&quot;http://www.stats.ox.ac.uk/~ripley/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stats.ox.ac.uk/~ripley/&lt;/a&gt;&lt;br&gt;University of Oxford, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tel: &amp;nbsp;+44 1865 272861 (self)
&lt;br&gt;1 South Parks Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +44 1865 272866 (PA)
&lt;br&gt;Oxford OX1 3TG, UK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: &amp;nbsp;+44 1865 272595&lt;br /&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542979&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Long-execution-time-for-quantile%28%29-and-difftime-objects-%28PR-14091%29-tp26541809p26542979.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541809</id>
	<title>Long execution time for quantile() and difftime objects (PR#14091)</title>
	<published>2009-11-26T21:55:10Z</published>
	<updated>2009-11-26T21:55:10Z</updated>
	<author>
		<name>hong.ooi</name>
	</author>
	<content type="html">Full_Name: Hong Ooi
&lt;br&gt;Version: 2.10.0
&lt;br&gt;OS: Windows XP
&lt;br&gt;Submission from: (NULL) (203.110.235.1)
&lt;br&gt;&lt;br&gt;&lt;br&gt;While trying to get summary statistics on a duration variable (the difference
&lt;br&gt;between a start and end date), I ran into the following issue. Using summary or
&lt;br&gt;quantile (which summary calls) on a difftime object takes an extremely long time
&lt;br&gt;if the object is even moderately large.
&lt;br&gt;&lt;br&gt;A reproducible example:
&lt;br&gt;&lt;br&gt;&amp;gt; x &amp;lt;- as.Date(1:10000, origin=&amp;quot;1900-01-01&amp;quot;)
&lt;br&gt;&amp;gt; x[1:10]
&lt;br&gt;&amp;nbsp;[1] &amp;quot;1900-01-02&amp;quot; &amp;quot;1900-01-03&amp;quot; &amp;quot;1900-01-04&amp;quot; &amp;quot;1900-01-05&amp;quot; &amp;quot;1900-01-06&amp;quot;
&lt;br&gt;&amp;nbsp;[6] &amp;quot;1900-01-07&amp;quot; &amp;quot;1900-01-08&amp;quot; &amp;quot;1900-01-09&amp;quot; &amp;quot;1900-01-10&amp;quot; &amp;quot;1900-01-11&amp;quot;
&lt;br&gt;&amp;gt; d &amp;lt;- x - as.Date(&amp;quot;1900-01-01&amp;quot;)
&lt;br&gt;&amp;gt; d[1:10]
&lt;br&gt;Time differences in days
&lt;br&gt;&amp;nbsp;[1] &amp;nbsp;1 &amp;nbsp;2 &amp;nbsp;3 &amp;nbsp;4 &amp;nbsp;5 &amp;nbsp;6 &amp;nbsp;7 &amp;nbsp;8 &amp;nbsp;9 10
&lt;br&gt;&amp;gt; system.time(summary(d[1:10]))
&lt;br&gt;&amp;nbsp; &amp;nbsp;user &amp;nbsp;system elapsed 
&lt;br&gt;&amp;nbsp; &amp;nbsp;0.01 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;0.01 
&lt;br&gt;&amp;gt; system.time(summary(d[1:100]))
&lt;br&gt;&amp;nbsp; &amp;nbsp;user &amp;nbsp;system elapsed 
&lt;br&gt;&amp;nbsp; &amp;nbsp;0.21 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;0.20 
&lt;br&gt;&amp;gt; system.time(summary(d[1:1000]))
&lt;br&gt;&amp;nbsp; &amp;nbsp;user &amp;nbsp;system elapsed 
&lt;br&gt;&amp;nbsp; &amp;nbsp;3.02 &amp;nbsp; &amp;nbsp;0.00 &amp;nbsp; &amp;nbsp;3.02 
&lt;br&gt;&amp;gt; system.time(summary(d[1:10000]))
&lt;br&gt;&amp;nbsp; &amp;nbsp;user &amp;nbsp;system elapsed 
&lt;br&gt;&amp;nbsp; 43.56 &amp;nbsp; &amp;nbsp;0.04 &amp;nbsp; 43.66 
&lt;br&gt;&lt;br&gt;&lt;br&gt;If I unclass d, there is no problem:
&lt;br&gt;&lt;br&gt;&amp;gt; system.time(summary(unclass(d[1:10000])))
&lt;br&gt;&amp;nbsp; &amp;nbsp;user &amp;nbsp;system elapsed 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 
&lt;br&gt;&lt;br&gt;Testing with Rprof() indicates that the problem lies in [.difftime, although the
&lt;br&gt;code for that function seems innocuous enough.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; sessionInfo()
&lt;br&gt;R version 2.10.0 (2009-10-26) 
&lt;br&gt;i386-pc-mingw32 
&lt;br&gt;&lt;br&gt;locale:
&lt;br&gt;[1] LC_COLLATE=English_Australia.1252 &amp;nbsp;LC_CTYPE=English_Australia.1252 &amp;nbsp; 
&lt;br&gt;[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[5] LC_TIME=English_Australia.1252 &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;attached base packages:
&lt;br&gt;[1] stats &amp;nbsp; &amp;nbsp; graphics &amp;nbsp;grDevices utils &amp;nbsp; &amp;nbsp; datasets &amp;nbsp;methods &amp;nbsp; base
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541809&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Long-execution-time-for-quantile%28%29-and-difftime-objects-%28PR-14091%29-tp26541809p26541809.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541765</id>
	<title>Re: compiling on snow leopard: Cocoa errors?!?!?!</title>
	<published>2009-11-26T21:37:28Z</published>
	<updated>2009-11-26T21:37:28Z</updated>
	<author>
		<name>H. Paul Benton</name>
	</author>
	<content type="html">Simon,
&lt;br&gt;&lt;br&gt;Thanks for your help. I uninstalled and reinstalled xcode and gfortran. I got it direct from the website this time :p All was happy on the configure and make install. 
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 27 Nov 2009, at 03:14, Simon Urbanek wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Paul,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Nov 26, 2009, at 9:03 PM, Homer Paul Benton wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I'm currently using 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; gcc --version
&lt;br&gt;&amp;gt;&amp;gt; i686-apple-darwin8-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That is the wrong compiler - it's a Leopard compiler (Xcode 3.1/3.1.1 to be precise - see that it says darwin8 which is even 10.4 = Tiger!). Your Xcode seems to be seriously messed up -- I'd strongly recommend re-installing all Xcode 3.2 (run sudo gfortran-uninstall before you start) and Fortran (either the CRAN version or the Snow Leopard(!!) version from Tools).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Copyright (C) 2007 Free Software Foundation, Inc.
&lt;br&gt;&amp;gt;&amp;gt; This is free software; see the source for copying conditions. &amp;nbsp;There is NO
&lt;br&gt;&amp;gt;&amp;gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; sh-3.2# gfortran --version
&lt;br&gt;&amp;gt;&amp;gt; GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5564)
&lt;br&gt;&amp;gt;&amp;gt; Copyright (C) 2007 Free Software Foundation, Inc.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
&lt;br&gt;&amp;gt;&amp;gt; You may redistribute copies of GNU Fortran
&lt;br&gt;&amp;gt;&amp;gt; under the terms of the GNU General Public License.
&lt;br&gt;&amp;gt;&amp;gt; For more information about these matters, see the file named COPYING
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; and xcode 3.2 (1610)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; At the risk of sounding stupid, I compiled the netCDF library and the compiliers seemed happy for that. ?!?!
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; NetCDF doesn't use anything from the system so even wrong compilers won't throw it off.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Simon
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I downloaded and 'installed' the 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; On 27 Nov 2009, at 00:54, Simon Urbanek wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Paul,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; at a first glance that seems like an issue in your system to me since &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the errors come from system headers and not from our code. Which &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; compilers are you using and which Xcode version?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Nov 26, 2009, at 1:16 PM, Homer Paul Benton wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Dear R-gurus,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I'm trying to compile R on my new mac. It's snow leopard. So far &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I've seemed to be doing pretty well. I've looked at
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://cran.r-project.org/bin/macosx/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/bin/macosx/tools/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/exp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/exp/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/building.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/building.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/tools/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; All of which have been very helpful. Looking at the threads I've got &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; around some X11 issues that stopped the configure script working but &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; now when I excute make I get the error below. Any ideas?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; R is now configured for i386-apple-darwin10.2.0
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Source directory: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Installation directory: &amp;nbsp; &amp;nbsp;/Library/Frameworks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; C compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gcc -arch x86_64 -std=gnu99 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Fortran 77 compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; gfortran -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; C++ compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g++ -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Fortran 90/95 compiler: &amp;nbsp; &amp;nbsp;gfortran -arch x86_64 -g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Obj-C compiler:	 &amp;nbsp; &amp;nbsp; gcc -arch x86_64 -g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Interfaces supported: &amp;nbsp; &amp;nbsp; &amp;nbsp;X11, aqua, tcltk
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; External libraries: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readline, BLAS(vecLib), LAPACK(in blas), &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ICU
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Additional capabilities: &amp;nbsp; NLS
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Options enabled: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; framework, R profiling, Java
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Recommended packages: &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sh-3.2# echo &amp;quot;./configure SHELL='/bin/bash' r_arch=x86_64 CC=&amp;quot;gcc - 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; arch x86_64 -std=gnu99&amp;quot; CXX=&amp;quot;g++ -arch x86_64&amp;quot; OBJC=&amp;quot;gcc -arch &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; x86_64&amp;quot; F77=&amp;quot;gfortran -arch x86_64&amp;quot; FC=&amp;quot;gfortran -arch x86_64&amp;quot; -- 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; with-system-zlib --with-blas='-framework vecLib' --with-lapack --x- 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; includes='-I/usr/X11/include/X11' --x-libraries='-L/usr/X11/lib' &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; X_LIBS=-L/usr/X11/lib&amp;quot; &amp;gt; ~/R/compileR.txt
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sh-3.2# make
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[1]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[1]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[2]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; .....
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ..... etc
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; building package 'tools'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[6]: `Makedeps' is up to date.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ../../../../library/tools/libs/x86_64/tools.so is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; building package 'utils'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[4]: Nothing to be done for `iconvlist'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; building package 'grDevices'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ../../../library/grDevices/R/grDevices is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; gcc -arch x86_64 -I../../../../include -I../../../../include/x86_64 - 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I../../../include -I../../../../src/include -DHAVE_CONFIG_H -I/usr/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; local/include &amp;nbsp; -fPIC &amp;nbsp;-g -O2 -c qdCocoa.m -o qdCocoa.o
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In file included from /System/Library/Frameworks/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Foundation.framework/Headers/NSCharacterSet.h:8,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /System/Library/Frameworks/Foundation.framework/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Headers/Foundation.h:15,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /System/Library/Frameworks/Cocoa.framework/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Headers/Cocoa.h:12,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from qdCocoa.h:39,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from qdCocoa.m:24:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 278: error: format string argument follows the args to be formatted
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 280: error: format string argument follows the args to be formatted
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In file included from /System/Library/Frameworks/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Foundation.framework/Headers/Foundation.h:25,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /System/Library/Frameworks/Cocoa.framework/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Headers/Cocoa.h:12,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from qdCocoa.h:39,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from qdCocoa.m:24:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; NSException.h:62: error: format string argument follows the args to &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; be formatted
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; qdCocoa.m: In function '+[QuartzCocoaView &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; quartzWindowWithRect:andInfo:]':
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; qdCocoa.m:90: warning: class 'QuartzCocoaView' does not implement &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the 'NSWindowDelegate' protocol
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[5]: *** [qdCocoa.o] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[4]: *** [mksrc] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[3]: *** [all] Error 2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[2]: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make[1]: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541765&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/compiling-on-snow-leopard%3A-Cocoa-errors-%21-%21-%21-tp26535254p26541765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26537482</id>
	<title>Re: compiling on snow leopard: Cocoa errors?!?!?!</title>
	<published>2009-11-26T19:14:26Z</published>
	<updated>2009-11-26T19:14:26Z</updated>
	<author>
		<name>Simon Urbanek</name>
	</author>
	<content type="html">Paul,
&lt;br&gt;&lt;br&gt;On Nov 26, 2009, at 9:03 PM, Homer Paul Benton wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I'm currently using 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; gcc --version
&lt;br&gt;&amp;gt; i686-apple-darwin8-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
&lt;br&gt;&lt;br&gt;That is the wrong compiler - it's a Leopard compiler (Xcode 3.1/3.1.1 to be precise - see that it says darwin8 which is even 10.4 = Tiger!). Your Xcode seems to be seriously messed up -- I'd strongly recommend re-installing all Xcode 3.2 (run sudo gfortran-uninstall before you start) and Fortran (either the CRAN version or the Snow Leopard(!!) version from Tools).
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Copyright (C) 2007 Free Software Foundation, Inc.
&lt;br&gt;&amp;gt; This is free software; see the source for copying conditions. &amp;nbsp;There is NO
&lt;br&gt;&amp;gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sh-3.2# gfortran --version
&lt;br&gt;&amp;gt; GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5564)
&lt;br&gt;&amp;gt; Copyright (C) 2007 Free Software Foundation, Inc.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
&lt;br&gt;&amp;gt; You may redistribute copies of GNU Fortran
&lt;br&gt;&amp;gt; under the terms of the GNU General Public License.
&lt;br&gt;&amp;gt; For more information about these matters, see the file named COPYING
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and xcode 3.2 (1610)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; At the risk of sounding stupid, I compiled the netCDF library and the compiliers seemed happy for that. ?!?!
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;NetCDF doesn't use anything from the system so even wrong compilers won't throw it off.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I downloaded and 'installed' the 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 27 Nov 2009, at 00:54, Simon Urbanek wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Paul,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; at a first glance that seems like an issue in your system to me since &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; the errors come from system headers and not from our code. Which &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; compilers are you using and which Xcode version?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt; Simon
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; On Nov 26, 2009, at 1:16 PM, Homer Paul Benton wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Dear R-gurus,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm trying to compile R on my new mac. It's snow leopard. So far &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I've seemed to be doing pretty well. I've looked at
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://cran.r-project.org/bin/macosx/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/bin/macosx/tools/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/exp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/exp/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/building.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/building.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/tools/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; All of which have been very helpful. Looking at the threads I've got &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; around some X11 issues that stopped the configure script working but &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; now when I excute make I get the error below. Any ideas?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; R is now configured for i386-apple-darwin10.2.0
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Source directory: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Installation directory: &amp;nbsp; &amp;nbsp;/Library/Frameworks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; C compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gcc -arch x86_64 -std=gnu99 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Fortran 77 compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; gfortran -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; C++ compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g++ -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Fortran 90/95 compiler: &amp;nbsp; &amp;nbsp;gfortran -arch x86_64 -g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Obj-C compiler:	 &amp;nbsp; &amp;nbsp; gcc -arch x86_64 -g -O2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Interfaces supported: &amp;nbsp; &amp;nbsp; &amp;nbsp;X11, aqua, tcltk
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; External libraries: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readline, BLAS(vecLib), LAPACK(in blas), &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ICU
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Additional capabilities: &amp;nbsp; NLS
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Options enabled: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; framework, R profiling, Java
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Recommended packages: &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sh-3.2# echo &amp;quot;./configure SHELL='/bin/bash' r_arch=x86_64 CC=&amp;quot;gcc - 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; arch x86_64 -std=gnu99&amp;quot; CXX=&amp;quot;g++ -arch x86_64&amp;quot; OBJC=&amp;quot;gcc -arch &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; x86_64&amp;quot; F77=&amp;quot;gfortran -arch x86_64&amp;quot; FC=&amp;quot;gfortran -arch x86_64&amp;quot; -- 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; with-system-zlib --with-blas='-framework vecLib' --with-lapack --x- 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; includes='-I/usr/X11/include/X11' --x-libraries='-L/usr/X11/lib' &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; X_LIBS=-L/usr/X11/lib&amp;quot; &amp;gt; ~/R/compileR.txt
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sh-3.2# make
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[1]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[1]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[2]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; .....
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ..... etc
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; building package 'tools'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[6]: `Makedeps' is up to date.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ../../../../library/tools/libs/x86_64/tools.so is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; building package 'utils'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[4]: Nothing to be done for `iconvlist'.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; building package 'grDevices'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ../../../library/grDevices/R/grDevices is unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; gcc -arch x86_64 -I../../../../include -I../../../../include/x86_64 - 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I../../../include -I../../../../src/include -DHAVE_CONFIG_H -I/usr/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; local/include &amp;nbsp; -fPIC &amp;nbsp;-g -O2 -c qdCocoa.m -o qdCocoa.o
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In file included from /System/Library/Frameworks/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Foundation.framework/Headers/NSCharacterSet.h:8,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Foundation.framework/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Headers/Foundation.h:15,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Cocoa.framework/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Headers/Cocoa.h:12,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.h:39,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.m:24:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 278: error: format string argument follows the args to be formatted
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 280: error: format string argument follows the args to be formatted
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In file included from /System/Library/Frameworks/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Foundation.framework/Headers/Foundation.h:25,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Cocoa.framework/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Headers/Cocoa.h:12,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.h:39,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.m:24:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; NSException.h:62: error: format string argument follows the args to &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; be formatted
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; qdCocoa.m: In function '+[QuartzCocoaView &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; quartzWindowWithRect:andInfo:]':
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; qdCocoa.m:90: warning: class 'QuartzCocoaView' does not implement &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the 'NSWindowDelegate' protocol
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[5]: *** [qdCocoa.o] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[4]: *** [mksrc] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[3]: *** [all] Error 2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[2]: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make[1]: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; make: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537482&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537482&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/compiling-on-snow-leopard%3A-Cocoa-errors-%21-%21-%21-tp26535254p26537482.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541799</id>
	<title>Re: compiling on snow leopard: Cocoa errors?!?!?!</title>
	<published>2009-11-26T18:03:47Z</published>
	<updated>2009-11-26T18:03:47Z</updated>
	<author>
		<name>H. Paul Benton</name>
	</author>
	<content type="html">Simon,
&lt;br&gt;&lt;br&gt;I'm currently using 
&lt;br&gt;&lt;br&gt;gcc --version
&lt;br&gt;i686-apple-darwin8-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
&lt;br&gt;Copyright (C) 2007 Free Software Foundation, Inc.
&lt;br&gt;This is free software; see the source for copying conditions. &amp;nbsp;There is NO
&lt;br&gt;warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&lt;br&gt;&lt;br&gt;sh-3.2# gfortran --version
&lt;br&gt;GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5564)
&lt;br&gt;Copyright (C) 2007 Free Software Foundation, Inc.
&lt;br&gt;&lt;br&gt;GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
&lt;br&gt;You may redistribute copies of GNU Fortran
&lt;br&gt;under the terms of the GNU General Public License.
&lt;br&gt;For more information about these matters, see the file named COPYING
&lt;br&gt;&lt;br&gt;&lt;br&gt;and xcode 3.2 (1610)
&lt;br&gt;&lt;br&gt;At the risk of sounding stupid, I compiled the netCDF library and the compiliers seemed happy for that. ?!?!
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;I downloaded and 'installed' the 
&lt;br&gt;&lt;br&gt;On 27 Nov 2009, at 00:54, Simon Urbanek wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Paul,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; at a first glance that seems like an issue in your system to me since &amp;nbsp;
&lt;br&gt;&amp;gt; the errors come from system headers and not from our code. Which &amp;nbsp;
&lt;br&gt;&amp;gt; compilers are you using and which Xcode version?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Simon
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Nov 26, 2009, at 1:16 PM, Homer Paul Benton wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Dear R-gurus,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I'm trying to compile R on my new mac. It's snow leopard. So far &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; I've seemed to be doing pretty well. I've looked at
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://cran.r-project.org/bin/macosx/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/bin/macosx/tools/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/exp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/exp/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/building.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/building.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/tools/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; All of which have been very helpful. Looking at the threads I've got &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; around some X11 issues that stopped the configure script working but &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; now when I excute make I get the error below. Any ideas?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; R is now configured for i386-apple-darwin10.2.0
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Source directory: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.
&lt;br&gt;&amp;gt;&amp;gt; Installation directory: &amp;nbsp; &amp;nbsp;/Library/Frameworks
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; C compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gcc -arch x86_64 -std=gnu99 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt; Fortran 77 compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; gfortran -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; C++ compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g++ -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;&amp;gt; Fortran 90/95 compiler: &amp;nbsp; &amp;nbsp;gfortran -arch x86_64 -g -O2
&lt;br&gt;&amp;gt;&amp;gt; Obj-C compiler:	 &amp;nbsp; &amp;nbsp; gcc -arch x86_64 -g -O2
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Interfaces supported: &amp;nbsp; &amp;nbsp; &amp;nbsp;X11, aqua, tcltk
&lt;br&gt;&amp;gt;&amp;gt; External libraries: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readline, BLAS(vecLib), LAPACK(in blas), &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; ICU
&lt;br&gt;&amp;gt;&amp;gt; Additional capabilities: &amp;nbsp; NLS
&lt;br&gt;&amp;gt;&amp;gt; Options enabled: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; framework, R profiling, Java
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Recommended packages: &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; sh-3.2# echo &amp;quot;./configure SHELL='/bin/bash' r_arch=x86_64 CC=&amp;quot;gcc - 
&lt;br&gt;&amp;gt;&amp;gt; arch x86_64 -std=gnu99&amp;quot; CXX=&amp;quot;g++ -arch x86_64&amp;quot; OBJC=&amp;quot;gcc -arch &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; x86_64&amp;quot; F77=&amp;quot;gfortran -arch x86_64&amp;quot; FC=&amp;quot;gfortran -arch x86_64&amp;quot; -- 
&lt;br&gt;&amp;gt;&amp;gt; with-system-zlib --with-blas='-framework vecLib' --with-lapack --x- 
&lt;br&gt;&amp;gt;&amp;gt; includes='-I/usr/X11/include/X11' --x-libraries='-L/usr/X11/lib' &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; X_LIBS=-L/usr/X11/lib&amp;quot; &amp;gt; ~/R/compileR.txt
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; sh-3.2# make
&lt;br&gt;&amp;gt;&amp;gt; make[1]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt; make[1]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt; make[2]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt;&amp;gt; .....
&lt;br&gt;&amp;gt;&amp;gt; ..... etc
&lt;br&gt;&amp;gt;&amp;gt; building package 'tools'
&lt;br&gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt; make[6]: `Makedeps' is up to date.
&lt;br&gt;&amp;gt;&amp;gt; ../../../../library/tools/libs/x86_64/tools.so is unchanged
&lt;br&gt;&amp;gt;&amp;gt; building package 'utils'
&lt;br&gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt; make[4]: Nothing to be done for `iconvlist'.
&lt;br&gt;&amp;gt;&amp;gt; building package 'grDevices'
&lt;br&gt;&amp;gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt;&amp;gt; ../../../library/grDevices/R/grDevices is unchanged
&lt;br&gt;&amp;gt;&amp;gt; gcc -arch x86_64 -I../../../../include -I../../../../include/x86_64 - 
&lt;br&gt;&amp;gt;&amp;gt; I../../../include -I../../../../src/include -DHAVE_CONFIG_H -I/usr/ 
&lt;br&gt;&amp;gt;&amp;gt; local/include &amp;nbsp; -fPIC &amp;nbsp;-g -O2 -c qdCocoa.m -o qdCocoa.o
&lt;br&gt;&amp;gt;&amp;gt; In file included from /System/Library/Frameworks/ 
&lt;br&gt;&amp;gt;&amp;gt; Foundation.framework/Headers/NSCharacterSet.h:8,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /System/Library/Frameworks/Foundation.framework/ 
&lt;br&gt;&amp;gt;&amp;gt; Headers/Foundation.h:15,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /System/Library/Frameworks/Cocoa.framework/ 
&lt;br&gt;&amp;gt;&amp;gt; Headers/Cocoa.h:12,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from qdCocoa.h:39,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from qdCocoa.m:24:
&lt;br&gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
&lt;br&gt;&amp;gt;&amp;gt; 278: error: format string argument follows the args to be formatted
&lt;br&gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
&lt;br&gt;&amp;gt;&amp;gt; 280: error: format string argument follows the args to be formatted
&lt;br&gt;&amp;gt;&amp;gt; In file included from /System/Library/Frameworks/ 
&lt;br&gt;&amp;gt;&amp;gt; Foundation.framework/Headers/Foundation.h:25,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /System/Library/Frameworks/Cocoa.framework/ 
&lt;br&gt;&amp;gt;&amp;gt; Headers/Cocoa.h:12,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from qdCocoa.h:39,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from qdCocoa.m:24:
&lt;br&gt;&amp;gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/ 
&lt;br&gt;&amp;gt;&amp;gt; NSException.h:62: error: format string argument follows the args to &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; be formatted
&lt;br&gt;&amp;gt;&amp;gt; qdCocoa.m: In function '+[QuartzCocoaView &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; quartzWindowWithRect:andInfo:]':
&lt;br&gt;&amp;gt;&amp;gt; qdCocoa.m:90: warning: class 'QuartzCocoaView' does not implement &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; the 'NSWindowDelegate' protocol
&lt;br&gt;&amp;gt;&amp;gt; make[5]: *** [qdCocoa.o] Error 1
&lt;br&gt;&amp;gt;&amp;gt; make[4]: *** [mksrc] Error 1
&lt;br&gt;&amp;gt;&amp;gt; make[3]: *** [all] Error 2
&lt;br&gt;&amp;gt;&amp;gt; make[2]: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt; make[1]: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt; make: *** [R] Error 1
&lt;br&gt;&amp;gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541799&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541799&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/compiling-on-snow-leopard%3A-Cocoa-errors-%21-%21-%21-tp26535254p26541799.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26536720</id>
	<title>Re: compiling on snow leopard: Cocoa errors?!?!?!</title>
	<published>2009-11-26T16:54:28Z</published>
	<updated>2009-11-26T16:54:28Z</updated>
	<author>
		<name>Simon Urbanek</name>
	</author>
	<content type="html">Paul,
&lt;br&gt;&lt;br&gt;at a first glance that seems like an issue in your system to me since &amp;nbsp;
&lt;br&gt;the errors come from system headers and not from our code. Which &amp;nbsp;
&lt;br&gt;compilers are you using and which Xcode version?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 26, 2009, at 1:16 PM, Homer Paul Benton wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear R-gurus,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm trying to compile R on my new mac. It's snow leopard. So far &amp;nbsp;
&lt;br&gt;&amp;gt; I've seemed to be doing pretty well. I've looked at
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://cran.r-project.org/bin/macosx/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/bin/macosx/tools/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/exp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/exp/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/building.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/building.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://r.research.att.com/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/tools/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; All of which have been very helpful. Looking at the threads I've got &amp;nbsp;
&lt;br&gt;&amp;gt; around some X11 issues that stopped the configure script working but &amp;nbsp;
&lt;br&gt;&amp;gt; now when I excute make I get the error below. Any ideas?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; R is now configured for i386-apple-darwin10.2.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Source directory: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.
&lt;br&gt;&amp;gt; Installation directory: &amp;nbsp; &amp;nbsp;/Library/Frameworks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; C compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gcc -arch x86_64 -std=gnu99 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt; Fortran 77 compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; gfortran -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; C++ compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g++ -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;gt; Fortran 90/95 compiler: &amp;nbsp; &amp;nbsp;gfortran -arch x86_64 -g -O2
&lt;br&gt;&amp;gt; Obj-C compiler:	 &amp;nbsp; &amp;nbsp; gcc -arch x86_64 -g -O2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Interfaces supported: &amp;nbsp; &amp;nbsp; &amp;nbsp;X11, aqua, tcltk
&lt;br&gt;&amp;gt; External libraries: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readline, BLAS(vecLib), LAPACK(in blas), &amp;nbsp;
&lt;br&gt;&amp;gt; ICU
&lt;br&gt;&amp;gt; Additional capabilities: &amp;nbsp; NLS
&lt;br&gt;&amp;gt; Options enabled: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; framework, R profiling, Java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Recommended packages: &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sh-3.2# echo &amp;quot;./configure SHELL='/bin/bash' r_arch=x86_64 CC=&amp;quot;gcc - 
&lt;br&gt;&amp;gt; arch x86_64 -std=gnu99&amp;quot; CXX=&amp;quot;g++ -arch x86_64&amp;quot; OBJC=&amp;quot;gcc -arch &amp;nbsp;
&lt;br&gt;&amp;gt; x86_64&amp;quot; F77=&amp;quot;gfortran -arch x86_64&amp;quot; FC=&amp;quot;gfortran -arch x86_64&amp;quot; -- 
&lt;br&gt;&amp;gt; with-system-zlib --with-blas='-framework vecLib' --with-lapack --x- 
&lt;br&gt;&amp;gt; includes='-I/usr/X11/include/X11' --x-libraries='-L/usr/X11/lib' &amp;nbsp;
&lt;br&gt;&amp;gt; X_LIBS=-L/usr/X11/lib&amp;quot; &amp;gt; ~/R/compileR.txt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sh-3.2# make
&lt;br&gt;&amp;gt; make[1]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt; make[1]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt; make[2]: Nothing to be done for `R'.
&lt;br&gt;&amp;gt; .....
&lt;br&gt;&amp;gt; ..... etc
&lt;br&gt;&amp;gt; building package 'tools'
&lt;br&gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt; make[6]: `Makedeps' is up to date.
&lt;br&gt;&amp;gt; ../../../../library/tools/libs/x86_64/tools.so is unchanged
&lt;br&gt;&amp;gt; building package 'utils'
&lt;br&gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt; make[4]: Nothing to be done for `iconvlist'.
&lt;br&gt;&amp;gt; building package 'grDevices'
&lt;br&gt;&amp;gt; all.R is unchanged
&lt;br&gt;&amp;gt; ../../../library/grDevices/R/grDevices is unchanged
&lt;br&gt;&amp;gt; gcc -arch x86_64 -I../../../../include -I../../../../include/x86_64 - 
&lt;br&gt;&amp;gt; I../../../include -I../../../../src/include -DHAVE_CONFIG_H -I/usr/ 
&lt;br&gt;&amp;gt; local/include &amp;nbsp; -fPIC &amp;nbsp;-g -O2 -c qdCocoa.m -o qdCocoa.o
&lt;br&gt;&amp;gt; In file included from /System/Library/Frameworks/ 
&lt;br&gt;&amp;gt; Foundation.framework/Headers/NSCharacterSet.h:8,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Foundation.framework/ 
&lt;br&gt;&amp;gt; Headers/Foundation.h:15,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Cocoa.framework/ 
&lt;br&gt;&amp;gt; Headers/Cocoa.h:12,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.h:39,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.m:24:
&lt;br&gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
&lt;br&gt;&amp;gt; 278: error: format string argument follows the args to be formatted
&lt;br&gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
&lt;br&gt;&amp;gt; 280: error: format string argument follows the args to be formatted
&lt;br&gt;&amp;gt; In file included from /System/Library/Frameworks/ 
&lt;br&gt;&amp;gt; Foundation.framework/Headers/Foundation.h:25,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Cocoa.framework/ 
&lt;br&gt;&amp;gt; Headers/Cocoa.h:12,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.h:39,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.m:24:
&lt;br&gt;&amp;gt; /System/Library/Frameworks/Foundation.framework/Headers/ 
&lt;br&gt;&amp;gt; NSException.h:62: error: format string argument follows the args to &amp;nbsp;
&lt;br&gt;&amp;gt; be formatted
&lt;br&gt;&amp;gt; qdCocoa.m: In function '+[QuartzCocoaView &amp;nbsp;
&lt;br&gt;&amp;gt; quartzWindowWithRect:andInfo:]':
&lt;br&gt;&amp;gt; qdCocoa.m:90: warning: class 'QuartzCocoaView' does not implement &amp;nbsp;
&lt;br&gt;&amp;gt; the 'NSWindowDelegate' protocol
&lt;br&gt;&amp;gt; make[5]: *** [qdCocoa.o] Error 1
&lt;br&gt;&amp;gt; make[4]: *** [mksrc] Error 1
&lt;br&gt;&amp;gt; make[3]: *** [all] Error 2
&lt;br&gt;&amp;gt; make[2]: *** [R] Error 1
&lt;br&gt;&amp;gt; make[1]: *** [R] Error 1
&lt;br&gt;&amp;gt; make: *** [R] Error 1
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536720&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26536720&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/compiling-on-snow-leopard%3A-Cocoa-errors-%21-%21-%21-tp26535254p26536720.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534847</id>
	<title>Re: p-generalized normal distribution</title>
	<published>2009-11-26T13:01:26Z</published>
	<updated>2009-11-26T13:01:26Z</updated>
	<author>
		<name>Christophe Dutang1</name>
	</author>
	<content type="html">He already asked... And I don t know any pkg implementing this &amp;nbsp;
&lt;br&gt;distribution...
&lt;br&gt;&lt;br&gt;iPhone.fan
&lt;br&gt;&lt;br&gt;Le 26 nov. 2009 à 21:22, Kjetil Halvorsen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534847&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kjetilbrinchmannhalvorsen@...&lt;/a&gt; 
&lt;br&gt;m&amp;gt; a écrit :
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; There is a CRAN Task View for probability Distributions. take a look &amp;nbsp;
&lt;br&gt;&amp;gt; there!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kjetil
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 1:53 PM, Steve Kalke &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534847&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steve.kalke@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I would like to know if there is an R-package available for &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; computing the
&lt;br&gt;&amp;gt;&amp;gt; density, distribution function, quantiles and random numbers of the
&lt;br&gt;&amp;gt;&amp;gt; p-generalized normal distribution or if somebody is already working &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; on it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt;&amp;gt; Steve Kalke
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534847&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534847&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534847&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/p-generalized-normal-distribution-tp26499523p26534847.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534496</id>
	<title>Re: p-generalized normal distribution</title>
	<published>2009-11-26T12:22:24Z</published>
	<updated>2009-11-26T12:22:24Z</updated>
	<author>
		<name>Kjetil Halvorsen</name>
	</author>
	<content type="html">There is a CRAN Task View for probability Distributions. take a look there!
&lt;br&gt;&lt;br&gt;Kjetil
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 1:53 PM, Steve Kalke &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534496&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steve.kalke@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would like to know if there is an R-package available for computing the
&lt;br&gt;&amp;gt; density, distribution function, quantiles and random numbers of the
&lt;br&gt;&amp;gt; p-generalized normal distribution or if somebody is already working on it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Steve Kalke
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534496&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534496&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/p-generalized-normal-distribution-tp26499523p26534496.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535254</id>
	<title>compiling on snow leopard: Cocoa errors?!?!?!</title>
	<published>2009-11-26T10:16:28Z</published>
	<updated>2009-11-26T10:16:28Z</updated>
	<author>
		<name>H. Paul Benton</name>
	</author>
	<content type="html">Dear R-gurus,
&lt;br&gt;&lt;br&gt;I'm trying to compile R on my new mac. It's snow leopard. So far I've seemed to be doing pretty well. I've looked at 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://cran.r-project.org/bin/macosx/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/bin/macosx/tools/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://r.research.att.com/exp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/exp/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://r.research.att.com/building.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/building.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://r.research.att.com/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://r.research.att.com/tools/&lt;/a&gt;&lt;br&gt;&lt;br&gt;All of which have been very helpful. Looking at the threads I've got around some X11 issues that stopped the configure script working but now when I excute make I get the error below. Any ideas?
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;R is now configured for i386-apple-darwin10.2.0
&lt;br&gt;&lt;br&gt;&amp;nbsp; Source directory: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.
&lt;br&gt;&amp;nbsp; Installation directory: &amp;nbsp; &amp;nbsp;/Library/Frameworks
&lt;br&gt;&lt;br&gt;&amp;nbsp; C compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gcc -arch x86_64 -std=gnu99 &amp;nbsp;-g -O2
&lt;br&gt;&amp;nbsp; Fortran 77 compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; gfortran -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&lt;br&gt;&amp;nbsp; C++ compiler: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g++ -arch x86_64 &amp;nbsp;-g -O2
&lt;br&gt;&amp;nbsp; Fortran 90/95 compiler: &amp;nbsp; &amp;nbsp;gfortran -arch x86_64 -g -O2
&lt;br&gt;&amp;nbsp; Obj-C compiler:	 &amp;nbsp; &amp;nbsp; gcc -arch x86_64 -g -O2
&lt;br&gt;&lt;br&gt;&amp;nbsp; Interfaces supported: &amp;nbsp; &amp;nbsp; &amp;nbsp;X11, aqua, tcltk
&lt;br&gt;&amp;nbsp; External libraries: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readline, BLAS(vecLib), LAPACK(in blas), ICU
&lt;br&gt;&amp;nbsp; Additional capabilities: &amp;nbsp; NLS
&lt;br&gt;&amp;nbsp; Options enabled: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; framework, R profiling, Java
&lt;br&gt;&lt;br&gt;&amp;nbsp; Recommended packages: &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;&lt;br&gt;sh-3.2# echo &amp;quot;./configure SHELL='/bin/bash' r_arch=x86_64 CC=&amp;quot;gcc -arch x86_64 -std=gnu99&amp;quot; CXX=&amp;quot;g++ -arch x86_64&amp;quot; OBJC=&amp;quot;gcc -arch x86_64&amp;quot; F77=&amp;quot;gfortran -arch x86_64&amp;quot; FC=&amp;quot;gfortran -arch x86_64&amp;quot; --with-system-zlib --with-blas='-framework vecLib' --with-lapack --x-includes='-I/usr/X11/include/X11' --x-libraries='-L/usr/X11/lib' X_LIBS=-L/usr/X11/lib&amp;quot; &amp;gt; ~/R/compileR.txt
&lt;br&gt;&lt;br&gt;&lt;br&gt;sh-3.2# make
&lt;br&gt;make[1]: Nothing to be done for `R'.
&lt;br&gt;make[1]: Nothing to be done for `R'.
&lt;br&gt;make[2]: Nothing to be done for `R'.
&lt;br&gt;.....
&lt;br&gt;..... etc
&lt;br&gt;building package 'tools'
&lt;br&gt;all.R is unchanged
&lt;br&gt;make[6]: `Makedeps' is up to date.
&lt;br&gt;../../../../library/tools/libs/x86_64/tools.so is unchanged
&lt;br&gt;building package 'utils'
&lt;br&gt;all.R is unchanged
&lt;br&gt;make[4]: Nothing to be done for `iconvlist'.
&lt;br&gt;building package 'grDevices'
&lt;br&gt;all.R is unchanged
&lt;br&gt;../../../library/grDevices/R/grDevices is unchanged
&lt;br&gt;gcc -arch x86_64 -I../../../../include -I../../../../include/x86_64 -I../../../include -I../../../../src/include -DHAVE_CONFIG_H -I/usr/local/include &amp;nbsp; -fPIC &amp;nbsp;-g -O2 -c qdCocoa.m -o qdCocoa.o
&lt;br&gt;In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:8,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:15,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.h:39,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.m:24:
&lt;br&gt;/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:278: error: format string argument follows the args to be formatted
&lt;br&gt;/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:280: error: format string argument follows the args to be formatted
&lt;br&gt;In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:25,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.h:39,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from qdCocoa.m:24:
&lt;br&gt;/System/Library/Frameworks/Foundation.framework/Headers/NSException.h:62: error: format string argument follows the args to be formatted
&lt;br&gt;qdCocoa.m: In function '+[QuartzCocoaView quartzWindowWithRect:andInfo:]':
&lt;br&gt;qdCocoa.m:90: warning: class 'QuartzCocoaView' does not implement the 'NSWindowDelegate' protocol
&lt;br&gt;make[5]: *** [qdCocoa.o] Error 1
&lt;br&gt;make[4]: *** [mksrc] Error 1
&lt;br&gt;make[3]: *** [all] Error 2
&lt;br&gt;make[2]: *** [R] Error 1
&lt;br&gt;make[1]: *** [R] Error 1
&lt;br&gt;make: *** [R] Error 1
&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535254&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/compiling-on-snow-leopard%3A-Cocoa-errors-%21-%21-%21-tp26535254p26535254.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532765</id>
	<title>Re: &quot;bug report&quot; field in DESCRIPTION file?</title>
	<published>2009-11-26T09:38:14Z</published>
	<updated>2009-11-26T09:38:14Z</updated>
	<author>
		<name>Barry Rowlingson</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 1:39 PM, Duncan Murdoch &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murdoch@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; This sounds like a good idea, though I would add a &amp;quot;package&amp;quot; parameter to
&lt;br&gt;&amp;gt; the bug.report() function, rather than creating a new function.
&lt;br&gt;&lt;br&gt;I'm sure when I did help.search(&amp;quot;bug&amp;quot;) and help.search(&amp;quot;report&amp;quot;) this
&lt;br&gt;morning I didn't see this function! Otherwise I would have suggested
&lt;br&gt;that. bug.report(package=&amp;quot;bazbrain&amp;quot;). Oh dear, no maintainer.
&lt;br&gt;&lt;br&gt;&amp;gt; Does the logic below sound right for bug.report() with the package
&lt;br&gt;&amp;gt; specified?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If there's a BugReports field, bug.report() calls browseURL() on that page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If not, it does more or less what it does now, but
&lt;br&gt;&amp;gt; - it defaults &amp;quot;address&amp;quot; to the package maintainer. - it adds a line in the
&lt;br&gt;&amp;gt; intro to the message pointing to the URL field if there was one.
&lt;br&gt;&lt;br&gt;&amp;nbsp;Martin Maechler's reservation about not being able to fill in the R
&lt;br&gt;details for bug reports on trackers isn't too much of a problem, since
&lt;br&gt;the bug tracker form could have fields for R version, session info
&lt;br&gt;etc, or at least a big warning saying &amp;quot;Please include the following
&lt;br&gt;info&amp;quot; (inside a &amp;lt;blink&amp;gt; tag).
&lt;br&gt;&lt;br&gt;&amp;nbsp;So how about if bug.report(package=&amp;quot;foo&amp;quot;) has a BugReports: field,
&lt;br&gt;you print out 'The following information may be useful to your bug
&lt;br&gt;report' and dump the relevant things ready for cut n paste into a bug
&lt;br&gt;tracker, then browseURL().
&lt;br&gt;&lt;br&gt;Barry
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532765&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22bug-report%22-field-in-DESCRIPTION-file--tp26528661p26532765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530664</id>
	<title>Re: &quot;bug report&quot; field in DESCRIPTION file?</title>
	<published>2009-11-26T07:00:03Z</published>
	<updated>2009-11-26T07:00:03Z</updated>
	<author>
		<name>Duncan Murdoch-2</name>
	</author>
	<content type="html">On 26/11/2009 9:20 AM, Martin Maechler wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;DM&amp;quot; == Duncan Murdoch &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530664&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murdoch@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; on Thu, 26 Nov 2009 08:39:27 -0500 writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; On 26/11/2009 7:09 AM, Barry Rowlingson wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; A lot of R packages are now effectively maintained by several people
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; and so use sites like R-forge or google code for development. This
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; means the best way to report bugs or problems with these packages is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; via the development site's bug tracking rather than emailing the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; maintainer. Could we agree on a field in DESCRIPTION explicitly for
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; bug reports?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; The DESCRIPTION file has an optional URL field which generally sends
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; the user to the 'home page' of the package. Whether or not there is a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; bug tracker somewhere there isn't made explicit, so I don't think
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; overloading URL for a bug report address is a good idea. The Hmisc
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; package mentions its bug tracker in the Description field and also has
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; it in the URL field with three other URLs. This tells me a bug report
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; field might be a better idea.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; I'd prefer an optional field called 'BugReports:', which would be a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; URL, and this could either be the http: address of a web site bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; tracker or a mailto: URL (of a real live human or a mail-based
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; tracker).
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; If there's agreement on this then a further step may be to write a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 'bugreport(package)' function that would first look for a BugReport
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; field, then the URL or maintainer fields to give the poor confused
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; user some advice on what to do. Then when someone emails R-dev saying
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; they think there's a bug in package foo, we can say &amp;quot;Have you read the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; output of 'bugreport(&amp;quot;foo&amp;quot;)'?&amp;quot; which might be more helpful than saying
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 'bugs with 'foo' should be reported to the maintainer'.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; This sounds like a good idea, though I would add a &amp;quot;package&amp;quot; parameter 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; to the bug.report() function, rather than creating a new function.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I agree (good idea; &amp;nbsp;use &amp;nbsp;bug.report() with arguments).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; Does the logic below sound right for bug.report() with the package 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; specified?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; If there's a BugReports field, bug.report() calls browseURL() on that page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not sure if that's easy: &amp;nbsp;One main reason for bug.report() is
&lt;br&gt;&amp;gt; to auto-collect the necessary info and put it into the body of
&lt;br&gt;&amp;gt; an e-mail message. &amp;nbsp;So, I think the above only &amp;quot;works&amp;quot; when the
&lt;br&gt;&amp;gt; BugReports fields is a 'mailto:' URL, but not, e.g., when it
&lt;br&gt;&amp;gt; points to an R-forge bug tracking web page form.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;The idea was that we would not use the auto-collection at all if there 
&lt;br&gt;was a BugReports field, because the package author(s) had indicated by 
&lt;br&gt;it that they didn't want emailed bug reports.
&lt;br&gt;&lt;br&gt;Duncan Murdoch
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; If not, it does more or less what it does now, but
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; - it defaults &amp;quot;address&amp;quot; to the package maintainer. 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; - it adds a line in the intro to the message pointing to the URL field 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; if there was one.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; that sounds good.
&lt;br&gt;&amp;gt; Martin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; Duncan Murdoch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; Just an idea for a rainy morning...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; Barry
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530664&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530664&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; DM&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530664&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22bug-report%22-field-in-DESCRIPTION-file--tp26528661p26530664.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530172</id>
	<title>Re: &quot;bug report&quot; field in DESCRIPTION file?</title>
	<published>2009-11-26T06:20:37Z</published>
	<updated>2009-11-26T06:20:37Z</updated>
	<author>
		<name>Martin Maechler-4</name>
	</author>
	<content type="html">&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;DM&amp;quot; == Duncan Murdoch &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530172&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;murdoch@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; on Thu, 26 Nov 2009 08:39:27 -0500 writes:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; On 26/11/2009 7:09 AM, Barry Rowlingson wrote:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; A lot of R packages are now effectively maintained by several people
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; and so use sites like R-forge or google code for development. This
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; means the best way to report bugs or problems with these packages is
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; via the development site's bug tracking rather than emailing the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; maintainer. Could we agree on a field in DESCRIPTION explicitly for
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; bug reports?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; The DESCRIPTION file has an optional URL field which generally sends
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; the user to the 'home page' of the package. Whether or not there is a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; bug tracker somewhere there isn't made explicit, so I don't think
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; overloading URL for a bug report address is a good idea. The Hmisc
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; package mentions its bug tracker in the Description field and also has
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; it in the URL field with three other URLs. This tells me a bug report
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; field might be a better idea.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; I'd prefer an optional field called 'BugReports:', which would be a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; URL, and this could either be the http: address of a web site bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; tracker or a mailto: URL (of a real live human or a mail-based
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; tracker).
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; If there's agreement on this then a further step may be to write a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 'bugreport(package)' function that would first look for a BugReport
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; field, then the URL or maintainer fields to give the poor confused
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; user some advice on what to do. Then when someone emails R-dev saying
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; they think there's a bug in package foo, we can say &amp;quot;Have you read the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; output of 'bugreport(&amp;quot;foo&amp;quot;)'?&amp;quot; which might be more helpful than saying
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 'bugs with 'foo' should be reported to the maintainer'.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; This sounds like a good idea, though I would add a &amp;quot;package&amp;quot; parameter 
&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; to the bug.report() function, rather than creating a new function.
&lt;br&gt;&lt;br&gt;I agree (good idea; &amp;nbsp;use &amp;nbsp;bug.report() with arguments).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; Does the logic below sound right for bug.report() with the package 
&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; specified?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; If there's a BugReports field, bug.report() calls browseURL() on that page.
&lt;br&gt;&lt;br&gt;I'm not sure if that's easy: &amp;nbsp;One main reason for bug.report() is
&lt;br&gt;to auto-collect the necessary info and put it into the body of
&lt;br&gt;an e-mail message. &amp;nbsp;So, I think the above only &amp;quot;works&amp;quot; when the
&lt;br&gt;BugReports fields is a 'mailto:' URL, but not, e.g., when it
&lt;br&gt;points to an R-forge bug tracking web page form.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; If not, it does more or less what it does now, but
&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; - it defaults &amp;quot;address&amp;quot; to the package maintainer. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; - it adds a line in the intro to the message pointing to the URL field 
&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; if there was one.
&lt;br&gt;&lt;br&gt;that sounds good.
&lt;br&gt;Martin
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; Duncan Murdoch
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; Just an idea for a rainy morning...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; Barry
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530172&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; ______________________________________________
&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530172&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;nbsp; &amp;nbsp; DM&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530172&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22bug-report%22-field-in-DESCRIPTION-file--tp26528661p26530172.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26529592</id>
	<title>Re: &quot;bug report&quot; field in DESCRIPTION file?</title>
	<published>2009-11-26T05:39:27Z</published>
	<updated>2009-11-26T05:39:27Z</updated>
	<author>
		<name>Duncan Murdoch-2</name>
	</author>
	<content type="html">On 26/11/2009 7:09 AM, Barry Rowlingson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; A lot of R packages are now effectively maintained by several people
&lt;br&gt;&amp;gt; and so use sites like R-forge or google code for development. This
&lt;br&gt;&amp;gt; means the best way to report bugs or problems with these packages is
&lt;br&gt;&amp;gt; via the development site's bug tracking rather than emailing the
&lt;br&gt;&amp;gt; maintainer. Could we agree on a field in DESCRIPTION explicitly for
&lt;br&gt;&amp;gt; bug reports?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;The DESCRIPTION file has an optional URL field which generally sends
&lt;br&gt;&amp;gt; the user to the 'home page' of the package. Whether or not there is a
&lt;br&gt;&amp;gt; bug tracker somewhere there isn't made explicit, so I don't think
&lt;br&gt;&amp;gt; overloading URL for a bug report address is a good idea. The Hmisc
&lt;br&gt;&amp;gt; package mentions its bug tracker in the Description field and also has
&lt;br&gt;&amp;gt; it in the URL field with three other URLs. This tells me a bug report
&lt;br&gt;&amp;gt; field might be a better idea.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;I'd prefer an optional field called 'BugReports:', which would be a
&lt;br&gt;&amp;gt; URL, and this could either be the http: address of a web site bug
&lt;br&gt;&amp;gt; tracker or a mailto: URL (of a real live human or a mail-based
&lt;br&gt;&amp;gt; tracker).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;If there's agreement on this then a further step may be to write a
&lt;br&gt;&amp;gt; 'bugreport(package)' function that would first look for a BugReport
&lt;br&gt;&amp;gt; field, then the URL or maintainer fields to give the poor confused
&lt;br&gt;&amp;gt; user some advice on what to do. Then when someone emails R-dev saying
&lt;br&gt;&amp;gt; they think there's a bug in package foo, we can say &amp;quot;Have you read the
&lt;br&gt;&amp;gt; output of 'bugreport(&amp;quot;foo&amp;quot;)'?&amp;quot; which might be more helpful than saying
&lt;br&gt;&amp;gt; 'bugs with 'foo' should be reported to the maintainer'.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;This sounds like a good idea, though I would add a &amp;quot;package&amp;quot; parameter 
&lt;br&gt;to the bug.report() function, rather than creating a new function.
&lt;br&gt;&lt;br&gt;Does the logic below sound right for bug.report() with the package 
&lt;br&gt;specified?
&lt;br&gt;&lt;br&gt;If there's a BugReports field, bug.report() calls browseURL() on that page.
&lt;br&gt;&lt;br&gt;If not, it does more or less what it does now, but
&lt;br&gt;&amp;nbsp;- it defaults &amp;quot;address&amp;quot; to the package maintainer. 
&lt;br&gt;&amp;nbsp;- it adds a line in the intro to the message pointing to the URL field 
&lt;br&gt;if there was one.
&lt;br&gt;&lt;br&gt;Duncan Murdoch
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;Just an idea for a rainy morning...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Barry
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529592&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529592&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22bug-report%22-field-in-DESCRIPTION-file--tp26528661p26529592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528661</id>
	<title>&quot;bug report&quot; field in DESCRIPTION file?</title>
	<published>2009-11-26T04:09:49Z</published>
	<updated>2009-11-26T04:09:49Z</updated>
	<author>
		<name>Barry Rowlingson</name>
	</author>
	<content type="html">A lot of R packages are now effectively maintained by several people
&lt;br&gt;and so use sites like R-forge or google code for development. This
&lt;br&gt;means the best way to report bugs or problems with these packages is
&lt;br&gt;via the development site's bug tracking rather than emailing the
&lt;br&gt;maintainer. Could we agree on a field in DESCRIPTION explicitly for
&lt;br&gt;bug reports?
&lt;br&gt;&lt;br&gt;&amp;nbsp;The DESCRIPTION file has an optional URL field which generally sends
&lt;br&gt;the user to the 'home page' of the package. Whether or not there is a
&lt;br&gt;bug tracker somewhere there isn't made explicit, so I don't think
&lt;br&gt;overloading URL for a bug report address is a good idea. The Hmisc
&lt;br&gt;package mentions its bug tracker in the Description field and also has
&lt;br&gt;it in the URL field with three other URLs. This tells me a bug report
&lt;br&gt;field might be a better idea.
&lt;br&gt;&lt;br&gt;&amp;nbsp;I'd prefer an optional field called 'BugReports:', which would be a
&lt;br&gt;URL, and this could either be the http: address of a web site bug
&lt;br&gt;tracker or a mailto: URL (of a real live human or a mail-based
&lt;br&gt;tracker).
&lt;br&gt;&lt;br&gt;&amp;nbsp;If there's agreement on this then a further step may be to write a
&lt;br&gt;'bugreport(package)' function that would first look for a BugReport
&lt;br&gt;field, then the URL or maintainer fields to give the poor confused
&lt;br&gt;user some advice on what to do. Then when someone emails R-dev saying
&lt;br&gt;they think there's a bug in package foo, we can say &amp;quot;Have you read the
&lt;br&gt;output of 'bugreport(&amp;quot;foo&amp;quot;)'?&amp;quot; which might be more helpful than saying
&lt;br&gt;'bugs with 'foo' should be reported to the maintainer'.
&lt;br&gt;&lt;br&gt;&amp;nbsp;Just an idea for a rainy morning...
&lt;br&gt;&lt;br&gt;Barry
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528661&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22bug-report%22-field-in-DESCRIPTION-file--tp26528661p26528661.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525902</id>
	<title>Detaching one package can remove the S4 methods of another (PR#14087)</title>
	<published>2009-11-26T00:15:09Z</published>
	<updated>2009-11-26T00:15:09Z</updated>
	<author>
		<name>ripley-3</name>
	</author>
	<content type="html">Putting on public record
&lt;br&gt;&lt;br&gt;library(spdep)
&lt;br&gt;showMethods(&amp;quot;[&amp;quot;)
&lt;br&gt;detach(&amp;quot;package:spdep&amp;quot;, unload = TRUE)
&lt;br&gt;detach(&amp;quot;package:Matrix&amp;quot;, unload=TRUE)
&lt;br&gt;showMethods(&amp;quot;[&amp;quot;) # sp methods still there
&lt;br&gt;detach(&amp;quot;package:spam&amp;quot;, unload = TRUE)
&lt;br&gt;showMethods(&amp;quot;[&amp;quot;) # sp methods have gone
&lt;br&gt;&lt;br&gt;This is one of several examples found by package testing in R-devel 
&lt;br&gt;(this one from BayesX) with _R_CHECK_UNLOAD_NAMESPACES_ set.
&lt;br&gt;&lt;br&gt;Session info after the first command:
&lt;br&gt;R version 2.10.0 Patched (2009-11-23 r50545)
&lt;br&gt;x86_64-unknown-linux-gnu
&lt;br&gt;&lt;br&gt;locale:
&lt;br&gt;&amp;nbsp; [1] LC_CTYPE=en_GB.utf8 &amp;nbsp; &amp;nbsp; &amp;nbsp; LC_NUMERIC=C
&lt;br&gt;&amp;nbsp; [3] LC_TIME=en_GB.utf8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LC_COLLATE=C
&lt;br&gt;&amp;nbsp; [5] LC_MONETARY=C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LC_MESSAGES=en_GB.utf8
&lt;br&gt;&amp;nbsp; [7] LC_PAPER=en_GB.utf8 &amp;nbsp; &amp;nbsp; &amp;nbsp; LC_NAME=C
&lt;br&gt;&amp;nbsp; [9] LC_ADDRESS=C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LC_TELEPHONE=C
&lt;br&gt;[11] LC_MEASUREMENT=en_GB.utf8 LC_IDENTIFICATION=C
&lt;br&gt;&lt;br&gt;attached base packages:
&lt;br&gt;[1] stats &amp;nbsp; &amp;nbsp; graphics &amp;nbsp;grDevices utils &amp;nbsp; &amp;nbsp; datasets &amp;nbsp;methods &amp;nbsp; base
&lt;br&gt;&lt;br&gt;other attached packages:
&lt;br&gt;&amp;nbsp; [1] spdep_0.4-52 &amp;nbsp; &amp;nbsp; &amp;nbsp; nlme_3.1-96 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;coda_0.13-4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MASS_7.3-4
&lt;br&gt;&amp;nbsp; [5] Matrix_0.999375-32 lattice_0.17-26 &amp;nbsp; &amp;nbsp;spam_0.15-5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;boot_1.2-41
&lt;br&gt;&amp;nbsp; [9] maptools_0.7-26 &amp;nbsp; &amp;nbsp;foreign_0.8-38 &amp;nbsp; &amp;nbsp; sp_0.9-47 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;deldir_0.0-10
&lt;br&gt;&lt;br&gt;loaded via a namespace (and not attached):
&lt;br&gt;[1] grid_2.10.0
&lt;br&gt;&lt;br&gt;Happens also in 2.10.0 and
&lt;br&gt;R version 2.11.0 Under development (unstable) (2009-11-25 r50568)
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Brian D. Ripley, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525902&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ripley@...&lt;/a&gt;
&lt;br&gt;Professor of Applied Statistics, &amp;nbsp;&lt;a href=&quot;http://www.stats.ox.ac.uk/~ripley/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stats.ox.ac.uk/~ripley/&lt;/a&gt;&lt;br&gt;University of Oxford, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tel: &amp;nbsp;+44 1865 272861 (self)
&lt;br&gt;1 South Parks Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +44 1865 272866 (PA)
&lt;br&gt;Oxford OX1 3TG, UK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: &amp;nbsp;+44 1865 272595
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525902&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Detaching-one-package-can-remove-the-S4-methods-of-another-%28PR-14087%29-tp26525902p26525902.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520193</id>
	<title>Re: Question about image() behavior</title>
	<published>2009-11-25T12:57:19Z</published>
	<updated>2009-11-25T12:57:19Z</updated>
	<author>
		<name>Duncan Murdoch-2</name>
	</author>
	<content type="html">On 25/11/2009 3:00 PM, Justin McGrath wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; If the x vector has a gap, then image() fills in those spots using the z
&lt;br&gt;&amp;gt; value of the nearest x value. I had expected it to just leave those spaces
&lt;br&gt;&amp;gt; blank though.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For example
&lt;br&gt;&amp;gt; x=c(1:5,100:105)
&lt;br&gt;&amp;gt; y=c(1:10)
&lt;br&gt;&amp;gt; z=matrix(rnorm(100),10,10)
&lt;br&gt;&amp;gt; image(x,y,z)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I expected that to produce a figure with a wide vertical gap between x=5 and
&lt;br&gt;&amp;gt; x=100.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is this the correct behavior? Could there be an option added to choose
&lt;br&gt;&amp;gt; between these two behaviors? Either way, it should be stated in the
&lt;br&gt;&amp;gt; documentation.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;It's doing what is documented. &amp;nbsp;Giving uneven spacing to x values just 
&lt;br&gt;says that the rectangles being coloured by the z values are not square.
&lt;br&gt;&lt;br&gt;If you want to leave blanks, then put in NA values for z.
&lt;br&gt;&lt;br&gt;For example,
&lt;br&gt;&lt;br&gt;x &amp;lt;- c(1:6, 100:105)
&lt;br&gt;y &amp;lt;- 1:10
&lt;br&gt;z &amp;lt;- matrix(rnorm(110), 11, 10)
&lt;br&gt;z[6,] &amp;lt;- NA
&lt;br&gt;image(x,y,z)
&lt;br&gt;&lt;br&gt;Duncan Murdoch
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520193&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-image%28%29-behavior-tp26519932p26520193.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519932</id>
	<title>Question about image() behavior</title>
	<published>2009-11-25T12:00:00Z</published>
	<updated>2009-11-25T12:00:00Z</updated>
	<author>
		<name>Justin McGrath-3</name>
	</author>
	<content type="html">If the x vector has a gap, then image() fills in those spots using the z
&lt;br&gt;value of the nearest x value. I had expected it to just leave those spaces
&lt;br&gt;blank though.
&lt;br&gt;&lt;br&gt;For example
&lt;br&gt;x=c(1:5,100:105)
&lt;br&gt;y=c(1:10)
&lt;br&gt;z=matrix(rnorm(100),10,10)
&lt;br&gt;image(x,y,z)
&lt;br&gt;&lt;br&gt;I expected that to produce a figure with a wide vertical gap between x=5 and
&lt;br&gt;x=100.
&lt;br&gt;&lt;br&gt;Is this the correct behavior? Could there be an option added to choose
&lt;br&gt;between these two behaviors? Either way, it should be stated in the
&lt;br&gt;documentation.
&lt;br&gt;&lt;br&gt;Justin
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [[alternative HTML version deleted]]
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519932&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-image%28%29-behavior-tp26519932p26519932.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519901</id>
	<title>heatmap.2 gives wrong colorkey with unequally spaced breaks (PR#14085)</title>
	<published>2009-11-25T08:15:10Z</published>
	<updated>2009-11-25T08:15:10Z</updated>
	<author>
		<name>JorisMeys</name>
	</author>
	<content type="html">Full_Name: Joris FA Meys
&lt;br&gt;Version: 2.10.0
&lt;br&gt;OS: Windows XP
&lt;br&gt;Submission from: (NULL) (157.193.194.73)
&lt;br&gt;&lt;br&gt;&lt;br&gt;I use the enhanced heatmap function in gplots : heatmap.2
&lt;br&gt;&lt;br&gt;For the presentation of the color key, the code is not 100% adequate. More
&lt;br&gt;specifically, in case you define unequally spaced breaks :
&lt;br&gt;&lt;br&gt;1) the keyplot ignores the minimum and maximum of these breaks.
&lt;br&gt;&lt;br&gt;Code changed in line 323 and 324 to :
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; min.raw &amp;lt;- min(c(x,breaks), na.rm = TRUE)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max.raw &amp;lt;- max(c(x,breaks), na.rm = TRUE)
&lt;br&gt;&lt;br&gt;2) the keyplot gives the histogram with the correct breaks, but the colors
&lt;br&gt;remain equally spaced. This is due to the lack of a specification for x in the
&lt;br&gt;call to the image() function. 
&lt;br&gt;&lt;br&gt;Code changed in line 327-328 to :
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; image(x=breaks,z = matrix(z, ncol = 1), col = col, breaks = tmpbreaks,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xaxt = &amp;quot;n&amp;quot;, yaxt = &amp;quot;n&amp;quot;)
&lt;br&gt;&lt;br&gt;Line numbers obtained by copy-pasting code from console into Tinn-R. The changed
&lt;br&gt;code is how I adapted the function in order to get the desired result. Don't
&lt;br&gt;know if it's error-proof, but it works for me.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;Joris
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519901&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/heatmap.2-gives-wrong-colorkey-with-unequally-spaced-breaks-%28PR-14085%29-tp26519901p26519901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26514648</id>
	<title>Re: Bug in all.equal() or in the plm package</title>
	<published>2009-11-25T07:21:19Z</published>
	<updated>2009-11-25T07:21:19Z</updated>
	<author>
		<name>Achim Zeileis</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;sorry for replying so late to this. I somehow missed the original thread 
&lt;br&gt;and was just pointed to it by Yves...
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I noticed that there is a (minor) bug either the command all.equal()
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; or in the &amp;quot;plm&amp;quot; package. I demonstrate this using an example taken
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; from the documentation of plm():
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm not sure this is a bug, but I'd call it at least a design flaw. 
&lt;br&gt;&amp;gt;&amp;gt; The problem is that the length.Formula method in the Formula package 
&lt;br&gt;&amp;gt;&amp;gt; (which plm depends on) returns a vector of length 2.  Now there's 
&lt;br&gt;&amp;gt;&amp;gt; nothing in R that requires length() to return a scalar, but all.equal 
&lt;br&gt;&amp;gt;&amp;gt; assumes it does, and I'd guess there are lots of other places this 
&lt;br&gt;&amp;gt;&amp;gt; assumption is made.
&lt;/div&gt;&lt;/div&gt;Well, ?length says:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The default method currently returns an 'integer' of length 1.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Since this may change in the future and may differ for other
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; methods, programmers should not rely on it.
&lt;br&gt;&lt;br&gt;The problem IMO is that the all.equal() method for &amp;quot;formula&amp;quot; gets called 
&lt;br&gt;by inheritance without assuring that it works. I think we just need to 
&lt;br&gt;supply a suitable all.equal() method for &amp;quot;Formula&amp;quot; objects.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Okay, let's call it &amp;quot;design flaw&amp;quot;. Given that the &amp;quot;unusual&amp;quot; behaviour
&lt;br&gt;&amp;gt;&amp;gt; of length.Formula() causes this problem, I suggest that the
&lt;br&gt;&amp;gt;&amp;gt; length.Formula() method should be changed. Maybe to something like
&lt;br&gt;&lt;br&gt;&amp;gt; R&amp;gt; a &amp;lt;- as.Formula( y ~ x | z | w )
&lt;br&gt;&amp;gt; # current behaviour:
&lt;br&gt;&amp;gt; R&amp;gt; length(a)
&lt;br&gt;&amp;gt; [1] 1 3
&lt;br&gt;&amp;gt; # suggested behaviour:
&lt;br&gt;&amp;gt; R&amp;gt; length(a)
&lt;br&gt;&amp;gt; [1] 2
&lt;br&gt;&lt;br&gt;This wouldn't be correct either because this is not a list of length 2. A 
&lt;br&gt;&amp;quot;Formula&amp;quot; is a &amp;quot;formula&amp;quot; (of length 2 or 3) with two attributes (&amp;quot;lhs&amp;quot; and 
&lt;br&gt;&amp;quot;rhs&amp;quot;). Thus, currently length() does not reflect the internal structure 
&lt;br&gt;but rather the conceptual structure (of a formula consiting of a LHS and 
&lt;br&gt;RHS, both with a certain length).
&lt;br&gt;&lt;br&gt;Unless there are good reasons to do otherwise, I would keep the length() 
&lt;br&gt;method and just supply a suitable all.equal() method for 
&lt;br&gt;&amp;quot;Formula&amp;quot; objects.
&lt;br&gt;&lt;br&gt;hth,
&lt;br&gt;Z
&lt;br&gt;&lt;br /&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514648&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Bug-in-all.equal%28%29-or-in-the-plm-package-tp26514648p26514648.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26515400</id>
	<title>Possible bug in &quot;unsplit&quot; (PR#14084)</title>
	<published>2009-11-25T06:30:12Z</published>
	<updated>2009-11-25T06:30:12Z</updated>
	<author>
		<name>Ivar Herfindal</name>
	</author>
	<content type="html">Dear R-bug-people
&lt;br&gt;&lt;br&gt;I have encountered a problem with &amp;quot;unsplit&amp;quot;, which I believe may be 
&lt;br&gt;caused by a bug in the function. However, unexpericend with bug-reports 
&lt;br&gt;I apologise if this is barely a user problem rather than a problem 
&lt;br&gt;within R.
&lt;br&gt;&lt;br&gt;The problem occurs if an object is split by several grouping factors 
&lt;br&gt;with levels not occuring in the data, and using drop = TRUE. This may 
&lt;br&gt;appear as a special and hardly relevant case, but I had to split a data 
&lt;br&gt;frame on several factors, do some analyses on each of the subsets in the 
&lt;br&gt;splitted object, and then unsplit it. I had to use drop = TRUE, 
&lt;br&gt;otherwise my analyses would not run. Nevertheless, I found a fix to the 
&lt;br&gt;unsplit, which I suggest is due to that the drop-argument not is 
&lt;br&gt;maintained in the call to unsplit within unsplit. Description and 
&lt;br&gt;example below. The problem was found on R version 2.9.0 and 2.10.0 on 
&lt;br&gt;windows XP.
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;gt; sessionInfo()
&lt;br&gt;R version 2.10.0 (2009-10-26)
&lt;br&gt;i386-pc-mingw32
&lt;br&gt;&lt;br&gt;locale:
&lt;br&gt;[1] LC_COLLATE=Norwegian (Bokmål)_Norway.1252 LC_CTYPE=Norwegian 
&lt;br&gt;(Bokmål)_Norway.1252
&lt;br&gt;[3] LC_MONETARY=Norwegian (Bokmål)_Norway.1252 LC_NUMERIC=C
&lt;br&gt;[5] LC_TIME=Norwegian (Bokmål)_Norway.1252
&lt;br&gt;&lt;br&gt;attached base packages:
&lt;br&gt;[1] stats graphics grDevices utils datasets methods base
&lt;br&gt;&lt;br&gt;loaded via a namespace (and not attached):
&lt;br&gt;[1] tools_2.10.0
&lt;br&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;## a reproducable example:
&lt;br&gt;dff &amp;lt;- data.frame(gr1=factor(c(1,1,1,1,1,2,2,2,2,2,2), 
&lt;br&gt;levels=c(1,2,3,4)), gr2=factor(c(1,2,1,2,1,2,1,2,1,2,3), 
&lt;br&gt;levels=c(1,2,3,4)), yy=rnorm(11))
&lt;br&gt;# note that the two groups &amp;quot;gr1&amp;quot; and &amp;quot;gr2&amp;quot; have defined levels which not 
&lt;br&gt;occur in the data.
&lt;br&gt;&lt;br&gt;dff2 &amp;lt;- split(dff, list(dff$gr1, dff$gr2), drop=TRUE)
&lt;br&gt;# I dont want empty objects, so I use drop=TRUE
&lt;br&gt;&lt;br&gt;# now I want to unsplit it, and expect the following to work:
&lt;br&gt;dff3 &amp;lt;- unsplit(dff2, list(dff$gr1, dff$gr2), drop=TRUE)
&lt;br&gt;Error in `row.names&amp;lt;-.data.frame`(`*tmp*`, value = c(&amp;quot;1&amp;quot;, &amp;quot;11&amp;quot;, &amp;quot;3&amp;quot;, 
&lt;br&gt;&amp;quot;11&amp;quot;, :
&lt;br&gt;duplicate 'row.names' are not allowed
&lt;br&gt;In addition: Warning message:
&lt;br&gt;non-unique values when setting 'row.names': 1, 11, 3, 5
&lt;br&gt;&lt;br&gt;### end
&lt;br&gt;&lt;br&gt;Looking at the unsplit function, we find:
&lt;br&gt;&amp;nbsp;&amp;gt; unsplit
&lt;br&gt;function (value, f, drop = FALSE)
&lt;br&gt;{
&lt;br&gt;len &amp;lt;- length(if (is.list(f)) f[[1L]] else f)
&lt;br&gt;if (is.data.frame(value[[1L]])) {
&lt;br&gt;x &amp;lt;- value[[1L]][rep(NA, len), , drop = FALSE]
&lt;br&gt;rownames(x) &amp;lt;- unsplit(lapply(value, rownames), f)
&lt;br&gt;}
&lt;br&gt;else x &amp;lt;- value[[1L]][rep(NA, len)]
&lt;br&gt;split(x, f, drop = drop) &amp;lt;- value
&lt;br&gt;x
&lt;br&gt;}
&lt;br&gt;&amp;lt;environment: namespace:base&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&lt;br&gt;Note that if &amp;quot;value&amp;quot; is a data.frame, then rownames for the output x is 
&lt;br&gt;made by the call:
&lt;br&gt;rownames(x) &amp;lt;- unsplit(lapply(value, rownames), f)
&lt;br&gt;&lt;br&gt;This call to unsplit ignores the drop-argument, and in the example above 
&lt;br&gt;we get from this call:
&lt;br&gt;&amp;nbsp;&amp;gt; unsplit(lapply(dff2, rownames), list(dff$gr1, dff$gr2))
&lt;br&gt;[1] &amp;quot;1&amp;quot; &amp;quot;11&amp;quot; &amp;quot;3&amp;quot; &amp;quot;11&amp;quot; &amp;quot;5&amp;quot; &amp;quot;1&amp;quot; &amp;quot;7&amp;quot; &amp;quot;3&amp;quot; &amp;quot;9&amp;quot; &amp;quot;5&amp;quot; &amp;quot;11&amp;quot;
&lt;br&gt;&lt;br&gt;i.e. not unique row names for the output x.
&lt;br&gt;&lt;br&gt;A simple fix is to add drop = drop to that argument, such that the 
&lt;br&gt;updated unsplit (here called unsplit2) is like this:
&lt;br&gt;&lt;br&gt;unsplit2 &amp;lt;- function (value, f, drop = FALSE)
&lt;br&gt;{
&lt;br&gt;len &amp;lt;- length(if (is.list(f)) f[[1L]] else f)
&lt;br&gt;if (is.data.frame(value[[1L]])) {
&lt;br&gt;x &amp;lt;- value[[1L]][rep(NA, len), , drop = FALSE]
&lt;br&gt;rownames(x) &amp;lt;- unsplit(lapply(value, rownames), f, drop=drop) # note new 
&lt;br&gt;&amp;quot;drop=drop&amp;quot;
&lt;br&gt;}
&lt;br&gt;else x &amp;lt;- value[[1L]][rep(NA, len)]
&lt;br&gt;split(x, f, drop = drop) &amp;lt;- value
&lt;br&gt;x
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;This works fine in the example above, and the original levels in gr1 and 
&lt;br&gt;gr2 (i.e. they both have four levels) are maintained in the output data 
&lt;br&gt;frame such that it has similar attributes as the orignial dff:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;gt; dff3 &amp;lt;- unsplit2(dff2, list(dff$gr1, dff$gr2), drop=TRUE)
&lt;br&gt;&amp;nbsp;&amp;gt; dff3
&lt;br&gt;gr1 gr2 yy
&lt;br&gt;1 1 1 2.13749771
&lt;br&gt;2 1 2 -0.02166458
&lt;br&gt;3 1 1 0.45960452
&lt;br&gt;4 1 2 2.72074958
&lt;br&gt;5 1 1 -0.17536995
&lt;br&gt;6 2 2 -0.08909495
&lt;br&gt;7 2 1 0.94260802
&lt;br&gt;8 2 2 -0.09979505
&lt;br&gt;9 2 1 1.22240834
&lt;br&gt;10 2 2 -0.81710781
&lt;br&gt;11 2 3 0.76071130
&lt;br&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&lt;br&gt;I must admit that I have not the possiblity to check if such a quick-fix 
&lt;br&gt;conflicts with other use of unsplit or on other types of data, but I 
&lt;br&gt;cannot see that it should be a problem.
&lt;br&gt;&lt;br&gt;Sincerely
&lt;br&gt;&lt;br&gt;Ivar Herfindal
&lt;br&gt;--------------------------------
&lt;br&gt;Centre for Conservation Biology
&lt;br&gt;Norwegian University for Science and Technology
&lt;br&gt;N-7491 Trondheim, Norway
&lt;br&gt;&lt;br&gt;email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26515400&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ivar.herfindal@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26515400&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Possible-bug-in-%22unsplit%22-%28PR-14084%29-tp26515400p26515400.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513467</id>
	<title>Re: group generics</title>
	<published>2009-11-25T06:21:32Z</published>
	<updated>2009-11-25T06:21:32Z</updated>
	<author>
		<name>Martin Morgan</name>
	</author>
	<content type="html">Hi Ross -- 
&lt;br&gt;&lt;br&gt;Ross Boylan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ross@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have classes A and B, where B contains A. &amp;nbsp;In the implementation of
&lt;br&gt;&amp;gt; the group generic for B I would like to use the corresponding group
&lt;br&gt;&amp;gt; generic for A. &amp;nbsp;Is there a way to do that?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would also appreciate any comments if what I'm trying to do seems like
&lt;br&gt;&amp;gt; the wrong approach.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here's a stripped down example:
&lt;br&gt;&amp;gt; setClass(&amp;quot;A&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;representation=representation(xa=&amp;quot;numeric&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; setMethod(&amp;quot;Arith&amp;quot;, signature(e1=&amp;quot;numeric&amp;quot;, e2=&amp;quot;A&amp;quot;), function(e1, e2) {
&lt;br&gt;&amp;gt; &amp;nbsp; new(&amp;quot;A&amp;quot;, ax=e1*e2@xa)
&lt;/div&gt;&lt;br&gt;typo, I guess, xa = e1...
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; setClass(&amp;quot;B&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;representation=representation(xb=&amp;quot;numeric&amp;quot;),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;contains=c(&amp;quot;A&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; setMethod(&amp;quot;Arith&amp;quot;, signature(e1=&amp;quot;numeric&amp;quot;, e2=&amp;quot;B&amp;quot;), function(e1, e2) {
&lt;br&gt;&amp;gt; 	# the next line does not work right
&lt;br&gt;&amp;gt; &amp;nbsp; v &amp;lt;- selectMethod(&amp;quot;callGeneric&amp;quot;, signature=c(&amp;quot;numeric&amp;quot;, &amp;quot;A&amp;quot;))(e1, e2)
&lt;/div&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; v &amp;lt;- callGeneric(e1, as(e2, &amp;quot;A&amp;quot;))
&lt;br&gt;&lt;br&gt;or probably
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;v &amp;lt;- callNextMethod(e1, e2)
&lt;br&gt;&lt;br&gt;Martin
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; print(v)
&lt;br&gt;&amp;gt; &amp;nbsp; new(&amp;quot;B&amp;quot;, v, xb=e1*e2@xb)
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Results:
&lt;br&gt;&amp;gt;&amp;gt; t1 &amp;lt;- new(&amp;quot;B&amp;quot;, new(&amp;quot;A&amp;quot;, xa=4), xb=2)
&lt;br&gt;&amp;gt;&amp;gt; t1
&lt;br&gt;&amp;gt; An object of class “B”
&lt;br&gt;&amp;gt; Slot &amp;quot;xb&amp;quot;:
&lt;br&gt;&amp;gt; [1] 2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Slot &amp;quot;xa&amp;quot;:
&lt;br&gt;&amp;gt; [1] 4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3*t1
&lt;br&gt;&amp;gt; Error in getGeneric(f, !optional) : 
&lt;br&gt;&amp;gt; &amp;nbsp; no generic function found for &amp;quot;callGeneric&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt; Ross Boylan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513467&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Martin Morgan
&lt;br&gt;Computational Biology / Fred Hutchinson Cancer Research Center
&lt;br&gt;1100 Fairview Ave. N.
&lt;br&gt;PO Box 19024 Seattle, WA 98109
&lt;br&gt;&lt;br&gt;Location: Arnold Building M1 B861
&lt;br&gt;Phone: (206) 667-2793
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513467&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/group-generics-tp26505736p26513467.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511586</id>
	<title>Re: Error in parse(outFile)</title>
	<published>2009-11-25T04:01:02Z</published>
	<updated>2009-11-25T04:01:02Z</updated>
	<author>
		<name>Duncan Murdoch-2</name>
	</author>
	<content type="html">Pamela McCaskie wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have made some changes to a package (SimHap) I wrote a couple of years
&lt;br&gt;&amp;gt; ago, and it has passed R CMD check under windows, but under linux
&lt;br&gt;&amp;gt; (ubuntu jaunty) I am getting the following error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * installing *source* package 'SimHap' ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ** R
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Error in parse(outFile) : 2:1: unexpected $end
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ERROR: unable to collate files for package 'SimHap'
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does anyone know what the &amp;quot;outFile&amp;quot; it is referring to here, and why
&lt;br&gt;&amp;gt; this would be happening in a linux build, but not in windows. In both
&lt;br&gt;&amp;gt; cases I'm using R 2.10.0.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;When installing a package, R collects all the source into one big file 
&lt;br&gt;and parses it all at once. &amp;nbsp;The filename is stored internally in a 
&lt;br&gt;variable called &amp;quot;outFile&amp;quot;.
&lt;br&gt;&lt;br&gt;I don't know what would be causing this difference between Windows and 
&lt;br&gt;Linux. &amp;nbsp;If you can send me a copy of the package offline I'll take a 
&lt;br&gt;look later today.
&lt;br&gt;&lt;br&gt;Duncan Murdoch
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Pam
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dr Pamela McCaskie
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Assistant Professor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Centre for Genetic Epidemiology and Biostatistics
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; M409
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; University of Western Australia
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511586&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pam.mccaskie@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ph: 6488 6741
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Fax: 6488 6750
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	[[alternative HTML version deleted]]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511586&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511586&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-in-parse%28outFile%29-tp26509401p26511586.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509897</id>
	<title>Re: Method dispatch for function</title>
	<published>2009-11-25T01:42:02Z</published>
	<updated>2009-11-25T01:42:02Z</updated>
	<author>
		<name>Martin Maechler-4</name>
	</author>
	<content type="html">&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;SM&amp;quot; == Stavros Macrakis &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509897&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;macrakis@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; on Mon, 23 Nov 2009 11:24:24 -0500 writes:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; (I had sent this to r-help and got no responses -- perhaps r-devel is
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; a better list for this question?)
&lt;br&gt;&lt;br&gt;Definitely better, yes.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; How can I determine what S3 method will be called for a particular
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; first-argument class?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; I was imagining something like functionDispatch('str','numeric') =&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; utils:::str.default , but I can't find anything like this.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; For that matter, I was wondering if anyone had written a version of
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; `methods` which gave their fully qualified names if they were not
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; visible, e.g.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; methods('str') =&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt;     utils:::str.data.frame    utils:::str.default
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; stats:::str.dendrogram    stats:::str.logLik    utils:::str.POSIXt
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; or
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; methods('str') =&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt;      $utils
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt;            &amp;quot;str.data.frame&amp;quot; &amp;quot;str.default&amp;quot;    &amp;quot;str.POSIXt&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt;      $stats
&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt;            &amp;quot;str.dendrogram&amp;quot; &amp;quot;str.logLik&amp;quot;
&lt;br&gt;&lt;br&gt;I'm pretty sure that basically, the current &amp;nbsp;methods() &amp;nbsp;function &amp;nbsp;
&lt;br&gt;&amp;quot;contains&amp;quot; the necessary information internally already
&lt;br&gt;(but beware: methods() is not the simplest of our functions !)
&lt;br&gt;&lt;br&gt;I'd be welcoming back-compatible patches to &amp;nbsp;methods() {*and*
&lt;br&gt;the corresponding *.Rd &amp;nbsp;file !} which would provide such
&lt;br&gt;functionality.
&lt;br&gt;&lt;br&gt;I think I would &amp;nbsp;introduce a third optional argument
&lt;br&gt;(logical or character, specifying the &amp;quot;variants&amp;quot;),
&lt;br&gt;and the result could easily become &amp;nbsp;back-compatible if the extra information
&lt;br&gt;you want is put as a new column in the &amp;quot;info&amp;quot; attribute (a data
&lt;br&gt;frame) of the current &amp;nbsp;methods() result.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SM&amp;gt; Thank you,
&lt;br&gt;&lt;br&gt;You are welcome,
&lt;br&gt;Martin Maechler, ETH Zurich
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509897&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Method-dispatch-for-function-tp26481362p26509897.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508647</id>
	<title>Re: The &quot;lib&quot; argument in install.packages().</title>
	<published>2009-11-24T23:41:32Z</published>
	<updated>2009-11-24T23:41:32Z</updated>
	<author>
		<name>Peter Ehlers</name>
	</author>
	<content type="html">Rolf,
&lt;br&gt;&lt;br&gt;If you want to avoid the warning, why not use lib=.libPaths()[1]?
&lt;br&gt;This is not to say that your suggestions aren't useful.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Peter Ehlers
&lt;br&gt;&lt;br&gt;Rolf Turner wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I was flummoxed for a long time by errors generated when I did
&lt;br&gt;&amp;gt; something like
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; install.packages(foo,lib=&amp;quot;Rlib&amp;quot;)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; where ``Rlib'' is my personalized directory of R packages, which
&lt;br&gt;&amp;gt; lives in my home directory (from which I started R before issuing
&lt;br&gt;&amp;gt; the foregoing install.packages() call.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Recently someone (I forget who, but thanks very much to whomever
&lt;br&gt;&amp;gt; it was) pointed out that I needed to specify the complete pathname,
&lt;br&gt;&amp;gt; i.e. &amp;quot;/Users/rturner/Rlib&amp;quot; rather than the relative pathname &amp;quot;Rlib&amp;quot;
&lt;br&gt;&amp;gt; or &amp;quot;./Rlib&amp;quot; (which I'd also tried). &amp;nbsp;When the complete pathname is
&lt;br&gt;&amp;gt; given the install.packages() call works seamlessly.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Remark: &amp;nbsp;I have &amp;quot;/Users/rturner/Rlib&amp;quot; as the first entry of my .libPaths(),
&lt;br&gt;&amp;gt; so just doing install.packages(foo) works --- but this gives a warning
&lt;br&gt;&amp;gt; about lib not being specified, which I find irksome.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Questions:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (1) Why is it that the complete pathname of ``lib'' has to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; be specified? &amp;nbsp;Cannot the code of install.packages() be
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; adjusted to work with relative pathnames?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (2) If indeed this is not possible, wouldn't it be kind and
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; helpful, to us young ( :-) ) and naive persons, to put an
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; indication in the help file for install.packages that the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; complete pathname is required?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; cheers,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Rolf Turner
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; P. S. &amp;gt; sessionInfo()
&lt;br&gt;&amp;gt; R version 2.10.0 (2009-10-26)
&lt;br&gt;&amp;gt; i386-apple-darwin8.11.1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; locale:
&lt;br&gt;&amp;gt; [1] C
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; attached base packages:
&lt;br&gt;&amp;gt; [1] datasets &amp;nbsp;utils &amp;nbsp; &amp;nbsp; stats &amp;nbsp; &amp;nbsp; graphics &amp;nbsp;grDevices methods &amp;nbsp; base
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; other attached packages:
&lt;br&gt;&amp;gt; [1] misc_0.0-11 &amp;nbsp; &amp;nbsp;fortunes_1.3-6 MASS_7.3-3
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ######################################################################
&lt;br&gt;&amp;gt; Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508647&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508647&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-%22lib%22-argument-in-install.packages%28%29.-tp26503786p26508647.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508024</id>
	<title>Re: Question R's parser : - parsing &quot;x=\n 1&quot;</title>
	<published>2009-11-24T22:09:51Z</published>
	<updated>2009-11-24T22:09:51Z</updated>
	<author>
		<name>Simon Urbanek</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 25, 2009, at 1:03 AM, Saptarshi Guha wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello
&lt;br&gt;&amp;gt; I was reading the source main/src/gram.y and had one question, how &amp;nbsp;
&lt;br&gt;&amp;gt; does R parse
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; x =
&lt;br&gt;&amp;gt; &amp;nbsp;1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; According the grammar:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; prog	:	END_OF_INPUT			{ return 0; }
&lt;br&gt;&amp;gt; 	|	'\n'				{ return xxvalue(NULL,2,NULL); }
&lt;br&gt;&amp;gt; 	|	expr_or_assign '\n'			{ return xxvalue($1,3,&amp;@1); }
&lt;br&gt;&amp;gt; 	|	expr_or_assign ';'			{ return xxvalue($1,4,&amp;@1); }
&lt;br&gt;&amp;gt; 	|	error	 			{ YYABORT; }
&lt;br&gt;&amp;gt; 	;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So this should be of the 3rd form.
&lt;br&gt;&amp;gt; Also, the expr_or_assign is of the 2nd form in
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; expr_or_assign &amp;nbsp;: &amp;nbsp; &amp;nbsp;expr &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { $$ = $1; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;equal_assign &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { $$ = $1; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; where equal_assign is
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; equal_assign &amp;nbsp; &amp;nbsp;: &amp;nbsp; &amp;nbsp;expr EQ_ASSIGN expr_or_assign &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{ $$ =
&lt;br&gt;&amp;gt; xxbinary($2,$1,$3); }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When the parser sees 'x' and '=' it expects an expr_or_assign and we
&lt;br&gt;&amp;gt; know it will receive an expr. However, the expr cannot be a new
&lt;br&gt;&amp;gt; line(according to the defn of expr)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So instead of an expr, the parse gets a newline and should fail.
&lt;br&gt;&amp;gt; Q: So how does R parse this?
&lt;br&gt;&amp;gt; I think it fails with a Parse_Incomplete and keeps on reading till EOF
&lt;br&gt;&amp;gt; (or till an expression is complete).
&lt;br&gt;&amp;gt; But this is not really an incomplete expression
&lt;/div&gt;&lt;br&gt;It is. &amp;quot;x=&amp;quot; is incomplete -- try it in R and you'll see that you get a &amp;nbsp;
&lt;br&gt;continuation prompt because it's incomplete:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;gt; x=
&lt;br&gt;+ 1
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;S
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; but if my
&lt;br&gt;&amp;gt; interpretation is correct a syntax error, yet R parses it.
&lt;br&gt;&amp;gt; So i understood something else or R's engine manages to do things &amp;nbsp;
&lt;br&gt;&amp;gt; differently
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Saptarshi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508024&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508024&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-R%27s-parser-%3A---parsing-%22x%3D%5Cn-1%22-tp26507985p26508024.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507985</id>
	<title>Question R's parser : - parsing &quot;x=\n 1&quot;</title>
	<published>2009-11-24T22:03:17Z</published>
	<updated>2009-11-24T22:03:17Z</updated>
	<author>
		<name>Saptarshi Guha-3</name>
	</author>
	<content type="html">Hello
&lt;br&gt;I was reading the source main/src/gram.y and had one question, how does R parse
&lt;br&gt;&lt;br&gt;x =
&lt;br&gt;&amp;nbsp; 1
&lt;br&gt;&lt;br&gt;According the grammar:
&lt;br&gt;&lt;br&gt;prog	:	END_OF_INPUT			{ return 0; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |	'\n'				{ return xxvalue(NULL,2,NULL); }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |	expr_or_assign '\n'			{ return xxvalue($1,3,&amp;@1); }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |	expr_or_assign ';'			{ return xxvalue($1,4,&amp;@1); }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |	error	 			{ YYABORT; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&lt;br&gt;&lt;br&gt;So this should be of the 3rd form.
&lt;br&gt;Also, the expr_or_assign is of the 2nd form in
&lt;br&gt;&lt;br&gt;expr_or_assign &amp;nbsp;: &amp;nbsp; &amp;nbsp;expr &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { $$ = $1; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;equal_assign &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { $$ = $1; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&lt;br&gt;where equal_assign is
&lt;br&gt;&lt;br&gt;equal_assign &amp;nbsp; &amp;nbsp;: &amp;nbsp; &amp;nbsp;expr EQ_ASSIGN expr_or_assign &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{ $$ =
&lt;br&gt;xxbinary($2,$1,$3); }
&lt;br&gt;&lt;br&gt;When the parser sees 'x' and '=' it expects an expr_or_assign and we
&lt;br&gt;know it will receive an expr. However, the expr cannot be a new
&lt;br&gt;line(according to the defn of expr)
&lt;br&gt;&lt;br&gt;So instead of an expr, the parse gets a newline and should fail.
&lt;br&gt;Q: So how does R parse this?
&lt;br&gt;I think it fails with a Parse_Incomplete and keeps on reading till EOF
&lt;br&gt;(or till an expression is complete).
&lt;br&gt;But this is not really an incomplete expression but if my
&lt;br&gt;interpretation is correct a syntax error, yet R parses it.
&lt;br&gt;So i understood something else or R's engine manages to do things differently
&lt;br&gt;Regards
&lt;br&gt;Saptarshi
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507985&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-R%27s-parser-%3A---parsing-%22x%3D%5Cn-1%22-tp26507985p26507985.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509401</id>
	<title>Error in parse(outFile)</title>
	<published>2009-11-24T20:55:03Z</published>
	<updated>2009-11-24T20:55:03Z</updated>
	<author>
		<name>Pamela McCaskie-2</name>
	</author>
	<content type="html">Hi all
&lt;br&gt;&lt;br&gt;I have made some changes to a package (SimHap) I wrote a couple of years
&lt;br&gt;ago, and it has passed R CMD check under windows, but under linux
&lt;br&gt;(ubuntu jaunty) I am getting the following error:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;* installing *source* package 'SimHap' ...
&lt;br&gt;&lt;br&gt;** R
&lt;br&gt;&lt;br&gt;Error in parse(outFile) : 2:1: unexpected $end
&lt;br&gt;&lt;br&gt;ERROR: unable to collate files for package 'SimHap'
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Does anyone know what the &amp;quot;outFile&amp;quot; it is referring to here, and why
&lt;br&gt;this would be happening in a linux build, but not in windows. In both
&lt;br&gt;cases I'm using R 2.10.0.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Pam
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Dr Pamela McCaskie
&lt;br&gt;&lt;br&gt;Assistant Professor
&lt;br&gt;&lt;br&gt;Centre for Genetic Epidemiology and Biostatistics
&lt;br&gt;&lt;br&gt;M409
&lt;br&gt;&lt;br&gt;University of Western Australia
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509401&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pam.mccaskie@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;Ph: 6488 6741
&lt;br&gt;&lt;br&gt;Fax: 6488 6750
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [[alternative HTML version deleted]]
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509401&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-in-parse%28outFile%29-tp26509401p26509401.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26506249</id>
	<title>Re: Broken installer (PR#14083)</title>
	<published>2009-11-24T17:31:49Z</published>
	<updated>2009-11-24T17:31:49Z</updated>
	<author>
		<name>Simon Urbanek</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 24, 2009, at 5:45 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506249&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;robert.a.weller@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Full_Name: Robert A. Weller
&lt;br&gt;&amp;gt; Version: current
&lt;br&gt;&amp;gt; OS: Mac OS 10.6
&lt;br&gt;&amp;gt; Submission from: (NULL) (129.59.140.86)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The gfortran 4.2.4 installer in the Tools section that is supposed &amp;nbsp;
&lt;br&gt;&amp;gt; to install a
&lt;br&gt;&amp;gt; Snow Leopard (10.6) version is actually installing version 4.2.1. I &amp;nbsp;
&lt;br&gt;&amp;gt; am finding
&lt;br&gt;&amp;gt; that the 4.2.1 compiler installed as issues e.g. in interpreting the
&lt;br&gt;&amp;gt; -fno-automatic command line switch and also -fdefault-real-8.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We looked directly into the installer and saw that it was actually &amp;nbsp;
&lt;br&gt;&amp;gt; installing
&lt;br&gt;&amp;gt; 4.2.1. Of course, gfortran --version confirmed this.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;You are, of course, wrong because what you're looking at is the Apple &amp;nbsp;
&lt;br&gt;gcc version which is the version of the driver and the cc part (it is &amp;nbsp;
&lt;br&gt;the gcc-42 tree of Apple). The fortran merged unto the Apple gcc &amp;nbsp;
&lt;br&gt;branch is indeed 4.2.4.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506249&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Broken-installer-%28PR-14083%29-tp26505105p26506249.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505736</id>
	<title>group generics</title>
	<published>2009-11-24T16:34:25Z</published>
	<updated>2009-11-24T16:34:25Z</updated>
	<author>
		<name>Ross Boylan</name>
	</author>
	<content type="html">I have classes A and B, where B contains A. &amp;nbsp;In the implementation of
&lt;br&gt;the group generic for B I would like to use the corresponding group
&lt;br&gt;generic for A. &amp;nbsp;Is there a way to do that?
&lt;br&gt;&lt;br&gt;I would also appreciate any comments if what I'm trying to do seems like
&lt;br&gt;the wrong approach.
&lt;br&gt;&lt;br&gt;Here's a stripped down example:
&lt;br&gt;setClass(&amp;quot;A&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;representation=representation(xa=&amp;quot;numeric&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)
&lt;br&gt;&lt;br&gt;setMethod(&amp;quot;Arith&amp;quot;, signature(e1=&amp;quot;numeric&amp;quot;, e2=&amp;quot;A&amp;quot;), function(e1, e2) {
&lt;br&gt;&amp;nbsp; new(&amp;quot;A&amp;quot;, ax=e1*e2@xa)
&lt;br&gt;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&lt;br&gt;setClass(&amp;quot;B&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;representation=representation(xb=&amp;quot;numeric&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;contains=c(&amp;quot;A&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)
&lt;br&gt;&lt;br&gt;setMethod(&amp;quot;Arith&amp;quot;, signature(e1=&amp;quot;numeric&amp;quot;, e2=&amp;quot;B&amp;quot;), function(e1, e2) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # the next line does not work right
&lt;br&gt;&amp;nbsp; v &amp;lt;- selectMethod(&amp;quot;callGeneric&amp;quot;, signature=c(&amp;quot;numeric&amp;quot;, &amp;quot;A&amp;quot;))(e1, e2)
&lt;br&gt;&amp;nbsp; print(v)
&lt;br&gt;&amp;nbsp; new(&amp;quot;B&amp;quot;, v, xb=e1*e2@xb)
&lt;br&gt;}
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Results:
&lt;br&gt;&amp;gt; t1 &amp;lt;- new(&amp;quot;B&amp;quot;, new(&amp;quot;A&amp;quot;, xa=4), xb=2)
&lt;br&gt;&amp;gt; t1
&lt;br&gt;An object of class “B”
&lt;br&gt;Slot &amp;quot;xb&amp;quot;:
&lt;br&gt;[1] 2
&lt;br&gt;&lt;br&gt;Slot &amp;quot;xa&amp;quot;:
&lt;br&gt;[1] 4
&lt;br&gt;&lt;br&gt;&amp;gt; 3*t1
&lt;br&gt;Error in getGeneric(f, !optional) : 
&lt;br&gt;&amp;nbsp; no generic function found for &amp;quot;callGeneric&amp;quot;
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;Ross Boylan
&lt;br&gt;&lt;br&gt;______________________________________________
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505736&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R-devel@...&lt;/a&gt; mailing list
&lt;br&gt;&lt;a href=&quot;https://stat.ethz.ch/mailman/listinfo/r-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://stat.ethz.ch/mailman/listinfo/r-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/group-generics-tp26505736p26505736.html" />
</entry>

</feed>
