From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [babel] R questions Date: Wed, 09 Dec 2009 10:04:40 +0100 Message-ID: <87zl5so6vr.fsf@mundaneum.com> References: <526E5F77-3D17-436E-AB7C-EC79F084B559@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Thomas, "Thomas S. Dye" wrote: > On Dec 8, 2009, at 11:37 AM, S=C3=A9bastien Vauban wrote: >> "Thomas S. Dye" wrote: >>> On Dec 7, 2009, at 11:50 PM, S=C3=A9bastien Vauban wrote: >>> >>>>> [2] I guess one could potentially think about dealing with missing va= lues >>>>> more explicitly in org-babel. E.g. there could be a header arg >>>>> specifying what values are to be treatyed as missing. Nothing like >>>>> that exists currently. >>>> >>>> I guess such a feature would be required on the long term. Of course, >>>> even specifying what would be the needed behavior is already difficult= , I >>>> think. >>>> One must have good knowledge of the multiple languages and environment= s, >>>> and try to abstract the best behavior out of these. >>>> >>>> But what's a "NA" value in general? Is 0 always a meaningful value as >>>> numeric? Context-sensitive.. >>> >>> [...] but if I read this thread correctly and you are trying to workaro= und >>> a data input problem with R in Org-babel, >> >> No, you misread, or I mis-wrote ;-) >> >> I wasn't speaking of R only, saying that "such a feature would be requir= ed >> on the long term [... for] the multiple languages". >> >> Thinking at shell-script (with empty strings), SQL code (with empty stri= ngs >> and NULL values), etc. >> >> Implementing a fixed interpretation is NOT a good idea. I share your poi= nt >> of view. >> >> My comments were: >> >> - I think we must be able to write a rule for interpreting "empty" >> (whatever it means) values; >> >> - We should think at what's needed to cover the current and future needs, >> not focusing on one specific language (R), but thinking at all of them >> (shell commands, SQL, etc.). > > I agree with you on the importance of having some way to represent missing > values in Org-babel that can be translated cleanly and transparently to t= he > representations used by specific languages. We're on the same wavelength for such a need. Remains to specify what we wo= uld want, in order to be simple and generic enough... Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode