similar to: general question on R setup/environment

Displaying 20 results from an estimated 10000 matches similar to: "general question on R setup/environment"

2007 Oct 25
4
ploting labels on barplot
Again me. I want to plot the numbers on the bars of a barplot. This can be done using hist function when setting the label argument true (i.e. data <- c(1,2,3,4) hist(data, labels=T) When I try this using barplot I get an error: > barplot(summary(data), labels=T) Error in axis(if (horiz) 2 else 1, at = at.l, labels = names.arg, lty = axis.lty, : formal
2007 Dec 01
3
compare strings
Sorry for the question, but I really cannot find the right search terms to find an answer.. I have a data frame with strings in some of the columns. I want to know all the rows where the strings in both columns are equal. How do I do this? Thanks, Bernd [[alternative HTML version deleted]]
2007 Nov 26
1
looking for packages that visualize nucleotide sequence properties
Hi there, I am looking for R-packages that can help me visualize properties on nucleotide sequences. I want to display sequences in the 1-100K base range as lines and plot features above and below those lines. Any ideas would be welcome. Thanks, Bernd
2007 Oct 25
2
data frame usage
Hi, I am new to R and couldn't find any information on how to handle my table data that I just read in the way I want to use it.. I read in a table from a file: x <- read.delim("filenam", header=TRUE) one column (x$label) hold the class labels. Another holds some values (x$val). I want to calculate summary statistics for different classes. How would I do this? Thanks, Bernd
2007 Oct 29
2
Qsub - unable to open connection to X11 display
Hi there, I want to run an R script on a cluster with qsub. Obviously I don't want to display any X window, but I want use png() or something else to write out images. Unfortunately I get the following error message: > png(filename = " ALL.png", width = 480, height = 480, pointsize = 12, bg = "white", res = NA) Error in X11(paste("png::", filename,
2008 Mar 17
1
summary of summaries
Hi, I have a few hundreds files with numerical information of different length but with the same column structure. I use the following code to get summary statistics fplist <- list.files(pattern=".*analysis") for (fp in fplist){ x2 <- read.delim(fp) summary(x2) } Summary gives something like: summary (x2) V1 V2
2001 Dec 07
1
densityplots
Dear all, I am new in R so please forgive the "dumb" question... I am used to work with Mathematica where it is possible to display a 2D array as a collection of shaded squares. The gray level there represents the value of the array element. It is basically a projection of a 2-dimensional histogram. After a lot of reading I still haven't found that kind of function. I would be
2002 May 24
1
Axis labels
Dear all I have a problem with assigning my own labels to the axis of a plot. I want to substitute the given labels e.g. 1,2,3,... with a vector of values and strings e.g. "12.23", "1.34", "245,5", "Result". B.t.w. how do I rotate these labels so they don't overlap???? I want to use the image function to plot. Thanks for your kind help. Bernd
2007 Nov 02
1
counting with factors
Hi there, I have something that appears to be a factor called drug: Typeof(drug) => Integer As.numeric(drug) gives a long list Levels(drug) gives a long list, too. Now I want something like the summary function does: I want to count how often each level occurs in the given vector. My problem is that summary gives me a list with counts that is incomplete and adds the
2008 Jan 04
1
R command line arguments
Hi, I would like start R in BATCH mode and submit my own parameters. Or in other words, I would like to specify variables from the command line and execute a script using those. I have been looking at commandArgs and calling R from the command line under bash: R CMD BATCH --no-save --args -filename="$filname" -- r-test.R r-test.Rout The problem here is, if $filename contains
2008 Apr 09
5
intermittent BJ errors
hi all I''m running background tasks using BJ 1.0.1 (gem version). On some requests, the tasks are executed as expected. On others, I get the following error: RuntimeError (no bj found in ["/u/apps/igniter/releases/20080408205801/ script", "/bin", "/usr/bin", "/sbin", "/usr/sbin"]): when it runs, it runs fine but does anyone know what
2000 Dec 27
2
sshd prints the motd with -t option
Hi, and another interesting bug report, where I'm not sure what the correct behaviour of openssh should be. Thanks for your comments: > I find myself frequently using OpenSSH to log in and perform a single > command (particularly in a script to perform some quick, simple task on > multiple machines I administer). If the '-t' option is not included, the > behavior is no
2011 May 08
1
Syntax for iter.max in rms
Hello, I would like to increase the number of iterations for running a Buckley-James regression model in the rms package, but something is apparently syntactically wrong. The following code initially is exactly as it appears in the help page (which runs successfully), then a "failure to converge" message (resulting from specifying an 'identity' link argument, the error message
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
problem: rails 2.3.2 is not generating config.action_controller.session_store = :active_record_store in environment.rb this is the code in environment.rb --------------------------------------------------------------------------- # Be sure to restart your server when you modify this file # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION =
2004 Jan 05
2
Character Set Conversion Problem in 3.0.1?
Environment: Red Hat 9.0 x86 Samba 3.0.1 Compiled with: --prefix=/usr/samba --with-lockdir=/usr/samba/var/locks --with-automount --with-pam --with-quotas --with-acl-support --with-smbwrapper I have been using Samba 2.2.x, and have files and dirs with umlauts (specifically, o's with two dots over them, as in Bj?rk) which display fine in Windows mounted shares. These same files/dirs show up
2013 Apr 19
2
NAMESPACE and imports
I am cleaning up the rms package to not export functions not to be called directly by users. rms uses generic functions defined in other packages. For example there is a latex method in the Hmisc package, and rms has a latex method for objects of class "anova.rms" so there are anova.rms and latex.anova.rms functions in rms. I use:
2010 Jul 30
1
hi! l have a question please help me
1) dmatrix1<-function(n,p,rho,sigma,k){ muvec1=zeros(1,p) truep<-as.matrix(c(3,1.5,0,0,2,0,0,0)) A=eye(p) for(i in 1:p){ for(j in 1:p){ A[i,j]=rho^(abs(i-j)) X=mvrnorm(n,muvec1,A) y=X%*%truep+as.matrix(rnorm(n,0,sigma)) Y=X[1:k,] w=y[1:k] Z=X[(k+1):n,] z=y[(k+1):n]}} return(list(X,Y,w,Z,z)) } I made this code which performs
2006 Sep 20
2
Denoiser level and AEC problem
Hello, Is it possible to adjust the level of the denoiser ? In an old beta, before you change the aggressiveness of the denoiser, it works very well with the noise of a car, a road etc... but not now. The AEC too works very well in a old beta, but now, I think there is a problem... I have tested it with the same sound card (WB 16000). In any case, your project is the best VOIP library in this
2006 Sep 11
2
Distances in codebook search
Hello, I recently measured the distances ndist[0][nb_subvect-1] which are used to make the decicion, which codebook entries are to be used in libspeex/cb_search.c (function split_cb_search_shape_sign). For that I took a couple of audio books (all german speech), downsampled the tracks to 8kHz and encoded them with "speexenc -n --bitrate 15000 ..." (I used svn revision 11825). Usually,
2006 Sep 18
2
Exc CB Search very little Question
Hello, just to make sure I haven't gotten anything wrong: In cb_search.c (function split_cb_search_shape_sign) after all that searching nb_subvect CB entries are being written into the stream. These are all taken from the same codebook. If I wanted to, I could just change their order, couldn't I? Because important is only the linear combination of them all together, which I keep