similar to: replace elements in a list

Displaying 20 results from an estimated 7000 matches similar to: "replace elements in a list"

2010 Apr 09
2
How to enable core dump?
Dear all, I encountered a core dump like this, (R:24072): Gdk-CRITICAL **: gdk_drawable_get_display: assertion `GDK_IS_DRAWABLE (drawable)' failed *** caught segfault *** address 0x78, cause 'memory not mapped' Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selection: 1 aborting ... Segmentation
2010 Jul 02
4
Visualization of coefficients
Dear all, I try to show a subset of coefficients in my presentation. It seems that a "standard" table is not a good way to go. I found figure 9 (page 9) in this file ( http://www.destatis.de/jetspeed/portal/cms/Sites/destatis/Internet/DE/Content/Wissenschaftsforum/Kolloquien/VisualisierungModellierung__Beitrag,property=file.pdf ) looks pretty good. I wonder if there is any function for
2010 Apr 27
1
suggestion on method dispatch
Dear all, I have define a function and its methods as follows: ######## beginning of code fn <- function(x,...){ UseMethod("fn") } fn.foo1 <- function(x, commonA=1, ...){ print("fn.foo1 is called.") } fn.foo2 <- function(x, uniqueFoo2, common=1, ...){ ## uniqueFoo2 is a unique argument in fn.foo2 x <- uniqueFoo2; class(x) <- "foo1" ## use uniqueFoo2
2010 May 05
1
help with restart
Dear all, I want to download webpage from a large number of webpage. For example, ######## link <- c("http://gzbbs.soufun.com/board/2811006802/", "http://gzbbs.soufun.com/board/2811328226/", "http://gzbbs.soufun.com/board/2811720258/", "http://gzbbs.soufun.com/board/2811495702/", "http://gzbbs.soufun.com/board/2811176022/",
2009 Jul 28
1
some QCA questions
Dear Adrian Dusa, others, I've recently started to learn R in order to use the QCA package because i think it might offer what other QCA packages don't: possibilities for quite a few conditions and large n. However, can someone tell me approx. how much RAM i need to run QCA on set of +/- 400.000 cases and +/- 15 conditions? (or differently: how much time will it take with RAM of a
2010 Apr 15
2
predict.lm with NAs
Hi, I wanted to use the predict.lm() function to compare the empirical data with the predicted values. The problem is that I have NAs in my data. I wanted to cbind my data.frame with the empirical values with the vector I get from predict.lm. But they don't have the same length because predict.lm just skip NA-predictions. Is there a way to get a vector with predicted values of the same
2009 Aug 10
5
Example scripts for R Manual
Hi, I am wondering if some experienced users would help put the ready-to-run code of the examples in the manuals. It would help new users learn R faster by putting all the examples in an ready-to-run R script file. Can somebody help do so sometime and post the code along with the pdf manuals? http://cran.r-project.org/manuals.html Regards, Peng
2009 Oct 20
1
RGtk2:::gdkColorToString throws an error
Dear all, I try to use RGtk2:::gdkColorToString, but it throws an error: Error in .RGtkCall("S_gdk_color_to_string", object, PACKAGE = "RGtk2") : gdk_color_to_string exists only in Gdk >= 2.12.0 I know what it means, but don't know to solve this problem because I don't know where I can download the referred gdk library. Any information? Thank you. -- HUANG
2009 Jun 17
2
Urgent - odfWeave produces graphs /images with Read-Error
Dear list, I have been working on a report with around 60 images in it, and everything has been fine, until now. I find that the image output that is produced by odfWeave produces images that are NOT readable by OpenOffice or NeoOffice. I get empty boxes with Read-Error written in them. While generating the file using odfWeave, I can see them being generated on the screen, and they all seem fine.
2011 Apr 26
1
rJava Help
I believe this posting is placed, and I take the liberty to re-direct to the r-help mailing list. Regards, Ronggui On 26 April 2011 12:33, <gopala at mail.gvsu.edu> wrote: > ?I am trying to create a web user interface using RApache. I need to install rJava packge but I am getting the following error message > > RApache Warning/Error!!! > > Error : .onLoad failed in
2009 Aug 25
2
Removing objects from workspace
Hi all, I am currently woking with hundreds of objects in workspace and whenever I invoke ls() to observe the names of the objects, there are too much of unnecessary variables. For example, if I only require say 3 or 4 objects from hundreds of objects in workspace, are there any methods that may do the job? I have tried rm(-c(x,xx,xxx)), but no luck.. Your feedback in this problem would be
2011 Jan 12
1
how to change strip text of effect plot
Dear r heper, How can I change the strip text, for example (16,23] in the following example, to other more informative text such as "high level" on the fly? library(effects) Cowles$ex2 <- cut(Cowles$extraversion,3) mod.cowles <- glm(volunteer ~ sex+neuroticism*ex2,data=Cowles, family=binomial) eff.cowles <- allEffects(mod.cowles) plot(eff.cowles,
2009 May 23
1
Draw a rectangle on top of an image using RGtk2?
Dear all, I use gtkImageFromFile to display an image. Then I want to do some gsignal to handle mouse event. I click the mouse and move a another position and release. I can get the position of the firs click and the release position, then I would to draw a rectangle to display the region I have selected. I need some hints on what functions should I look for. I tried to google but don't know
2010 Nov 02
2
can not built a package
Dear all, I tried to build a package from source, and ran into a problem. >R CMD build RQDA * checking for file 'RQDA/DESCRIPTION' ... OK * preparing 'RQDA': * checking DESCRIPTION meta-information ... OK ERROR copying to build directory failed I searched and found this http://r.789695.n4.nabble.com/tar-problem-when-using-R-CMD-build-on-Windows-td2734636.html > SET
2009 May 29
1
GTK Tooltips under Linux
Dear all, I want to set tool-tips for a gtkButton. I use the following code which works under Windows. However, it doesn't work under Linux. Any hints? Thanks. library(RGtk2) b<-gtkButtonNewWithLabel("OK") gtkTooltips()$setTip(b,"Memo for a Button.") gw <- gtkWindow(show=F) gw$Add(b) gw$Show() > sessionInfo() R version 2.8.0 Patched (2008-12-10 r47137)
2009 Oct 06
2
Help file doesn't display correctly
Dear R Developer, It seems to be a problem with help file. Not sure if it is related to the new format of Rd parser. Multiple lines are joined together without proper line break. > ?mean There were 14 warnings (use warnings() to see them) ## All lines are joined together and not easy to read. > warnings() Warning messages: 1: In grepl("^[[:blank:]]*$", buffer[length(buffer)]) :
2009 Nov 11
2
creating custom package and functions
Hi all, I am new to R-project I have to create custom package and some required functions in that package can any one help me how to create a custompackage and how to write my function in to that package These things I have to use in many places as per requirements in my solution please help me to create these custom packages thanks in advance kiran. [[alternative HTML version deleted]]
2010 Mar 22
2
SEM PACKAGE
Dear all, I would like to know if it is possible to estimate multi-group SEM by using R... Thank you _________________________________________________________________ ¿Cuánto espacio necesitas para guardar tus emails? Con Hotmail tienes 5GB y puede ampliarse a más. [[alternative HTML version deleted]]
2010 Mar 22
1
how to analyze repeated measures count data?
Dear R community, I've data-set with reaction times and count data (answers - yes, no) of N subjects under conditions A, B. For the analysis reaction time I used aov. fit.rt = aov(rt ~ A * B + Error(subjects/(A*B)), data = m ) But how do I analyze the frequencies correctly? example fable of frequencies from one subject: , , = A1 B1 B2 B3 yes 31 36 19 no 22
2010 Mar 23
2
Transform data set
Dear R Experts, I am having some trouble creating a variable in R. I have data on self-placement of voters, their placement of parties, and which party they feel closest to. The data is structured like this: Party_Close lrplaceself lrplaceParty1 lrplaceParty2 ... party1 2 4 5 party2 5 6 4 party1 6 2 1 etc... I want to format the data set so it looks like this: Party_Close