similar to: calling a function with dynamically generated buttons

Displaying 20 results from an estimated 300 matches similar to: "calling a function with dynamically generated buttons"

2009 Jul 23
4
remove multiple columns by name from dataframe
Hi there, I'm trying to remove multiple columns by name from a data.frame. As a result I need to get back the modified data.frame without the removed columns. My columns I want to delete are listed in a vector called "delete". data <- read.csv2("data.csv") delete <- c("col1", "col2", "col3") newData <- subset(data, select =
2020 Jun 05
2
Extended attributes not working on mac
these lines were an option before but have already been marked as comments in my config. same behaviour as before, color tag shows for round about a second and disappears suddenly. Martin > Am 05.06.2020 um 09:23 schrieb Ralph Boehme via samba <samba at lists.samba.org>: > > Am 6/5/20 um 8:33 AM schrieb Martin Steiner / 3MF GmbH: >> Any more ideas? It?s not displaying
2009 Aug 20
2
boxplot with log="y" and values starting at 0
Hi, I'm working with a data.frame containing values between 0 and 22000. Most of the values are actually between 0 and 50 and the high ones are outliers. I want to generate a boxplot and since the outliers are extremely high, I need to scale the y scale logarithmically. Otherwise one wouldn't really see the boxes of the boxplot. boxplot(dat, log="y", ylim=c(0,
2004 Oct 15
1
cluster analysis
Hello. I wonder if anyone can help me with this. I'm performing cluster analysis by using hclust in stats package. My data are contained in a data frame with 10 columns, named "drops". Firs I create a distance matrix using dist: distanxe <- dist(drops) Then I perform cluster analysis via hclust: clusters <- hclust(distanze) At this point I want to view the tree
2010 Feb 05
2
total summary of matrix
Hi, is there a way to receive a total summary of a numerical matrix? I'm trying to get a total overview of numerical matrix. Using summary(nummat) only hands back the Min, 1st Qu, Median, Mean, 3rd Qu and Max for each column. What I actually need is all the Information for the whole matrix. Anyone an idea how to do it? Thanks in advance, -- Anne Skoeries
2007 Oct 12
1
Batch-Plot Histograms
Hi everyone, anybody’s got an idea why the following script doesn’t produce batch-histograms? I’m using Windows XP and R 2.5.1. Here’s the script: matrix<-read.csv("C:\\Stadtwerke_mit_Umlage.csv", header=TRUE,sep=";",dec=".") Stadtwerke<-colnames(matrix) Bereich_blau<-66.67 Schleifen<-dim(matrix)[2]
2009 Sep 14
1
summary of rpart-Object in tktext window?
Hi, is it possible to put a summary of an rpart-Object into a tktext-window? Here is what I'm trying to do: fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis) tt <- tktoplevel() tex <- tktext(tt) tkpack(tex) tkinsert(tex, "end", summary(fit)) But since the summary of an object is a list, I always get back the following error-message: cannot handle object of
2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello, I have the TCl/Tk command "tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R script. Now I want to perform some operation in relation to the user's choice, something like "if (okpressed) xxx else yyy" What values does this command give and how are they used? Thank you, Richard -- Richard M?ller -
2019 May 22
3
HTTPS warning on developer.r-project.org
[Please CC me on replies, as I am not subscribed.] Dear R folks, Accessing the *R Developer Page* [1], the browser (Firefox) shows an HTTPS warning. The reason is the embedded Google logo. > Gemischte (unsichere) Anzeige-Inhalte von "http://www.google.com/logos/Logo_40wht.gif" werden auf einer sicheren Seite geladen Could you change that to an HTTPS link please? ``` $ curl -I
2007 Aug 31
3
data frame row manipulation
Hello, struggling with the very basic needs... :( any help appreciated. #using the package doBY #who drinks how much beer per day and therefor cannot calculate rowise maxvals evaluation=data.frame(date=c(1,2,3,4,5,6,7,8,9), name=c("Michael","Steve","Bob", "Michael","Steve","Bob","Michael","Steve","Bob"),
2009 Jun 25
2
variable driven summary of one column
Hello, how can I get a variable driven summary of one column of my data.frame? Usually I would do > summary(data$columnname) to get a summary of column named "columnname" of my data.frame named "data". In my case the columnname is not static but can be set dynamically. So I save the chosen columname in something like variable <- "columnname" but how can I
2009 Aug 24
1
Copy & Paste from tktext on Mac
Hi there, a text Window is supposed to map the shortcuts for copying and pasting (<Ctrl-C>, <Ctrl-V>) automatically. I'm working under Mac OS X and my text window doesn't really map these functions automatically - it works fine under Windows. Is there an easy way to map copy&paste functions to a text window under Mac OS X? This is what I'm doing with my text
2007 Apr 05
2
Likelihood returning inf values to optim(L-BFGS-B) other options?
Dear R-help list, I am working on an optimization with R by evaluating a likelihood function that contains lots of Gamma calculations (BGNBD: Hardie Fader Lee 2005 Management Science). Since I am forced to implement lower bounds for the four parameters included in the model, I chose the optim() function mith L-BFGS-B as method. But the likelihood often returns inf-values which L-BFGS-B
2013 Apr 25
2
Loop for main title in a plot
Hi all, I have a problem in including my plot in a loop. Here is a simple example for one plot: # Plot simple graph with super- and subscript a<-c(1,2,3,4) b<-c(1,2,3,4) plot(x=a,y=b, ylab=expression(paste("Apple"["P"])), xlab=expression(paste("Banana"^"th")),
2010 Jan 08
1
Zeilenweiser Plot einer Matrix
Liebe Liste, bin noch absoluter R-Anf?nger und trotz flei?igen Lesens der Dokumentation noch nicht zur L?sung des folgenden Problems vorgedrungen. Die Werte einer 2D-Matrix sollen in einem einzigen 2D-Plot dargestellt werden, in dem jeweils f?r die Werte einer Zeile ein Graph aus mit Linien verbundenen Punkten gezeichnet wird. Die Matrix besitzt zw?lf Spalten, die x-Achse soll einfach mit 1:12
2006 Mar 01
1
break in a each function
i have a method , and i only want the first 10 feeds to be put in the database , why doesn''t this control structure works , when the counter is 10 it has to jump out the iteration greetz Klaas def get_feed2(rssfile) # Open the RSS file rssfeed = open(rssfile.url) # Use the built-in REXML module # Read the entire RSS file into memory rssdoc =
2006 Mar 30
1
Globalize DB translate not working in Rails 1.1.0
It seems there have been some changes to ActiveRecord between Rails 1.1.0 RC and 1.10 Final that cause Globalize to fail; 1.10 RC was working fine. When retrieving records from the DB only the base language version is fetched, even when the locale has been set differently. The SQL in the log confirms that Globalize is ignored and a regular find() is performed.
2006 Jan 19
1
partials and instance variables for file_column
Hi, Sebastian Kanthak of the file_column-Plugin wrote once: "is the photo object inside a local variable or an instance variable (e.g. photo or @photo)? url_for_file_column only works with instance variables, like all other active record form helpers. Could this be the problem?" So I''m using file_column in a partial, e.g. <%= render (:partial => "product",
2006 May 11
1
Feature request.
Hi, Metacity has a keyboard shortcut for activating the window menu. I thinks it defaults to <Alt>Space. Now that compiz has a "proper" window menu it would be nice to have the keyboard shortcut for activating it. Rationale: Being among those who suffer from latent strain injuries from mouse use, I prefer to use the keyboard as much as possible. I can only speak for myself, but
2018 Jul 09
2
Parametrized Vignettest in R packages
On 09/07/2018 3:24 PM, Witold E Wolski wrote: > Dear Yihui, > > Thank you for the valuable questions. > > sample_analysis is a "tibble" while > configuration is an "R6" class. > But I also have parametrized reports where I pass R reference classes > as arguments. > > This is the Rmd yaml params part corresponding to the error message. > >