similar to: recompile R using ActiveTcl

Displaying 20 results from an estimated 600 matches similar to: "recompile R using ActiveTcl"

2009 Dec 10
1
question about centroid-linkage (cluster analysis)
Dear R community, I would be greatful if somebody could shed light on the following. I have created a set of 6 points to check how centroid agglomeration works in cluster analysis: > Y <- data.frame(x=c(-1,1,1,-1,10,12),y=c(1,1,-1,-1,0,0)) It is quite intuitive to understand that the last clusters to be joined will be {1,2,3,4} with {5,6}. Now, the centroid for the first cluster has
2009 Nov 24
2
convex hull for cluster analysis
Dear R gurus and users, I seem to have problem finding the right tool for plotting convex hulls over 2D plots, after a cluster analysis. In fact I would like to draw a convex hull in 2D for a generic group of points. I found a "convhulln", but this doesn't seem to give me a convex hull. Here is what I do: > library(mvtnorm) > Mean <- c(2,1) > Sigma <-
2006 Oct 20
6
summing elements in a list of functions
Dear all, I have looked for an answer for a couple of days, but can't come with any solution. I have a set of functions, say: > t0 <- function(x) {1} > t1 <- function(x) {x} > t2 <- function(x) {x^2} > t3 <- function(x) {x^3} I would like to find a way to add up the previous 4 functions and obtain a new function: > rrr <- function(x) {1+x+x^2+x^3} without,
2010 Jul 23
1
greek letters in rgl plot3d
Dear RGL experts, I haven't been able to add greek letters to my rgl plot3d. I have tried "expression" with no success. Here is the interested bit: > library(rgl) > cb <- cube3d() > plot3d(cb,xlab=expression(alpha),ylab="",zlab="",box=FALSE,alpha=0.5) The expression(alpha) appears as "alpha", rather than as a greek symbol. I suspect greek
2010 Sep 09
1
rgl and lighting
Dear R community (and Duncan more specifically), I can't work out how to make additional light sources work in rgl. Here is the example. First I create a cube and visualize it: > cubo <- cube3d(col="black") > shade3d(cubo) Next I position the viewpoint at theta=0 and phi=30: > view3d(theta=0,phi=30) Next, I want to create a 2nd light source which diffuses red light
2011 Feb 26
2
sourcing a linux file with "system"
Dear R community, I would like to source a file in my linux system to set a few environment variables. I have tried: > system("source /home/james/build//ccp4-6.1.13/include/ccp4.setup") and got: sh: source: not found In fact, using Sys.which("source") I get an empty string. How can I source that ccp4.setup file from within an R session? J Dr James Foadi PhD Membrane
2010 Jul 07
2
how to define method for "+" function in a new class
Dear R developers, I have a new class, which I called "Molecule", and have tried to define = a "+" operation for 2 objects of this class. This is what I have written so far, although the method is not complete = (I'm trying to look at it at intermediate stages): setMethod( f=3D"+", signature(x=3D"Molecule",y=3D"Molecule"),
2010 Jan 25
1
summing a large, partitioned data frame
Dear R community, I'm trying to develop a fast way of summing specific rows of a large data frame. Here is an example of the kind of data frames I'm dealing with: > refls H K L M/ISYM BATCH I SIGI 43247 1 0 5 21 79 61.44117 2.20553 1040 1 0 5 257 6 15.16316 0.54431 2324 1 0 5 257 5 46.76152 1.67858 31515 1 0 5 259 60 57.97305
2008 Mar 17
1
problems with rgl in Ubuntu 'gutsy'
Dear R users/gurus, I have recently installed Ubuntu 7.10 (Gutsy) on my Dell Latitude D520. First time for me, as I have always used Fedora. R installation using "apt" has proceeded fine, both for r-base and r-base-dev. Next, I need to install various other packages, "rgl" being first in the line. I have sorted some preliminaries by installing headers for X11 and Mesa: sudo
2006 Jul 20
2
failed installing rgl
Dear all, I have tried installing "rgl" with the usual command: R CMD INSTALL rgl_0.67-2.tar.gz Differently from what happened last time I have succesfully installed this package, this time there was a failure: ... ...g++ -I/usr/lib/R/include -I/usr/lib/R/include -I -DHAVE_PNG_H -I/usr/include/libpng12 -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
2007 Jul 05
3
unexpected result in function valuation
Dear all, I have a very small script to plot a function. Here it is: ########################################## sinca <- function(N,th) { return(sin((N+0.5)*th)/sin(0.5*th)) } plot_sinca <- function(N) { x <- seq(-5*pi,5*pi,by=pi/100) y <- rep(0,length=length(x)) for (i in 1:length(x))y[i] <- sinca(N,x[i]) plot(x,y,type="l",ylim=c(0,2*N+4)) return(c(x,y)) }
2008 Oct 08
0
issues with "write.table"
Dear R gurus and users, I'm having problems with the use of write.table. I have a 28-variables data frame create at each cycle of a loop; it can contain between 2000 and 3000 rows for each cycle. After each cycle the data frame is written out to a file with the "append=TRUE" option and then removed from memory. These are the couple of lines involved: > data2 <-
2010 Jan 18
0
new R package. How to hide data file
Dear R community, I'm in the process of writing a package. One of the functions reads a whole ascii file, full of data: > SYMINFO <- scan("/file/full/of/data.txt",what="character",sep="\n",quiet=TRUE) SYMINFO is now an array character with roughly 14000 elements. I thought the best way to use this file in the package was to list it, together with the
2019 Apr 08
1
ActiveTCL has non open-source license
https://cran.r-project.org/doc/manuals/R-admin.html#Installing-R-under-macOS https://www.activestate.com/activetcl/downloads links to ActiveTCL which has non open-source license: http://docs.activestate.com/activetcl/8.5/get/license/ "ActiveState Confidential Information includes the Software, including all source and object code, and all associated documentation, but not Accessible
2002 Sep 17
1
ActiveTcl Version
Dear Tcl/Tk users, Will R work with the more recent version of ActiveTcl 8.4.0.1 or should I use ActiveTcl 8.3.4.3? Peter --------------------------------------------------------------- Peter Ho Departamento de Ci?ncias de Engenharia e Tecnologia Escola Superior de Tecnologia e Gest?o Instituto Polit?nico de Viana do Castelo Avenida do Atl?ntico- Apartado 574 4901-908 Viana do Castelo Email:
2002 Aug 06
1
Using Tcl/Tk on Windows
Hello, I would like to try Tcl/Tk library on Windows. I installed ActiveTCL 8.3.4.3 and add the environment variable TCL_LIBRARY linking to the directory of installation. When I load the Tcl/Tk package, I have the following error: +--------------------------------------------------------------+ Error in firstlib(which.lib.loc, package) : Can't find a usable init.tcl in the
2003 Sep 05
1
Installing R on Red Hat Linux, Tcl/Tk
Hi, I've been trying to install R on Red Hat Linux 9 for some potential users of my R/TclTk application. I tried using the rpm for R 1.7.1 for Red Hat Linux 9. It told me that I needed: libtcl8.3.so so I looked for a binary release of Tcl 8.3.x on http://www.tcl.tk/software/tcltk/8.3.html but found that the link to the Tcl 8.3.x binaries pointed to ActiveTcl 8.4.x . I couldn't see
2003 Apr 25
1
tcltk tkfilefind demo problem
Hi everyone, I wonder if anybody observed the crash of the tkfilefind demo. I looked into the code and it seems to crash executing dirtree<-tkwidget(base, "hierarchy_dir", root=path, showparent="Parent", showfiles=1, showall=all.names,
2005 Aug 23
2
Using tcltk to display jpeg images
Dear R Helpers, Does anyone know how to use tcltk to display jpeg images? The manual says that one must use Tk_PhotoCreateImageFormat to register the jpeg image handler. The "ActiveTcl User Guide" (http://support.serv.ch/lang/tcl/img/doc/img-jpeg.html) says:- "The package img::jpeg is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require
2008 Jun 05
2
Fourier Transform
Hello All, I wanted to perform a fourier transform on high frequency financial data. I have searched and have not found much on this topic for R. I was wondering if anyone has used any libraries for it or have come across any papers I may read. Many Thanks, Neil Gupta [[alternative HTML version deleted]]