similar to: Extending function symbols() to handle arbitrary shapes

Displaying 20 results from an estimated 5000 matches similar to: "Extending function symbols() to handle arbitrary shapes"

2004 Nov 19
1
R (unix) command line editing for native speakers of vi
As an inveterate user of vi, I was pleased to stumble on how to use it for editing R commands. When an interactive R session is launched under unix, the command line editor most likely defaults to emacs. Typing <esc>,<ctrl>+j will switch this to vi editing mode (see below for possible exceptions). excerpted from readline(3) manpage: vi-editing-mode (M-C-j) When in emacs
2005 Jan 28
1
error in gmake CrossCompileBuild
Dear all, I expect that I am on thin ice trying to build this on freeBSD 4.10, however, after tweaking Makefile-rcb v11Oct04 /* MAKE=gmake; MINGW_CROSS = mingw-cross4 */, I encounter: mingw32-gcc -isystem ~/RCrossBuild/cross- tools/mingw32/include -O2 -Wall -pedantic -I../include -I. - DHAVE_CONFIG_H -DR_DLL_BUILD -c dynload.c -o dynload.o dynload.c: In function `R_loadLibrary':
2005 Feb 07
1
Problems encountered/fixed making CrossCompileBuild
Dear All: I encountered and apparently overcame problems following Yan and Rossini?s procedure for "Building Microsoft Windows Versions of R and R packages under Intel Linux" (http://cran.r-project.org/doc/contrib/cross-build.pdf): I have successfully cross-compiled R packages for Windows on a FreeBSD 4.10 i386 system. My revisions to Makefile-rcb (http://cran.r-
2007 Feb 14
1
Any packages for conducting AHP( Analytic Hierarchy Process) data
Hi, R Lovers! I have some survey data. I'd like to run R or R packages for processing data inputted from AHP(Analytic Hierarchy Process) survey. Are there any R packages or subsititues for running data from AHP survey. Thanks in advance, -- Kum-Hoe Hwang, Ph.D.Phone : 82-31-250-3516 Email : phdhwang@gmail.com [[alternative HTML version deleted]]
2020 Jan 06
1
standard naming for components of R data structures
@steve Seek for online document named "writing R extensions" chapter 2. It tells how to describe a list structure using item markup for R documentation files, if indeed this matches your search, thing I am not sure. Something that looks like... value{ The \\code{list} owns following names \\item{alpha}{double vector} \\item{beta}{integer vector} \\item{delta}{raw vector} } Best Le
2020 Jan 06
0
standard naming for components of R data structures
Do you just need something on pen and paper? (In which case, I don't see why it needs to be "standard"). Or do you need something that can be used with bison/yacc/cup/etc to produce a parser? On a side note, I would say that the R Language Definition is the "standard" way. But I do recognize that this has a different flavour to modern language implementation *theory*.
2003 Sep 02
3
How to avoid automatic coercion to factor?
I have a function that manipulates a list of numeric and character components of equal length and wants to return a data.frame. EG, f<-function() { a<-list(Int1=1:5,Char1=letters[1:5],Char2=letters[6:10]) b<-data.frame(a) } How can I get the columns Char1, Char2, (...CharN) returned coerced to character and not factor? It appears that I could coerce individual columns by
2020 Jan 01
3
standard naming for components of R data structures
I need to write some documentation: I'm looking for a standard, consistent way of referring to the components and attributes of R data structures. Googling and Stackoverflow yield a variety of github sites that do not seem to be particularly authoritative. I was hoping to find a BNF/ABNF grammar for R. I've looked at the output of bison -v ./R-3.6.2/src/main/gram.y but it does not
2012 Aug 15
1
shade overlapping portions of circles (or other shapes)
I'm making some illustrations and it would be convenient to automatically shade the overlapping portions of circles. These illustrations are for Social Choice theory, a field in political science and economics. I've wrestled together some examples so you can see what I mean, but have not mastered the "color overlapping sections" problem (as you will see):
2000 Aug 21
4
symbols: xlim and ylim cannot be specified (PR#639)
symbols(iris[,1],iris[,2],rectangles=as.matrix(iris[,3:4]),inches=0.3, ylim=c(1,5)) Error in plot.default(NA, NA, type = "n", ylim = ylim, xlim = xlim, xlab = xlab, : formal argument "ylim" matched by multiple actual arguments Since plot is called inside symbols, with specified xlim and ylim, any specification through ,... hurts this call. I am pretty sure that you
2013 Nov 23
0
Hmisc package 3.13-0
A significant update to the Hmisc package is now available on CRAN for all platforms. Hmisc source is now on github at https://github.com/harrelfe/Hmisc and the full change log may be found at https://github.com/harrelfe/Hmisc/commits/master The most important updates are additions of new graphics functions for summarizing and displaying data with an aim of replacing tables. There is also
2005 Feb 15
1
Apropos sprintf behavior
If changes to sprintf behavior are being considered, would it be possible to allow some of the other K&R conversion specifiers? xX - for integer to hex conversion, and c - for ascii value to character conversion would all be useful for me. Thanks, Steve Dutky On Mon, 14 Feb 2005 11:02:20 +0000 (GMT), Prof Brian Ripley wrote: +On Mon, 14 Feb 2005, Wolfgang Huber wrote: + +> Dear
2004 Dec 06
0
convert Map shapes to logical matrices - for set operations
Hi, I have a little problem. I'm trying to do the following: Convert _projected_ shapes from a Map object into logical matrices. That is, rasterize a shape into a logical "in-the-shape" and "out-of-the-shape" matrix. What I'm trying to do is get an 'equal-area' estimate of the area of intersection between two overlapping shapes, without any concern about
2023 Oct 31
0
Missing shapes in legend with scale_shape_manual
I believe the missing shapes are because you had set alpha=0 for the last geom point. I expect there are better ways, but one way to handle it would be to avoid the filtering, adding columns with med and exercise status, like the following: # setup with data provided Date <- c('2023-10-17', '2023-10-16', '2023-10-15', '2023-10-14',
2012 Sep 28
2
changing outlier shapes of boxplots using lattice
Hello This is Elaine. I am using package lattice to generate boxplots. Using Richard's code, the display was almost perfect except the outlier shape. Based on the following code, the outliers are vertical lines. However, I want the outliers to be empty circles. Please kindly help how to modify the code to change the outlier shapes. Thank you. code package (lattice) dataN <-
2010 Jun 04
1
Shapes in barplots
Hi, I am making barplots . I am using the default shape of barplots with a pipe but I wants to build bars in various 3d shapes. I have install rgl using install.packages('rgl') for this purpose, but when I am doing library(rgl), it shows Error in library(rgl) : there is no package called 'rgl' What are the other ways to build such plots of variuos shapes. Is that *TeachingDemos
2023 Oct 31
0
Missing shapes in legend with scale_shape_manual
Tim, thanks, it helps very much. It works like a charm. Wow, there's so much I don't understand about ggplot2 functions, especially the aes() function. I just discovered the ggplot2-book.org site, and I hope to read it slowly and carefully over the next couple of weeks. Thanks again, Tim, for all your help. -Kevin On Tue, 2023-10-31 at 12:35 +0000, Howard, Tim G (DEC) wrote: > I
2006 Jun 28
8
getting problems on win32 fixed
I develop using Rails on win32 in a corporate environment. While most stuff works, there are a few annoyances that I deal with on a regular basis. It would be great if stuff like this could get cleaned up. I have filed a few bugs against Rails that have gotten no attention, and asked a question on ruby-talk that never got answered (though I posted via the newsgroup, maybe the gateway is
2008 Jun 16
1
sizing non-vector point shapes in ggplot2
Dear all, With normal plotting, one can size a set of points in a plot using a vector argument to cex in the points() function. This works whether you are using one of the standard R symbols (i.e. 19+) or some ascii symbol, such as '/' eg: plot(1:10, 1:10, type='n'); points(1:10, 1:10, cex = 1:10, pch = '/') Trying to make the transition to ggplot2, I find that the
2012 Jul 10
1
RGL 3D curvilinear shapes
Dear useRs, I'm trying to simply fill in the area under a curve using RGL. Here' the set up: x <- c(0.75,75.75,150.75,225.75,300.75,375.75,450.75,525.75,600.75,675.75, 0.5,50.5,100.5,150.5,200.5,250.5,300.5,350.5,400.5,450.5, 0.25,25.25,50.25,75.25,100.25,125.25,150.25,175.25,200.25,225.25) y <- c(0.05,4.91,9.78,14.64,19.51,24.38,29.24,34.11,38.97,43.84,