similar to: something wrong with the R repository USA(WA) (fhcrc.org)

Displaying 20 results from an estimated 10000 matches similar to: "something wrong with the R repository USA(WA) (fhcrc.org)"

2005 Aug 16
3
how to reshape an array avoiding for loops
Dear r-help, I have an array a1 with dimensions [1:660,1:65,1:25] I would like the first dimension to be the last one. That is I want and array [1:65,1:25,1:660] The only way to do this, I know, is tmp.a<-array(dim=dim(a1)[c(2,3,1)]) for(i in 1:dim(a1)[1]) tmp.a[,,i]<-a1[i,,] a1<-tmp.a rm(tmp.a) Is it possible to avoid 'for' loop here? Thank you! ---
2006 Jul 27
3
how to resample (or resize) matrix?
Dear r-help, I have a matrix, suppose, 10x10, and I need the matrix 5x5, having in each cell a mean value of the cells from the initial matrix. Please, point me to a function in R, which can help me doing that. Digging the documentation and mail archives didn't give me a result. Thank you. --- Best regards, Vladimir mailto:wl at eimb.ru
2006 Oct 18
1
strange error in mtrace
Dear useRs, I am experiencing very strange error with Mark Bravington's package "debug". I haven't seen them before. Here is the sample session > library(debug) Loading required package: mvbutils MVBUTILS: no "tasks" vector found in ROOT Loading required package: tcltk Loading Tcl/Tk interface ... done > x<-function() return(1) > mtrace(x) > x() Error
2003 May 13
1
several regression lines in panel of xyplot (trellis graphics)
Dear r-help, I need to draw xyplot() graphs with several regression lines: one line for the whole range of x (the variable on the horizontal axis) and two additional lines for subranges of x. Is it possible to make first regression line (panel.lmline(x,y,...);) to be drawn on the whole graph and regression lines of the subsets to be drawn only over their subsets? I have defined
2005 May 20
5
getting the unique values and counts from a vector
Hi all, >From a vector, I want to get the unique values and the counts of these unique values in the vector. For example, x<-c(2 ,1 ,2, 1, 4 ,2 ,1, 4 ,1 ,1) xu<-unique(x) xn<-numeric(length(xu)) for (i in 1:length(xu)) {xn[i]<-length(which(x==xu[i]))} There must be a very much simpler method of doing this. Can somebody direct me to the functions that I must read in order to do
2003 Apr 16
2
layout.show()
Dear r-help, Please, be so kind, tell me what does mean the parameter of layout.show()? I use R 1.6.2... Windows NT 4.0 Unfortunately I cannot understand phrases from the help "n: number of figures to plot." what figures? "`layout.show(n)' plots (part of) the current layout, namely the outlines of the next `n' figures." what figures?
2005 May 20
3
Why does this give a syntax error?
Hi I'm generating the following in a file and getting a syntax error: bryansAtHeaderLevel <- c(0,1,1,1,1,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,1,0,0,1,0,1,0,1,1,1,1,1,1,0,0,1,1,1,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,1,0,1,0,0,0,) finnsAtHeaderLevel <-
2003 May 27
2
R doesn't remove temporary dirs and about bugreport
Dear r-help, 1. I always find in TEMP directory subdirs named like Rtmp##### where ##### denote a number. Obviously, they are created by R and are not removed by it after finish. Why? I use R 1.7.0 and Windows NT Workstation 4.0, English. SP 6a. 2. Is it possible to get known whether my bug report was received? I've sent to r-bugs at biostat.ku.dk the following but it seemed
2003 May 11
2
what does boxplot draw?
Dear r-help, Unfortunately I cannot find in the documentation what determines ranges of a 'box' in the box-and-whisker plot. It is said in "Simple R" (http://www.math.csi.cuny.edu/Statistics/R/simpleR) that they are 1st and 3rd Qus usually. I tried to add to boxplot lines with (quantile(x,probs=0.25)), but lines do not coincide with edges of boxes.
2003 May 08
3
again troubles with lattice
Dear r-help community, Thank you for your previous answers! Now I have strange behaviour of the lattice library funcitons. They do not draw graphics in the file when called from the script. I created the script file, called, for example, "a.R", containing the following library(lattice); trellis.device(device="png", filename="a.png",
2006 Sep 21
1
plot correlation matrix
Dear useRs, While exploring new R packages, I have found the Rattle. This screenshot http://rattle.togaware.com/rattle-correlation.png is very interesting (others are in http://rattle.togaware.com/rattle-screenshots.html ). Which function was used to produce this plot? Is such plotting of the correlation matrix a unique Rattle's feature? Unfortunately I have some weird problems with RGtk2
2005 Apr 04
1
need any advises for code optimization.
Dear colleagues, I have the following code. This code is to 'filter' the data set. It works on the data frame 'whole' with four numeric columns: a,b,d, and c. Every row in the data frame is considered as a point in 3-D space. Variables a,b, and d are the point's coordinates, and c is its value. This code looks at every point, builds a cube 'centered' at this
2003 Jul 23
1
lattice: how to format axis labels?
Dear r-help, I draw graphics with xyplot() function. Labels on the y axis are appearing as follows: "1.5, 1, 0.5, 0" I'd like to have them to be "1.5, 1.0, 0.5, 0.0", i.e. with fixed number of digits after the dot (one in this case). Is there any way to do this without implicit specifying labels? And some questions about font. Unfortunately I cannot
2006 Sep 26
2
package usage statistics.
Dear useRs, Is it possible to get the R package usage statistics? That is, does R contain any tools to estimate which packages were used and how often? I am going to temporary change the workplace and packing the data and their processing scripts on my computer in order to continue my projects. During my work on the current workplace I periodically have had installed new R
2006 Nov 03
1
would like to see R plots on local X display
Dear useRs, Sorry, if this is a FAQ. I just need the direction to dig. I am working on the linux box (its DNS name is raccoon, to be definite), Fedora Core 3. I connect with ssh to another linux box (Debian, dns name chena) and run R on it. When I call a plotting function from the R command line, it produces the file Rplots.ps, containing the required plot. I am running X on the raccoon. When
2005 Apr 27
3
libz library missing while installing RMySQL
Hello Trying to install the MySQL package, I get the following error. The help archive contains something on this issue but did not help. I work on linux suse 9.3 Configuration error: Could not locate the library "libz" required by MySQL. The library libz however is not on any mirrors I checked. ------------------------------------------------ Sebastian Leuzinger web
2003 May 06
5
xyplot (lattice), strip.default
Dear r-help, I've got data of the following structure 1979 93.428747 0 1979 87.298608 20 1979 78.506340 40 ... 1979 45.567890 340 1980 60.815289 0 1980 49.630904 20 1980 24.981362 40 ... The first column is year and the last one is the longitude. I need a set of graphs showing the dependence of the middle value on the longitude, for each year, situated one blow the other.
2003 Apr 15
2
troubles with displaying legend on the plot
Dear colleagues, I have troubles while trying to display legend on the plot. I have data.frame fr > fr year M1 M2 1 1979 58.85198 56.77303 2 1980 57.59725 55.93749 3 1981 57.32133 55.55232 4 1982 54.69320 53.10566 5 1983 56.58973 55.03811 6 1984 58.81363 56.97641 7 1985 58.35583 56.82091 8 1986 60.41842 58.45457 9 1987
2003 Apr 24
1
RMySQL
Dear laurent, > This is what I did to make the connection : > > drv <- dbDriver("MySQL") > > con <- dbConnect(drv) Here's the error. You should give the database name. drv <-dbConnect(drv, dbname="dfghdfgsdfgsdfgsdfgsdfgsdfgsdf") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Then I should be able to send requests. But when I
2003 May 13
1
SD
Dear r-help, Function sd calculates the standard deviation 'with (n-1) denominator'. Are there any alternatives with n denominator? Thank you very much. -- Best regards Wladimir Eremeev mailto:wl at eimb.ru