similar to: rgl keyboard shortcut for translation on Mac?

Displaying 20 results from an estimated 100 matches similar to: "rgl keyboard shortcut for translation on Mac?"

2009 Dec 29
1
ggplot2, building a simple formula interface
I?m trying to build a simple formula interface to work with a function using ggplot2. The following scheme ?works? up until the plot(p) request, at which point there are complaints about xlim?s and a blank graphics window. Looking at str(p) I do see the limits are NULL, plus layer 1 claims to have an empty data frame (but df is reproduced correctly). I'm sure I'm missing something really
2010 Nov 29
3
Replacing several rows of a matrix at once
Hello Folks. This must be a silly question with a (not) obvious (to me) answer. Consider this: tmp <- matrix(1:200, nrow = 20) vec <- 300:309 tmp[9,] <- vec # replacing one row works fine p <- c(3, 11, 17) tmp[p,] <- vec # replacing multple rows pastes the values down a column and recycles vec. What I want to do is replace multiple rows simultaneously at once. I suppose I can
2010 Dec 04
2
Error in calcCurveGrob(x, x$debug) : End points must not be identical
Hi All... I haven?t found mention of this error anywhere. I'm trying to draw spline curves using grid graphics. Most of the time, I have no problems, but I have some data sets that give the error in the subject line. I'm not sure which end points are identical, but the end points passed to the function are definitely not identical. Any assistance appreciated! Bryan tst <-
2010 Jun 26
1
boot with strata: strata argument ignored?
Hello All. I must be missing the really obvious here: mm <- function(d, i) median(d[i]) b1 <- boot(gravity$g, mm, R = 1000) b1 b2 <- boot(gravity$g, mm, R = 1000, strata = gravity$series) b2 Both b1 and b2 seem to have done (almost) the same thing, but it looks like the strata argument in b2 has been ignored. However, str(b1) vs str(b2) does show that the strata have been noted
2009 Oct 02
1
ggplot2: proper use of facet_grid inside a function
Hello Again R Folk: I have found items about this in the archives, but I?m still not getting it right. I want to use ggplot2 with facet_grid inside a function with user specified variables, for instance: p <- ggplot(data, aes_string(x = fac1, y = res)) + facet_grid(. ~ fac2) Where data, fac1, fac2 and res are arguments to the function. I have tried p <- ggplot(data,
2010 Nov 20
1
Grid newbie: aligning & scaling viewports
Oh Knowledgeable Ones: I'm working on a project using grid graphics (for the first time). A toy example is given below, run it simply with >foobar() I am wondering why the pink dot and concentric circles are not centered on the 3-color axis system. Further, I feel like the concentric circles don't have the intended radius - if my math is right, the outmost circle should touch the
2010 Aug 26
3
Passing data to aov
Hello Again Gurus and Lurkers: I?m trying to build a very user-friendly function which does aov without having the user type in a formula (which would be tedious in this case). The idea is to take the response from a PCA score matrix, and the factors from a list. A simple example is the function given below, along with test data and a sample call to the function. I'm certainly having
2009 Oct 06
1
ggplot2: mapping categorical variable to color aesthetic with faceting
Hello Again... I?m making a faceted plot of a response on two categorical variables using ggplot2 and having troubles with the coloring. Here is a sample that produces the desired plot: compareCats <- function(data, res, fac1, fac2, colors) { require(ggplot2) p <- ggplot(data, aes(fac1, res)) + facet_grid(. ~ fac2) jit <- position_jitter(width = 0.1) p <- p +
2010 Apr 19
1
What is mclust up to? Different clusters found if x and y interchanged
Hello All... I gave a task to my students that involved using mclust to look for clusters in some bivariate data of isotopes vs various mining locations. They discovered something I didn?t expect; the data (called tur) is appended below. p <- qplot(x = dD, y = dCu65, data = tur, color = mine) print(p) # simple bivariate plot of the data; looks fine mod1 <- Mclust(tur[,2:3]) mod1$G mod2
2010 Aug 19
0
Gathering different data types for aov etc
Hello List Folks. I?m trying to do manova using a function which assembles the response (LHS) and factors (RHS) from different sources. When I do so, the model routines complain that I'm passing a list for the RHS when I don't think I am. Here's a toy example: r <- matrix(rnorm(30), ncol = 3) # toy data td <- list(d = rnorm(10), f1 = sample(c("A",
2009 Oct 15
1
ImageMagick not seen by movie3d function from rgl package
Hello R-users, I have downloaded and installed a binary version for Windows OS of ImageMagick (ImageMagick6.5.6-10-q16-windows-dll.exe), I have installed the rgl package and i've tried running the following example from ?movie3d() library(rgl) open3d() plot3d( cube3d(col="green") ) M <- par3d("userMatrix") play3d( par3dinterp( userMatrix=list(M,
2009 Dec 02
2
scatter3d with groups
Dear R users, I'm currently visualizing my data using scatter3d from the "Rcmdr" package. I have data points which can be separated in two classes. Data points from class 'A' should be colourised red and data points in class 'B' should be colourised 'blue'. No matter what I try, the data points are always blue. I attached a (very) minimal example to
2011 Jul 21
1
Error: bad index in plotmo functions for MARS model (package earth)
Hello all useRs, I am tring make a simple surface plot ( 2 by 2 terms of a MARS model (with earth package) but I get the follow error message: > plotmo( mars ) Error: bad index (missing column in x?) I don't no how to workround this... :-( I thanks in advanced by some help! Thanks. Cleber ############### > > ### example code: > library( earth ) > data( gasoline,
2009 Sep 22
1
rgl, openmesa, nvidia. Oh my!
I've caused a new problem for myself. I wonder if you have seen it. On Ubuntu 9.04 I had a lot of hangs with the nvidia packages and so I updated to the 185 edition on this website: https://launchpad.net/~nvidia-vdpau/+archive/ppa The video drivers are much better! However, I notice now I don't have all of the working pieces of the X11/openGL development toolkit in order to compile R
2007 Jul 12
0
Noob Question: Keyboard Shortcut - Enter Date - Time
In X (preferably Gnome), is there a way I can set a keyboard shortcut to enter the date (preferably in a configurable format) into the current position of the cursor in the top window? -- Sincerely, John Thomas
2007 May 05
0
Email client shortcut
Under SL 4.x GNOME, when I assigned a button shortcut for Email (the "Mail" button of my Microsoft Internet Keyboard), the default email client (thunderbird) was launched. Under CentOS 5.0, Thunderbird is launched as "thunderbird -compose %s" (defined in GNOME "Preferred applications"). This has as an effect when I press the email shortcut a compose new message
2006 Jun 16
3
shortcut for full url as the linktext?
Is there a shortcut for this: "http://foo.com":http://foo.com ? Thanks, ---John
2006 Jun 25
1
pre, code, ```, and a "bc." marker. Was "Re: shortcut for full url as the linktext?"
On 6/18/06, Iain Haslam <iainhaslam at gmail.com> wrote: > > BTW, I really like the new > > > > ```source > > code > > ``` > > > > syntax. *Huge* timesaver. > > Continuing this particular off-topicness: Lucas, are you aware or in > favour of the bc(code). syntax already being used for this [1]? I > mentioned it previously on the list [2],
2006 May 09
0
Ruby windows shortcut module
You are most welcome sir. Glad to hear it. :) Dan --- Bob Puckette <bob at puckette.com> wrote: > Daniel, > > I was almost going to write the equivalent to your > "shortcut.so" for Ruby > when I stumbled upon your work. > > It was immediately helpful to me in my classical > music collecting hobby. > Thanks. > > > Bob Puckette >
2005 Jul 16
1
Need shortcut help
Heesob, Can you please take a look at win32-shortcut and get Shortcut.open to work? Check out the latest from CVS. I have a non-working version at the moment. I''m not sure why CoGetInstanceFromFile() fails, or if it''s even the right approach. Thanks. Dan