all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [babel] html export of R data frame
@ 2010-07-20  2:27 Vikas Rawal
  2010-07-20  2:39 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Vikas Rawal @ 2010-07-20  2:27 UTC (permalink / raw)
  To: emacs-orgmode

I have an R script which outputs a small table in the form of a
dataframe. In org-babel, this dataframe is not displayed as an org
table but simply as text laid out as it would be in an R session. 

When I export the output to html, I do not get an html table but only
text. How do I make org-babel show a table instead of plain text?

For example, take a simple code block like:

#+BEGIN_SRC R :results output :exports both :session y
  x<-c(1:5)
  y<-x^2
  data.frame(x,y)
#+END_SRC


Vikas






 

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

end of thread, other threads:[~2010-07-20  8:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-20  2:27 [babel] html export of R data frame Vikas Rawal
2010-07-20  2:39 ` Thomas S. Dye
     [not found]   ` <20100720031301.GA6691@panahar>
2010-07-20  8:08     ` Thomas S. Dye

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.