From mboxrd@z Thu Jan 1 00:00:00 1970 From: jenia.ivlev@gmail.com (jenia.ivlev) Subject: Re: Can't execute the introductory code: take table as input to produce mean Date: Wed, 06 Aug 2014 02:08:58 -0400 Message-ID: <87d2cem9ol.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEuVD-0004L3-3L for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 02:15:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEuV0-0005Vv-SO for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 02:15:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:55051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEuV0-0005Vj-KW for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 02:14:58 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XEuUz-0006rX-2O for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 08:14:57 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Its the first time I use this type of mail system. I connected here using gmane and gnus. I;m not sure how to answer the thread "Can't execute the introductory code: take table as input to produce mean". So i'll just try to answer the best way I can who means I'll answer to: emacs-orgmode-mXXj517/zsQ@public.gmane.org. Thanks Sebastien. Tell me though please, how do I define R-mean(x) to take any x? How do I run R-mean in the following form: R-mean(my-table1), R-mean(my-table2)... Cause here, it seems that R-mean is defined with the variable "x" hard-wired to a specific value, namely x=tbl-example-data. So again, how do I call R-mean with x=tbl-example-data2 lets say (without redefining R-mean)? Thanks in advance.