Displaying 20 results from an estimated 100 matches similar to: "Interactive plots with R"
2001 Nov 05
1
Problem to transfer Splus functions
Hello
I would like to transfer some Splus functions in R.
But I have a problem first about this assignation in Splus :
xnom <- deparse(substitute(x))
I am a bad programmer : I don't understand the R help
How to modify these functions ?
Thank you very much for your help
Here are the four functions and a data test
2011 Oct 13
0
[LLVMdev] BasicBlock succ iterator
thank john,
i have used dump() , and each blocks had pred except entery block, i get the
following output:
fun main entry
entry:
%retval = alloca i32
%0 = alloca i32
%i = alloca i32
%j = alloca i32
%a = alloca [2 x i32]
%n = alloca i32
%t = alloca i32
%"alloca point" = bitcast i32 0 to i32
%1 = getelementptr inbounds [2 x i32]* %a, i32 0, i32 0
%2 = load i32*
2012 May 24
3
set tkscale by tkentry
Hi, I am working under Windows and I am using R2.11
I want to use tkscale in my GUI. As the interval is quite big, I can't set
the scale to a certain specific value. Therefore I want to add tkentry to
allow the user to set tkscale to a certain value.
Here is the code
library(tcltk)
tt<-tktoplevel()
tkpack(m1<-tkscale(tt,from=306870.00, to=3026741, label="alpha",
2007 Jan 05
1
help for memory problem with 64-bit machines
Hello,
I would appreciate *any* ideas on this problem. I'm the maintainer of a
package ("subselect"), which on CRAN's Daily Package Checks is OK on all
flavours of R, except r-devel Linux x86_64, where there is a "memory not
mapped" segfault with the very first example that is tried out (output below).
Additionally, a user with an AMD64 machine has just reported a
2010 Jun 11
1
Windows, OSX and Linux: updating a graphic device and double buffering
Hello there,
I'm struggling with the base graphics system on different
operating systems.
I would like to get an animation effect by re-plotting with the plot
function. See the attached code example: move the slider
quick from one side to the other.
I experience different levels of success, depending on which OS I use.
- Linux (Ubuntu >9.10, R 2.9.2-3): Each plot command gets
2007 Feb 01
2
Losing factor levels when moving variables from one context to another
Hi, there
I'm currently trying to figure out how to keep my "factor" levels for a
variable when moving it from one data frame or matrix to another.
Example below:
vec1<-(rep("10",5))
vec2<-(rep("30",5))
vec3<-(rep("80",5))
vecs<-c(vec1, vec2, vec3)
resp<-rnorm(2,15)
dat<-as.data.frame(cbind(resp, vecs))
2012 Mar 08
3
rpanel / list error
Hi All,
I have created a simulation that works perfect and I have the results been
returned in a list as I have multiple values. I then decided to include some
user interaction by using the package rpanel, I now get the error:
object of type 'builtin' is not subsettable
when I attempted to have the return my list with the results .
Any help needed. I can also upload code if needs be.
2008 Aug 21
1
Kruskal.test() on lists
Hi,
I am trying to do a kruskal wallis test on two lists, fVisited and cSN:
fVisited[[1]]
[1] 0.17097623 0.30376141 0.17577266 0.14951855 0.03959753 0.08096217 0.05744888 0.02196257....
....
cSN[[1]]
[1] 0.08557303 0.36477791 0.19601252 0.12981040 0.05351320 0.10385542 0.03539577 0.03106175....
So if I just want to do a test on just one of the entries this is simple enough:
2011 Oct 13
6
[LLVMdev] BasicBlock succ iterator
Hi, All
I want to implement DSWP Which is used for parallelization of loops. For
this purpose, the loop was replaced with a new basic block in main function.
And new functions were created and basic blocks of Loop assigned to them.I
have checked blocks and branches for Succ and Pred relation and I have not
found any problems.
However I get the following error:
*
**opt:
2012 Mar 26
0
Pareto frontier plots in three dimensions
Hello all
This is my first posting for some years. I am back
using R again and must say I do like the language
(regarding scripting, I also use matlab, perl, and bash).
My question involves plotting a Pareto frontier in
three dimensions. This is strictly a exercise in
visualization, I make no attempt to extract the Pareto
set (aka dominating subset) first.
EXAMPLE PLOTS
For some example
2018 Aug 06
0
vctrs: a type system for the tidyverse
Hadley,
Looks interesting and like a fun project from what you said in the email (I
don't have time right now to dig deep into the readme) A few thoughts.
First off, you are using the word "type" throughout this email; You seem to
mean class (judging by your Date and factor examples, and the fact you
mention S3 dispatch) as opposed to type in the sense of what is returned by
2009 May 07
3
Plotting counts vs. intervals for a shingle
Hello!
Suppose I have a set of values:
a <- c(1:10, 5:10)
Suppose I also have a set of intervals:
b <- cbind(c(0,2.5,4.5,6.5), c(5.5,7.5,9.5,11))
I can create a shingle that counts how many values are in each interval:
c <- shingle(a, b)
I can display the shingle to see the counts:
summary(c, showValues=FALSE)
The display looks like this:
Intervals:
min max count
1 0.0 5.5
2007 Apr 16
0
4 commits - libswfdec/swfdec_shape.c libswfdec/swfdec_stroke.c test/dump.c
libswfdec/swfdec_shape.c | 19 +++++++++++++++----
libswfdec/swfdec_stroke.c | 6 +++---
test/dump.c | 2 +-
3 files changed, 19 insertions(+), 8 deletions(-)
New commits:
diff-tree 04113e5a83386f59140f248a817f7bf8d6728ddb (from f307c3b4ba316d4d1880e1aeba079878230e3db8)
Author: Benjamin Otte <otte@gnome.org>
Date: Mon Apr 16 11:42:21 2007 +0200
add FIXME
diff
2003 May 06
4
bitmap images in tcltk
Dear R-help list members,
I'm writing a package using tcltk. Thanks to Peter Dalgaard's excellent
work on the tcltk package, almost everything has gone very smoothly. I'm
stymied, however, by the following problem:
I want to incorporate a bitmap image, stored as an xbm file, in a widget.
To take a simple example,
top <- tktoplevel()
tkgrid(tklabel(top,
2007 Apr 16
0
7 commits - libswfdec/swfdec_codec_gst.c libswfdec/swfdec_font.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_shape.c libswfdec/swfdec_shape.h libswfdec/swfdec_sprite.c
libswfdec/swfdec_codec_gst.c | 2
libswfdec/swfdec_font.c | 4
libswfdec/swfdec_js_movie.c | 39 ++++++++-
libswfdec/swfdec_morph_movie.c | 18 ++--
libswfdec/swfdec_pattern.c | 130 +++++++++++++++++++------------
libswfdec/swfdec_pattern.h | 16 ++-
libswfdec/swfdec_shape.c | 99 +++++++++++++-----------
libswfdec/swfdec_shape.h | 11 +-
2018 Aug 06
2
vctrs: a type system for the tidyverse
Hi all,
I wanted to share with you an experimental package that I?m currently
working on: vctrs, <https://github.com/r-lib/vctrs>. The motivation for
vctrs is to think deeply about the output ?type? of functions like
`c()`, `ifelse()`, and `rbind()`, with an eye to implementing one
strategy throughout the tidyverse (i.e. all the functions listed at
2011 Feb 03
0
R: mpirun .C and R
hello all
i am busy testing some code that will be used for parallel computations
on a Moab cluster. I have written a C++ program and am linking it with R
using the .C command - this works correctly.
Extracts of the r code (as well as the *.sh file) is included below. I
am able to run the code successfully if I remove all of the doMPI
commands. i.e. outs=.C("prog1", all of the
2007 Oct 10
2
slow load() in R2.6.0
I'm encountering excruciatingly slow load times for character vectors in
R 2.6.0-- up to 30sec for a 15K file that contains a no-attributes
character vector of length ~1e4 and object size ~0.5MB. In R 2.5.1,
repeated loads of the same set of files are near-instantaneous.
The problem is proving tricky to reproduce consistently from scratch, so
I have attached the 3 files used in the examples
2007 Feb 15
0
3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_shape.c libswfdec/swfdec_tag.c
libswfdec/swfdec_bits.c | 5 +--
libswfdec/swfdec_shape.c | 8 +++--
libswfdec/swfdec_tag.c | 71 +++++++++++++++--------------------------------
3 files changed, 32 insertions(+), 52 deletions(-)
New commits:
diff-tree a879894cd4905bea3dfe323eac13d24448146807 (from b9d7f15528e25b22099507ad00bba595e53025af)
Author: Benjamin Otte <otte@gnome.org>
Date: Thu Feb 15 09:32:32 2007
2004 Mar 19
5
loop through files in a dir
Hello
I have data in many files in a directory, how can I
loop through the files in a given dir in-order-to
build a data.frame?
thanks