R is not so easy to use for big matrix computations? This is a first for
me. R is extremely efficient at dealing with matrices. If you have huge
matrices, I don't think it would perform much better than anything else. If
you need sparse matrix functionality, R comes with it built in. Python is
actually horrible for mathematical computations since it basically runs
everything in FORTRAN and C. The overhead to manipulate the data to call
these libraries is enormous. R might actually be doing the same. Matlab
does this as well.

Honestly, what I have found is that printing tables and results is best
done by manually coding latex using booktabs and three part table. It isn't
that hard to do either. Write your results as a CSV and if you are good at
scripting, just separate the csv from the data frame into rows. Add a
header and you are good to go. This way, any time you have a CSV, you can
easily get it into tabular format and all you have to do is specify the
header and footer, something that is notoriously difficult to automate.
Trust me, I have tried a dozen or more times and it never just works.

~Ben

On Sun, Jan 25, 2015 at 3:35 PM, Steve Burnham <dan...@gmail.com> wrote:

> There is a package on CTAN called pythontex that allows you to run python
> from within a document.  I know LyX heavily relies on Python as well and I
> think I have seen mention of people using python code in their documents.
> I used to use Matlab for data processing but have completely switched over
> to python so I’m pretty sure you could do everything you want to do in
> python.
>
>
> -Steve
>
> On January 25, 2015 at 7:00:05 AM, Francesco Menoncin (
> francesco.menon...@unibs.it) wrote:
>
> Dear LyXers,
> I use and I like very much the package Knitr for executing R commands in
> LyX. Nevertheless, R is not so easy to use for big matrix computation. I
> wonder whether there exists a project similar to Knitr but allowing to
> code in LyX in other languages like Scilab, or Octave, or Matlab.
>
> Thank you
>
> Francesco
>
> --
> ---
> Francesco Menoncin
> Associate Professor
> University of Brescia
> Department of Economics and Management
> E-mail: francesco.menon...@unibs.it
> Tel. 0039-0302988806
> Fax. 0039-0302988836
> https://sites.google.com/site/francescomenoncin/
> http://www.eco.unibs.it/~menoncin/
>
>
> --
> Informativa sulla Privacy: http://www.unibs.it/node/8155
>
>

Reply via email to