similar to: converting a list to a data.frame

Displaying 20 results from an estimated 2000 matches similar to: "converting a list to a data.frame"

2006 Nov 20
4
how to use the switch statement
Good morning, I am trying to recode the values of a column in a data frame and, instead of using a long series of if/else statements I would like to use a switch (as it is, for instance, in the C programming language). I have a column of this type: AT BB B1 B1 CC CC T6 B1 CC BB TT AT AT AT TT BB ... and I need to change this coding (if it's AT then it should be A1, if it's BB then
2007 Dec 03
3
overlapping labels
Good evening, I am trying to add labels to the point of a simple plot, using the text() function; the problem is that sometimes, if two points are too close to each other, labels overlap and are no longer readable. I was wondering whether there are options that I can use to prevent this overlapping (by, for example, placing labels alternatively above and below the plotted curve), or whether I
2006 Nov 09
1
Merge: how can I keep discarded values?
Good morning, I am merging two datasets and I would like to save the non-matching rows in a separate file. The problem is how to retrieve the non-matching rows in R. Example: DATASET A code nomi A1 Franco A2 Mario A3 Andrea A4 Sandro A5 Luca DATASET B code book A1 Guerra e Pace A1 Storia di Roma A2 La coscienza di Zeno A4
2004 Aug 26
3
plot.new?
Hi all, I am just beginning to use R and encountered a problem in trying to draw a regression line using the command "abline(coef(var)" and similar ones but got the error "plot.new has not been called yet". Does anybody know how can I call plot.new? Is this an additional package to be found somewhere on the web? Is it a functionality that I just have to "activate"
2004 Sep 30
1
tcl/tk
Hi all, I am already using R under Window and would like now to try and install it under Unix; I read I need tcl/tk installed so I connected to http://www.scriptics.com downloaded the file and extracted them to a directory tcltk beside R. I configured (./configure) both packages (tcl and tk) and compiled (make) them but I am not sure about how to proceed now: should I launch the command make
2013 Jan 08
1
problems when loading package GenABEL
Dear all, since yesterday, I have been experiencing problems with the package GenABEL. When I try to load the package (library(GenABEL)) I get the following error message: Loading required package: MASS Error : .onLoad failed in loadNamespace() for 'GenABEL', details: call: stringSplit[[1]] error: subscript out of bounds Error: package/namespace load failed for ?GenABEL? The funny
2004 Sep 06
1
R under Windows vs R under Unix/Linux
Hi all, I would like to know which are the main differences between R under Windos and R under Linux/Unix and where I can find, if something exists, some materials and infos on line on this topic. Thank you very much, Filippo Biscarini *************************** Filippo Biscarini, Research and Development ANAFI (Italian Holstein Association) Via Bergamo, 292 26100, Cremona, Italy
2012 Jul 05
2
7 days confusion over lists
Hello, I am a Masters student and I am working on my thesis modelling smallholder farms using a program in R. I have modified the original code and I am having some issues with lists that I cannot figure out. Originally, I had list file defining lists such as: Param, Crop1, Crop1, Soil, etc. (ex. Param <- list() ). Their subsets were listed as Crop1$CContent for example and there was quite
2001 Jun 03
1
OPIE support patch
I just cobbled up a little patch to add support for OPIE to OpenSSH. Currently untested, but feedback is welcome. Wichert. -- _________________________________________________________________ / Nothing is fool-proof to a sufficiently talented fool \ | wichert at cistron.nl http://www.liacs.nl/~wichert/ | | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250
2020 Aug 18
4
Adopting a third-party JSON library
Hi, I'm a new contributor. I'm considering the possibility of adopting a third-party JSON library instead of LLVM's homegrown `lib/Support/JSON.cpp`. The way I see it, this would bring several advantages as well as some downsides: + Slimmer codebase. + Benefit from upstream work and active contributions to another project. + Possibly improved performance and API ergonomics. -
2009 Jun 15
4
reading Excel file
Dear all,   I was using older version of R (installed early). I install new version of R (R.2.9.0) but i could not find package "xlsReadWrite" to read Excel file. Is there any alternatives to read Excel file ? I hope it should be. I need help although it is minor querry. Thanks in advance.   Sincerely, Ram Kumar Basnet Wageningen University, The Netherlands   [[alternative HTML
2005 May 19
3
Bug#309772: please add ignore lines for autossh
Package: logcheck-database Severity: wishlist Hi! if autossh debug is enabled it logs to syslog, thus the messages go thru logcheck, messages are in this form May 19 14:02:55 sagara autossh[1909]: port set to 0, monitoring disabled so this is the ignore line ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ autossh\[[0-9]+\]: .*$ thanks, filippo -------------- next part -------------- A non-text attachment
2005 Apr 26
3
Bug#306388: add ignore line for udhcpd
Package: logcheck-database Severity: wishlist Hi, the following two lines should be added either to ignore.d.server/dhcp or ignore.d.server/udhcp to ignore messages from udhcpd (other lines may be necessary) # udhcpd support ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ udhcpd\[[0-9]+\]: sending OFFER of [.0-9]+ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ udhcpd\[[0-9]+\]: sending ACK to [.0-9]+ filippo
2007 Sep 28
1
RMySQL installing problems
Dear forum, I'm trying to install RMySQL but I'm having problems in loading it, here is the message that I'm getting in R install.packages("RMySQL", dependencies=TRUE) trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.5/RMySQL_0.6-0.zip' Content type 'application/zip' length 391364 bytes opened URL downloaded 382Kb package 'RMySQL'
2003 Aug 11
4
subscripts in lists
I am tying myself in knots over subscripts when applied to lists I have a list along the lines of: lis<-list(c("a","b","next","want1","c"),c("d", "next", "want2", "a")) >From which I want to extract the values following "next" in each member of the list, i.e. something along the lines of
2008 Oct 27
3
Problem in installation of "Rgraphviz" package
Dear R users,   I am not so used to this R software. I have to use the package " Rgraphviz" but found some problem in the installation process. I download this package and store in R library but i am not getting this package in R installation list. I made review in google search net and use the following command:   ### source("http://bioconductor.org/biocLite.R")
2005 May 10
4
summary statistics for lists of matrices or dataframes
Is there a simple way to calculate summary statistics for all the matrices or dataframes in a list? For example: > z <- list(matrix(c(2,2,2,2), ncol = 2), matrix(c(4,4,4,4), ncol = 2)) > z [[1]] [,1] [,2] [1,] 2 2 [2,] 2 2 [[2]] [,1] [,2] [1,] 4 4 [2,] 4 4 > I would like to calculate, for example, the mean value for each cell. I can do that the hard
2008 Dec 06
2
Barplot label
Dear all, I am trying to make barplot from matrix with "beside=FALSE". I have 165 labels in my bar plot. When i plot the label horizontally below the barplot, then all labels are not appear in the plot due to lack of space. I used the following function: barplot(t(bar), main="Barplot based on LCMS", ylab="RF membership Probability",   
2006 Mar 29
2
warnings
dear list, i have a problem using the adaboost function from the package boost. running the example of leukemia works out very well, but so it does not on my own data. i always get the following 22 warnings: 1: cannot compute exact p-value with ties in: wilcox.test.default(x[which(y == 0)], x[which(y == 1)]) can anybody please help me with the meaning of this warning. thnak you stefan
2006 Mar 01
3
Voice Activation Level (speex 1.1.11.1)
Sorry. I forgotten the words volume or loudness. But it is know as microphone stroke too, i think. If something can tell me something about that procedure it would complete my pleasure. To bring back memories, i only wanted to know wheather i can change a variable that holds the sound intensity (loudness) needet to start "encoding >> sending" if the speex codec is in voice