Thu 28 Nov 2013 10:44:51 PM UTC, comment #11:
I cannot reproduce these bugs.
|
Thu 28 Nov 2013 04:20:54 PM UTC, comment #10:
R works properly under Debian testing and TeXmacs (svn).
|
Sun 01 Jul 2012 08:23:47 PM UTC, comment #9:
Under Mac OS, the R plug-in is still broken.
At least, I cannot do 'demo()', for instance.
|
Thu 05 Apr 2012 01:58:02 PM UTC, comment #8:
Here's a patch that implements the findings of my previous comments.
In linux this gives a working R plugin.
(file #25589)
|
Thu 05 Apr 2012 12:09:36 PM UTC, comment #7:
More on my previous comment. Texmacs was not connecting to R because during compilation of texmacs there is an error (at least in linux) :
make[2]: entrant dans le répertoire « /tmp/src/plugins/r »
gcc -I../../src/System src/tm_r.c -o bin/tm_r -lutil
src/tm_r.c:24:18: error: util.h: Aucun fichier ou dossier de ce type
make[2]: [bin/tm_r] Erreur 1 (ignorée)
That error is easily overlooked as in the end you get "TeXmacs has been succesfully compiled", and furthermore texmacs still pretends to be launching tm_r even though it does not exist.
Once you figure this, the good news is that in tm_r.c you can just comment out (or delete)
#include <util.h>
and compilation will proceed without errors.
Then the fix in comment 2 essentially works, except that step 3 in unecessary, and that you further need to edit the Rd documentation file as explained in my previous comment (just put the second half (after \eof) of the Rd file in a TeXmacs2.Rd and R finds it OK).
|
Tue 03 Apr 2012 09:30:18 PM UTC, comment #6:
The R plugin is still broken presently with texmacs 1.0.7.15 and R 2.12.1 in linux.
I have not tried very long but from what I can see the fix in comment 2 is not working anymore as it yields errors. Apparently the /man/TeXmacs.Rd file is incorrect and should be split in two distinct files (at the \eof). But even doing that is not enough to get a working R session: When starting the session texmacs writes "Launching 'exec tm_r'" on the console, but soon after it displays the "dead" icon...
Too bad.
|
Fri 20 Jan 2006 03:47:03 PM UTC, comment #5:
I'm currently taking an R programming course, and one of the topics we cover is making packages. I'm going to see if I can get the instructors to show me how to fix this for R 2.3.0.
|
Sat 09 Apr 2005 04:19:34 PM UTC, comment #4:
This bug still exists in TeXmacs 1.0.4.7 -- see attached document
|
Sat 09 Apr 2005 04:17:03 PM UTC, comment #3:
This problem still exists with TeXmacs 1.0.4.7. I've attached a document showing what happens -- all I did was insert an R session into a new document.
|
Sun 21 Nov 2004 08:27:15 PM UTC, comment #2:
I have found a workaround. I have only tested this with TeXmacs 1.0.4.4 and R 2.0.0 and R 2.0.1.
1. Find out where TeXmacs is installed. This will have been determined by the "--prefix" option during "configure". I think the default is "/usr/local", but my Gentoo systems put it in "/usr".
2. As "root", do
cd share/TeXmacs/plugins/r/r/
3. Edit the file "TeXmacs/DESCRIPTION". Remove the line at the bottom starting with "Built:".
4. Do
R CMD build --force TeXmacs
R CMD INSTALL -l `pwd` TeXmacs_0.1.tar.gz
|
Mon 08 Nov 2004 02:50:52 AM UTC, comment #1:
I am running into the same thing. I know a little more about what's happening, but I haven't yet figured out how to fix it.
When the R team moved to R 2.0.0, they made some rather extensive changes to the way R libraries and packages work. As a consquence, packages that worked with older versions of R need to be rebuilt to work with R 2.0.0. The details can be found in the R documentation at
http://cran.us.r-project.org/doc/manuals/R-exts.html
and
http://cran.us.r-project.org/doc/manuals/R-admin.html
I don't know enough about TeXmacs and how it accesses R to fix this myself, although I do plan to dig into the source and see if I can find a workaround. I try to stay "bleeding edge" on Atlas (linear algebra library), R, TeXmacs and Maxima, so getting a solution to this is of interest to me.
Ed Borasky
-unavailable-
|
Tue 19 Oct 2004 09:57:23 PM UTC, original submission:
trying to use TeXmacs with R:
> Error in library(TeXmacs, lib.loc = "/usr/share/TeXmacs/plugins/r/r/") :
`TeXmacs` is not a valid package -- installed < 2.0.0?
have R 2.0.0 installed - with 1.9.1 it worked, but with 2.0.0 i get always this error and texmacs is not usable for R
|