From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Can't execute the introductory code: take table as input to produce mean
Date: Wed, 06 Aug 2014 16:14:14 +0200 [thread overview]
Message-ID: <867g2logcp.fsf@somewhere.org> (raw)
In-Reply-To: 87d2cem9ol.fsf@gmail.com
jenia.ivlev wrote:
> 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-0jIIvIziipk@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.
Adding `:var x=something' serves 2 purposes:
- Defining the `x' parameter (to the code block)
- Setting its default value
> So again, how do I call R-mean with x=tbl-example-data2 lets say
> (without redefining R-mean)?
#+call: R-mean(x=tbl-example-data2)
Best regards,
Seb
--
Sebastien Vauban
next prev parent reply other threads:[~2014-08-06 14:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-06 6:08 Can't execute the introductory code: take table as input to produce mean jenia.ivlev
2014-08-06 14:14 ` Sebastien Vauban [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-08-05 6:48 jenia mtl
2014-08-05 9:52 ` Sebastien Vauban
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=867g2logcp.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.