search for: rv15i

Displaying 20 results from an estimated 25 matches for "rv15i".

Did you mean: rv100
2008 May 07
6
help with updating to R2.7
Hi, From R 2.6, I would like to update to R2.7. I would like to have some tips on the recommended method of installing the latest versions of an entire list of packages in R2.7 - i.e. all the packages that I have presently installed in R2.6. I am hoping that there is an easier method than fetching the packages individually as I did, to begin with, for R2.6. Additionally, I would like to install
2008 Aug 13
3
Comination of two barcharts and one xyplot
Hi Rhelpers, I would like to have some help with a plot which is beyond my capabilities. This plot that I am seeking involves an overlay of two different barcharts and one xyplot. The code that I have used is the following : #save(df1,file="M:\\KBR\\df1.RData") load(file="M:\\KBR\\df1.RData") # df1$Year.ord created to obtain the right order i.e. 2015M < 2015K
2009 Aug 04
4
regex question
Hi, I am getting stuck over an apparently simple problem in the use of regular expressions : To collect together the first letters of the words from the Perl motto, ?There is more than one way to do it? in the following form ? TIMTOWTDI. I tried the following code : ? ##### A regex problem with the Perl motto astr<-"There is more than one way to do it" b1<-grep("\\<",
2008 May 07
6
help with the unique function
Hi, The unique function is easy to understand and use. Beyond that, I want to get also the frequency of repetition of each individual row in a data frame Let me explain with an example : x<-data.frame(a=c(1,2,3,1,2),b=c(2,3,4,2,3),c=c(10,20,30,10,20)) xu<-unique(x) We have, > x ? a b? c 1 1 2 10 2 2 3 20 3 3 4 30 4 1 2 10 5 2 3 20 > xu ? a b? c 1 1 2 10 2 2 3 20 3 3 4 30 I want to get
2008 Nov 13
1
replacing Na's in a vector with the preceding integer element
Hi, I have a vector where an integer is followed by a randomly varying number of NA elements. I want to replace the NA's with the preceding integer. Let me explain with a simple?example : avec<- c(1,NA,NA,5,NA,3,4,NA,NA,NA,NA,9,NA,0,NA,NA) I want to get the following vector from a : bvec<-c(1,1,1,5,5,3,4,4,4,4,4,9,9,0,0,0) How can I do this with R? Will appreciate all the help that I
2009 Jul 31
1
help in using gsub and ?
Hi all, I would like to strip the R prompt from a series of code lines and copy the resulting text into a R script. For example, consider the following : ##### str1<-" > library(MASS) > data(Cars93) > attach(Cars93) > imosaic(data.frame(AirBags,Cylinders,Origin))" str2<-gsub('>','',str1) ###### This gives, as expected .? > str2 [1] "\n
2012 Aug 25
2
sourcecode for the balloonplot function from the gplots package
Hi, I want to take a look at the sourcecode for balloonplot. I would appreciate it if I could get help on overcoming the following problem : > methods(balloonplot) [1] balloonplot.default* balloonplot.table* ? ? ?Non-visible functions are asterisked > balloonplot.default Error: object 'balloonplot.default' not found > How do I access the non-visible functions? Thanks, Ravi??
2008 Sep 23
1
Summing up columns with NA elements in a data frame
Hi all, When I try to sum a few columns in a data frame (which has NA?s randomly distributed as elements), I am not able to get the summing operation to ignore the NA?s. Let me explain with the following code : ################################? a<-structure(list(a1 = c(NA, 2, 3, NA, 5, 6, NA, 8, 9, NA), a2 = c(NA, + 4, 5, 5, NA, 7, 8, 8, NA, 10), a3 = c(2, NA, 6, 8, NA, 12, 14, + NA, 18, 20)),
2011 May 21
1
dealing with sweave.sty and pgfSweave
Hi, I would appreciate some help with a very basic problem in using pgfSweave. That is, dealing with the sweave.sty file. After some googling, I did the following : (1) copied the sweave.sty file to my trial folder and (2) added the line?? \usepackage{Sweave}?? to the Rnw file. Are there more elegant ways of dealing with this issue? I have read something about letting Miktex know about the
2007 Dec 30
2
Installing Rgraphviz package on a windows vista pc
Hi, I want to install Rgraphviz on a windows vista pc. The only source file that I found in the bioconductor homepage is a tar file. I can't install from this using the packages command in the R menu. I would like to get some tips on how I can do the installation. Can I just place the extracted Rgraph folder (from the source tar file) in the library folder of R2.6.1 along with the other
2011 Nov 09
1
installing java on ubuntu 11.10 installation
Dear list members, I am starting to get acquainted with linux on a ubuntu 11.10 installation on an external hard disk. I have just installed R and all the packages available in the r-cran-* list. Now, I would like to get on with the installation of packages like Deducer and Acinonyx. The former requires JGR which in turn requires Java. I have tried to follow the instructions available at the
2009 Aug 17
1
regex problems with the escape character
Hi R-users and R-experts, I am having a hard time in figuring out how to tackle regex questions where the "backslash" character is an integral part of the string. Let me explain how I?came across?this problem : I wanted to clearly see all the components in the windows environmental path variable. This is a long string.?For easy readability, I wanted to split up this string so that each
2009 Sep 11
1
help in matching two column vectors
Dear list, I have a long list of two vectors with some matching elements. I would like to line them up in two columns and have an NA in those positions of the second vector where a match is absent. With a simple example, I will explain my problem. (a<-1:6) (b<-c(5,2)) (m1<-match(a,b)) (ab<-cbind(a,m1)) m2<-numeric(length(m1)) for (i in 1:length(m1))
2010 Mar 01
1
help with zoo
Hi, I am interested in decomposing a time series and getting the trend, seasonal and?irregular variations, as one can get with the "stl" command. My time series is fairly regular, but it has some breaks. From the zoo manual, I gather that it should be possible to convert it to a regular time series and then fill the NA entries by interpolation. I am not able to proceed beyond a certain
2008 Apr 09
2
fuzzy merge
Hi, I would like to merge two data frames. It is just that I want the merging to be done with some kind of a fuzzy criterion. Let me explain. My first data frame looks like this : ID1 time1 dt 1 2008-01-02 13:11 10 2 2008-01-02 14:20 20 3
2008 Nov 20
1
extracting data from a list of unformatted text files
Hi, I want to extract information from a number of text files in a folder. The files are named as : 82534.txt, 82555.txt, 8282787.txt etc. I give below a sample of the kind of the information in the text file : ######## #(a lot of preceding text) 2008-10-01????? 06:30:12??? ??? ??? ??? 2 of 3 page #(some lines of text - varies from file to file) sekvens??? 890 # lines of text sNo???? start???
2009 Dec 14
0
ggplot : scale_x_datetime issues
Dear R users, My immediate problem is that I do not seem to understand how to use the function scale_x_datetime function in ggplot. My deeper problem is that I don?t understand the use of the POSIXct class. ? My data looks like like the following : T????????? val 2009-11-04 23:59:57?? 972.357117???? 2009-11-05 00:02:21?? 969.389221???? 2009-11-05 00:04:45?? 868.817749???? 2009-11-05 00:07:09??
2009 Apr 28
1
help with Rtools and Rgraphviz
Hi all, I want to install the package Rgraphviz on R2.9.0 (after installing Graphviz 2.22). I have not been successful in installing from the binary on a win XP pc. After looking up previous posts on the R and bioconductor lists, I installed the Rtools29. I have checked that the paths are correctly listed on the environmental variables window. I would now like to know how I can install with
2009 Sep 21
0
max.deparse.length in tinn-R
Dear R helpers, I want to know about the implications of changing the max..deparse.length parameter in tinn-R. I use tinn-R as my text editor. I had a problem recently in reading in a?statement that ran for many lines.. I was trying to recode some factors with long names into short ones. I got the following error message : >
2013 Jan 30
0
texture mapping images on the faces of a cuboid with rgl
Hi, I am interested in mapping 6 different images on the faces of a cube. I found the full code for doing this here : http://rwiki.sciviews.org/doku.php?id=graph_gallery:cube But I am unable to adapt the code for my purpose. I would appreciate it if I could get some help on the following points : 1. My images are jpeg images with dimensions of 1936*2584*3. Must I seperately process the grey and