search for: gtable

Displaying 20 results from an estimated 48 matches for "gtable".

Did you mean: table
2016 Oct 26
2
improve 'package not installed' load errors?
...ror messages: In my "setup" ((where I did fiddle with .libPaths() to provoke the error, exactly as Duncan mentioned)), I have >> > library(ggplot2) 1. >> Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : >> there is no package called ?gtable? 2. >> Error: package or namespace load failed for ?ggplot2? and together they at least give a good clue to the user (yes, not easy enough for the beginner, I agree). However, because the above is already a kludge (only one of the two error messages is part of the error that is signalled !...
2013 May 08
11
[PATCH 1/2] xen, libxc: init msix addr/data with value from qemu via hypercall
...), 5 deletions(-) diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c index bb71cca..f6fc8e4 100644 --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -1339,7 +1339,9 @@ int xc_domain_update_msi_irq( uint32_t gvec, uint32_t pirq, uint32_t gflags, - uint64_t gtable) + uint64_t gtable, + uint16_t entry_nr, + uint32_t msi_ad[3]) { int rc; xen_domctl_bind_pt_irq_t *bind; @@ -1356,6 +1358,9 @@ int xc_domain_update_msi_irq( bind->u.msi.gvec = gvec; bind->u.msi.gflags = gflags; bind->u.msi.gtable = gtable; + bind->u...
2008 Dec 12
1
How to mimic select.list using RGtk2/gWidgetsRGtk2?
I want to write a function mimic the function of select.list(), here is my preliminary version. select <- function(x,multiple=TRUE,...){ ans<-new.env() g <- gwindow(title=title,wid=200,heigh=500) x1<-ggroup(FALSE,con=g) x2<-gtable(x,multiple=multiple,con=x1,expand=TRUE) gbutton("OK",con=x1,handler=function(h,...){ value <- svalue(x2) if (length(value)==0) value="" assign("selected",value,env=h$action$env) dispose(x1) },action=list(env=ans)) ans } However, it doesn't behave as what I want...
2009 May 27
0
invisible columns
...> it from RGtk2 (assuming you are using gWidgetsRGtk2 -- if you are > using gWidgetstcltk let me know and I'll find something similar) as > follows: > > library(gWidgets) > library(RGtk2) ## load in RGtk2 methods > options(guiToolkit="RGtk2") > > t <- gtable(mtcars[1:5, 1:4], cont = gwindow()) > > removeColumn <- function(t, col.num) { > name <- names(t)[col.num] > tbl <- getToolkitWidget(t) > ## remove a column, but store old one first to add back > col <- tbl$getColumn(col.num - 1) # 0- based > tbl$removeCol...
2009 Dec 22
1
RGtk2 - retrieve ggraphics mouse coordinates during drag-and-drop event
Hi all, I have a gtable and a ggraphic widget. I want to drag an element from the table onto the graphic. When the drag object is released over the ggraphic widget, I want the mouse coordinates inside the ggraphic to be returned. Right now I do not know how to get the mouse ccordinates of the ggraphic widget at any gi...
2012 Mar 16
1
ggmap crash
...9: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 10: grid.draw.gTree(x$children[[i]], recording = FALSE) 11: grid.draw(x$children[[i]], recording = FALSE) 12: drawGTree(x) 13: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 14: grid.draw.gTree(gtable_gTree(x), recording) 15: grid.draw(gtable_gTree(x), recording) 16: grid.draw.gtable(gtable) 17: grid.draw(gtable) 18: print.ggplot(list(data = list(siteLat = c(53.277465, 53.277482, 53.277533, 53.277608, 53.277657, 53.277673, 53.277658, 53.277643, 53.27763, 53.27763, 53.277642, 53.277645, 53.277642...
2016 Oct 24
4
improve 'package not installed' load errors?
Hi R-devel, One of the more common issues that new R users see, and become stumped by, is error messages during package load of the form: > library(ggplot2) Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'Rcpp' Error: package or namespace load failed for 'ggplot2' Typically, error messages of this form
2009 Dec 27
2
RGtk2 / gWidgets - addHandlerClicked Problem
...following code, the table handler is executed twice when the button is pressed (from the 2nd pressing on). I want it to be executed only once. Does someone know, why this happens and how I can change it? library(gWidgets) w <- gwindow() b <- gbutton("press", cont=w) tbl <- gtable(1:10, cont=w) addhandlerclicked(b, handler=function(h, ...){ cat("addhandlerclicked button\n") svalue(tbl, index=T) <- 1 # change the table value }) addhandlerclicked(tbl, handler=function(h, ...){ cat("addhandlerclicked table\n") }) Thanks! Mark ????????????????????...
2019 Jul 31
1
3.6 on debian stretch
...been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: r-cran-ggplot2 : Depends: r-api-3 Depends: r-cran-digest but it is not going to be installed Depends: r-cran-gtable (>= 0.1.1) but it is not going to be installed Depends: r-cran-plyr (>= 1.7.1) but it is not going to be installed Depends: r-cran-reshape2 but it is not going to be installed Depends: r-cran-scales (>= 0.4.1) but it is not going to be...
2019 Jul 31
1
3.6 on debian stretch
...been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: r-cran-ggplot2 : Depends: r-api-3 Depends: r-cran-digest but it is not going to be installed Depends: r-cran-gtable (>= 0.1.1) but it is not going to be installed Depends: r-cran-plyr (>= 1.7.1) but it is not going to be installed Depends: r-cran-reshape2 but it is not going to be installed Depends: r-cran-scales (>= 0.4.1) but it is not going to be...
2013 Jan 25
1
could not find function "qplot" after install.packages("ggplot2")
...qplot function. Could anyone pls help me ? Thank you. Pls see: > install.packages("ggplot2")--- Please select a CRAN mirror for use in this session ---also installing the dependencies ¡®colorspace¡¯, ¡®stringr¡¯, ¡®RColorBrewer¡¯, ¡®dichromat¡¯, ¡®munsell¡¯, ¡®labeling¡¯, ¡®plyr¡¯, ¡®gtable¡¯, ¡®reshape2¡¯, ¡®scales¡¯, ¡®proto¡¯ trying URL 'http://cran.stat.nus.edu.sg/bin/macosx/leopard/contrib/2.15/colorspace_1.2-0.tgz'Content type 'application/x-gzip' length 404742 bytes (395 Kb)opened URL==================================================downloaded 395 Kb trying URL...
2017 Jul 19
2
spaghetti plot - urgent
...ome and I can not understand how much I search the publications. Sorry for the stupidity, but I do not even know how to do it and I need it with the utmost urgency to finish a publication proposal :( Follows what I tried to do :( :( :( library(ggplot2) library(reshape) library(lattice) library(gtable) library(grid) set.seed(9027) n.longitudinal.observations = 5 # number of PCR measures (per subject) in the hospital period subjects = 15 # Number of simulations (1 per subject in the study) beta0_7_gerar = rnorm(subjects,...
2020 Oct 20
1
Dibujar un gráfico con 4 terms - ggeffects + plot
Hola eRRer en s, He creado un modelo mixto (adjunto) con lme4 He dibujado la predicción usando: df <- ggpredict(m.glob.pre.anu , terms = c("pre", "area_m2", "sum.vs.win") ) plot(df) Luego he arreglado el gráfico usando: df <- ggpredict(m.glob.pre.anu , terms = c("pre", "area_m2",
2017 Jul 28
3
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
...but I've tried (seemingly) everything. Even more, when I try the blog users code it works. Is it because I?m using longitudinal data? Even more. Is it possible to colour each one of the 15 lines with a different colour? library(ggplot2) library(reshape) library(lattice) library(gtable) library(grid) attach(mtcars) beta0 = rnorm (15, 1, .5) beta1 = rnorm (15, -1, .5) tempo = seq(1:5) CRP7raw = matrix(NA, 15, 5) CRP7 = matrix(NA, 15, 5) CRP98raw = matrix(NA, 15, 5) CRP98 = matrix(NA, 15, 5) crp <- for (i in 1:15) { CRP7raw[i,] = beta0[i] + beta1[i] * tempo CRP7[i,] =...
2017 Jul 19
0
spaghetti plot - urgent
...publications. > > Sorry for the stupidity, but I do not even know how to do it and I need it > with the utmost urgency to finish a publication proposal :( > > Follows what I tried to do :( :( :( > > > library(ggplot2) > library(reshape) > library(lattice) > library(gtable) > library(grid) > > > set.seed(9027) > > n.longitudinal.observations = 5 # number of PCR > measures (per subject) in the hospital period > subjects = 15 # Number of > simulations (1 per subject in...
2023 Jun 01
1
error in arfima...
...--------------- > > lN <- loadedNamespaces() > library(forecast) Registered S3 method overwritten by 'quantmod': method from as.zoo.data.frame zoo > options(width=75) > setdiff(loadedNamespaces(), lN) # -- see all the *!^@...! forecast loads: [1] "gtable" "dplyr" "tidyselect" "Rcpp" "parallel" [6] "scales" "lattice" "ggplot2" "R6" "generics" [11] "curl" "lmtest" "tibble" &qu...
2014 Jun 20
1
zuzufarah Help with ggplot 2 error: Aesthetics must either be length one, or the same length as the dataProblems
..., max(WUA_table) + .1*diff(range(WUA_table)))) + expand_limits(x = c(min(WUA_discharge) - .1*diff(range(WUA_discharge)), max(WUA_discharge) + .1*diff(range(WUA_discharge)))) + theme(plot.margin= unit(c(0, 0, 0.5, 0.5), "lines")) # Get the gtables gt1 <- ggplot_gtable(ggplot_build(p1)) the error message from the following code states: Error: Aesthetics must either be length one, or the same length as the dataProblems:WUA_table the error appears after the line: gt1 <- ggplot_gtable(ggplot_build(p1)) I would appreciate some help on...
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
...ignette shows many examples of its use. For a simple, but not trivial, illustration, this code, following chooseCRANmirror(), shows how to use gWidgets to make a dialog for selecting a CRAN mirror. << win = gwindow("Select a CRAN mirror") size(win) <- c(600,400) tbl = gtable(utils:::getCRANmirrors(), chosencol=4, filter.column=2, container=win, filter.column=2, handler = function(h,...) { URL = svalue(tbl) repos <- getOption("repos") repos["CRAN"] <- gsub("/$", "", URL[1]) o...
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
...ignette shows many examples of its use. For a simple, but not trivial, illustration, this code, following chooseCRANmirror(), shows how to use gWidgets to make a dialog for selecting a CRAN mirror. << win = gwindow("Select a CRAN mirror") size(win) <- c(600,400) tbl = gtable(utils:::getCRANmirrors(), chosencol=4, filter.column=2, container=win, filter.column=2, handler = function(h,...) { URL = svalue(tbl) repos <- getOption("repos") repos["CRAN"] <- gsub("/$", "", URL[1]) o...
2013 Nov 22
10
[PATCH v4] x86: properly handle MSI-X unmask operation from guests
...aligned; /* Shorthands to improve code legibility. */ diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h index cadb525..ce8f6ff 100644 --- a/xen/include/xen/pci.h +++ b/xen/include/xen/pci.h @@ -147,5 +147,6 @@ struct pirq; int msixtbl_pt_register(struct domain *, struct pirq *, uint64_t gtable); void msixtbl_pt_unregister(struct domain *, struct pirq *); void msixtbl_pt_cleanup(struct domain *d); +int msix_post_handler(struct vcpu *v); #endif /* __XEN_PCI_H__ */ -- 1.7.1 Thanks, Feng