emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] cannot code to execute since changing to emacs starter kit
@ 2010-03-07 16:52 Graham Smith
  2010-03-07 18:22 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Graham Smith @ 2010-03-07 16:52 UTC (permalink / raw)
  To: emacs-orgmode

I guess I am being stupid here, but I have changed my set up to using
Eric's (Schulte) start up kit for emacs and now when I try to use C-c
C-c to execute a code block I get an error

C-c C-c can do nothing useful at this location

As far as I can see form the files that came with the start up kit,
babel should be initiated.

Here is my bit of code;


** Tarsus data
#+srcname:Tarsus
#+begin_src R :session BirdData
Tarsus<-c(22.3,19.7,20.8,20.3,20.8,21.5,20.6,21.5)
#+end_src

Which was working during my try out of babel a few months ago.

Once again I am stuck and would appreciate some help.

This is emacs 23.1.1, and orgmode 6.34c.73.gb3e9, on Ubuntu 9.10

Many thanks,

Graham

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [babel] cannot code to execute since changing to emacs starter kit
  2010-03-07 16:52 [babel] cannot code to execute since changing to emacs starter kit Graham Smith
@ 2010-03-07 18:22 ` Thomas S. Dye
  2010-03-07 18:49   ` Graham Smith
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2010-03-07 18:22 UTC (permalink / raw)
  To: Graham Smith; +Cc: emacs-orgmode

On Mar 7, 2010, at 6:52 AM, Graham Smith wrote:

> I guess I am being stupid here, but I have changed my set up to using
> Eric's (Schulte) start up kit for emacs and now when I try to use C-c
> C-c to execute a code block I get an error
>
> C-c C-c can do nothing useful at this location
>
> As far as I can see form the files that came with the start up kit,
> babel should be initiated.
>
> Here is my bit of code;
>
>
> ** Tarsus data
> #+srcname:Tarsus
> #+begin_src R :session BirdData
> Tarsus<-c(22.3,19.7,20.8,20.3,20.8,21.5,20.6,21.5)
> #+end_src
>
> Which was working during my try out of babel a few months ago.
>
> Once again I am stuck and would appreciate some help.
>
> This is emacs 23.1.1, and orgmode 6.34c.73.gb3e9, on Ubuntu 9.10
>
> Many thanks,
>
> Graham
>

Hi Graham,

Your example is R code.

I have this is in my starter-kit:

*** ON Org-babel R setup
#+begin_src emacs-lisp :tangle yes
   (require 'org-babel-R)         ;; requires R and ess-mode
   (add-to-list 'org-babel-noweb-error-langs "R")
#+end_src

Perhaps when you changed the setup you got rid of these by mistake?

HTH,
Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [babel] cannot code to execute since changing to emacs starter kit
  2010-03-07 18:22 ` Thomas S. Dye
@ 2010-03-07 18:49   ` Graham Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Graham Smith @ 2010-03-07 18:49 UTC (permalink / raw)
  To: emacs-orgmode

Tom

> Your example is R code.
>
> I have this is in my starter-kit:
>
> *** ON Org-babel R setup
> #+begin_src emacs-lisp :tangle yes
>  (require 'org-babel-R)         ;; requires R and ess-mode
>  (add-to-list 'org-babel-noweb-error-langs "R")
> #+end_src
>
> Perhaps when you changed the setup you got rid of these by mistake?

Thanks for this, no I didn't get rid of these by mistake, but
mistakenly thought that the set up I had in my .emacs file for orgmode
babel was "built into" the starter kit and I didn't need to explicitly
add these commands.

I have now added the lines you have suggested and all seems to be working.

Graham

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-07 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-07 16:52 [babel] cannot code to execute since changing to emacs starter kit Graham Smith
2010-03-07 18:22 ` Thomas S. Dye
2010-03-07 18:49   ` Graham Smith

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).