Subject: mailing-list for TeXmacs Users
List archive
From : Michael Shea <address@hidden>- To: Henri Girard <address@hidden>
- Cc: texmacs-users <address@hidden>
- Subject: Re: [TeXmacs] R Plugin
- Date: Mon, 27 Mar 2017 18:33:13 +0000
Henri,
Can you tell me the difference between the texmacs-svn package and the standard texmacs package. Is it the latest build?
On Sun, Mar 26, 2017 at 7:26 AM, Henri Girard <address@hidden> wrote:
I made a small R file here attachment.
Le 26/03/2017 à 09:19, Henri Girard a écrit :
After compilation of last svn, i tried R in texmacs (sorry for the long message), its does it only at first run after its a normal R field ( :> sqrt(64)
sqrt(64)
[1] 8 )
I didn't try the patch I don't remenber how to to it
Henri
-----------initialisation-------------
if( is.element("TeXmacs", installed.packages()[,1]) ) {library( TeXmacs); }
if( !is.element("TeXmacs", installed.packages()[,1]) ||
!exists("TeXmacsR.version",where = as.environment("package:TeXmacs")) ||
as.numeric( get("TeXmacsR.version",envir=as.environment("package:TeXmacs")))
<0.15 ) {
cur.dir=getwd(); setwd( tempdir() );
system(paste("R CMD build ",Sys.getenv("TEXMACS_PATH"),"/plugins/r/r/TeXmacs",sep="") );
pack=list.files(pattern="TeXmacs.*gz");
install.packages(pack,repos=NULL,type="source");
library(TeXmacs) }
R version 3.3.3 (2017-03-06) -- "Another Canoe"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R est un logiciel libre livré sans AUCUNE GARANTIE.
Vous pouvez le redistribuer sous certaines conditions.
Tapez 'license()' ou 'licence()' pour plus de détails.
R est un projet collaboratif avec de nombreux contributeurs.
Tapez 'contributors()' pour plus d'information et
'citation()' pour la façon de le citer dans les publications.
Tapez 'demo()' pour des démonstrations, 'help()' pour l'aide
en ligne ou 'help.start()' pour obtenir l'aide au format HTML.
Tapez 'q()' pour quitter R.
> if( is.element("TeXmacs", installed.packages()[,1]) ) {library( TeXmacs); }
TeXmacs to R interface version 0.16
Run start.view() to use graphics without x11()
Use t.help.start() to view R documentation pages separately. Otherwise they are displayed in the buffer.
Notice: if you want density graphs produced with image() to render much faster, use the option useRaster=T
TeXmacs to R interface version 0.16
Attachement du package : ‘TeXmacs'
The following object is masked from ‘package:utils':
?
> if( !is.element("TeXmacs", installed.packages()[,1]) ||
+ !exists("TeXmacsR.version",where = as.environment("package:TeXmacs")) ||
+ as.numeric( get("TeXmacsR.version",envir=as.environment("package:TeXmacs")
<R.version",envir=as.environment("package:TeXmacs")))
+ <0.15 ) {
+ ˇcur.dir=getwd(); setwd( tempdir() );
+ ˇsystem(paste("R CMD build ",Sys.getenv("TEXMACS_PATH"),"/plugins/r/r/TeXmac
< ",Sys.getenv("TEXMACS_PATH"),"/plugins/r/r/TeXmacs",sep="") );
+ ˇpack=list.files(pattern="TeXmacs.*gz");
+ install.packages(pack,repos=NULL,type="source");ˇ
+ ˇlibrary(TeXmacs) }
-------------------------------------------------
> sqrt(64)
sqrt(64)
[1] 8
Le 26/03/2017 à 04:26, Jiezhe Wang a écrit :
There is a problem for R plugin in TeXmacs. If you build TeXmacs yourself, you will find that an error occurs during the building. However, it does not terminate the build session.
An attempt to fix it is in the attachment. I see it works, but I really don't know why it works...
Alternatively, you can install the texmacs-svn package in the AUR, which includes this patch and others.
On 03/26/2017 04:45 AM, Michael Shea wrote:
Frustrated with TeXmacs poor plugin support in Windows, I installed Arch Linux via VMware. I need to use R for a project but an R session session hangs at Busy. debug console just says "cannot start tm_r".
R is installed in /usr/bin and that is in the PATH.
Any ideas.
- [TeXmacs] R Plugin, Michael Shea, 03/25/2017
- Re: [TeXmacs] R Plugin, Jiezhe Wang, 03/26/2017
- Message not available
- Re: [TeXmacs] R Plugin, Henri Girard, 03/26/2017
- Re: [TeXmacs] R Plugin, Michael Shea, 03/27/2017
- Re: [TeXmacs] R Plugin, Henri Girard, 03/26/2017
- Message not available
- Re: [TeXmacs] R Plugin, Michael Shea, 03/27/2017
- Re: [TeXmacs] R Plugin, Jiezhe Wang, 03/26/2017
Archive powered by MHonArc 2.6.19.