Skip to content

Connect R and Lyx in UBUNTU

6 messages · ATANU, Rainer M Krug, Yihui Xie

#
Recently I have been using R in UBUNTU 11.10. 
Can anyone please tell me how to connect R and Lyx in UBUNTU? I have been
successful in doing that under Windows but I got stuck for Ubuntu.

Thanks in advance

-Atanu




--
View this message in context: http://r.789695.n4.nabble.com/Connect-R-and-Lyx-in-UBUNTU-tp4645675.html
Sent from the R help mailing list archive at Nabble.com.
#
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/10/12 11:57, ATANU wrote:
This is a LyX question, and I would suggest to ask it on the LyX mailing list.

Cheers,

Rainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB1X0MACgkQoYgNqgF2egohDgCfWLnBRYKZGenXeLqxfgwj4TWD
FckAnjKK+fuD3C//yMbqveUiH4UjasT5
=4j+E
-----END PGP SIGNATURE-----
#
What do you mean by "connect"? And how did you succeed under Windows?
i.e. what is your expectation?

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Oct 10, 2012 at 4:57 AM, ATANU <ata.sonu at gmail.com> wrote:
#
By "Connect" I meant to say that I was able to write code chunks in LYX and
compile them within LYX( using R) to produce results along with other
stuffs.


There are many tutorials available for doing this under Windows  but I could
not solve the problem for linux (UBUNTU).

-Atanu





--
View this message in context: http://r.789695.n4.nabble.com/Connect-R-and-Lyx-in-UBUNTU-tp4645675p4645824.html
Sent from the R help mailing list archive at Nabble.com.
#
It is actually much easier to do it under Ubuntu; see a video here:
http://yihui.name/knitr/demo/lyx/ If you want to use Sweave instead of
knitr, there is also a module for it.

The official documentation is here:

- https://github.com/downloads/yihui/lyx/sweave.pdf
- https://github.com/downloads/yihui/lyx/knitr.pdf

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, Oct 11, 2012 at 12:42 AM, ATANU <ata.sonu at gmail.com> wrote:
#
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have pointed out already: This is a LyX question - please ask on their mailing list
(http://www.lyx.org/MailingLists#toc2 and http://dir.gmane.org/gmane.editors.lyx.general)

There are many users who use LyX / sweave or knitr / R under Ubuntu!

Rainer
On 11/10/12 08:08, Yihui Xie wrote:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB2bK0ACgkQoYgNqgF2egpT4gCeN3+VSYx2hMAfSc+jp+Jr81b4
mcEAn3xLh8U7hLiB34L1Rouk3ECKN0Ue
=OWBb
-----END PGP SIGNATURE-----