similar to: spliting a string

Displaying 20 results from an estimated 11000 matches similar to: "spliting a string"

2008 Oct 31
2
how to retrieve some records from a dataframe
Hi , Dataframe Df contains more than 30 no of records.but I want only first 30 rows of data. How can I retrieve it. Thanks K.Ravichandra [[alternative HTML version deleted]]
2008 Aug 18
4
how to get no of pdf files in a particular directory
Hi Lets say, Dir<-"/var/www/html/celnet/users/cxadmin/FlowDuration_DataVolume/fld_01_ 08_18_08" There will be pdf and/or csv files. I want to know how many *.pdf files are there in that directory. How can I get using R commands. Thanks K.Ravichandra [[alternative HTML version deleted]]
2008 Sep 05
2
how to write a escape sequences in to a file
Hi Str1<-"hai " Str2<-"hru" I want to write these 2 strings in a file separated by newline. How can I get this. Thanks K.Ravichandra [[alternative HTML version deleted]]
2008 Nov 13
2
(no subject)
Hi, Browse[1]> d4 EVDO_Rev Session_Setup FCA bin counts 50 NA 0 5 1 1 51 NA 0 5 2 1 52 NA 0 5 3 1 53 NA 0 5 4 1 54 NA 0 5 5 1 55 NA 0 5 6 1 56 NA 0 5 7 1 57 NA 0 5 8
2008 Jul 30
1
need some help
Hi Can any body explain the meaning of the following R code if(interactive()) stop(msg, call. = FALSE) else quit() Thanks K.Ravichandra [[alternative HTML version deleted]]
2008 Nov 10
1
is there any way to apply mulitiple conditions in subset function
Hi All, Let say > df Session_Setup DCT FwdDataVols_bin counts 761 0 1 1 87162 762 0 1 2 11495 763 0 1 3 3986 764 0 1 4 1583 765 0 1 5 920 766 0 1 6 920 767 0 1
2008 May 21
2
need some help in plotting xy graph
Hi Dataframe fdf contains bin rate overlay 1 1 90 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success Rate 2 2 93 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success Rate 3 1 90 Assign First/cc _from_SN_50 RNC_21_to_SN_53 RNC_20_Success Rate 4 2 94 Assign First/cc _from_SN_50 RNC_21_to_SN_53
2008 Nov 07
1
is there any way to run R method as a background process from R interface
Hi , can some body tell to me "how to run a R method /function as a background process from R interface" Thanks K.Ravichandra [[alternative HTML version deleted]]
2008 May 20
2
need some help in plotting xy graph
Hi Dataframe fdf contains bin rate overlay 1 1 90 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success Rate 2 2 93 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success Rate 3 1 90 Assign First/cc _from_SN_50 RNC_21_to_SN_53 RNC_20_Success Rate 4 2 94 Assign First/cc _from_SN_50 RNC_21_to_SN_53
2010 Nov 01
1
spliting first 10 words in a string
Hi all, I have a columnn with text that has quite a few words in it. I would like to split these words in separate columns, but just first ten words in the string. Is that possible in R? Thank you, m [[alternative HTML version deleted]]
2008 Nov 06
2
need help in plotting barchart
Df contains Session_Setup DCT RevDataVols_bin counts comp 1 Session_Setup RLL 1 NA Session_Setup+RLL+1 2 Session_Setup RLL 2 NA Session_Setup+RLL+2 3 Session_Setup RLL 3 NA Session_Setup+RLL+3 4 Session_Setup RLL 4 NA Session_Setup+RLL+4 5 Session_Setup RLL 5
2007 Dec 13
6
spliting strings ...
Hi everyone, I have a vector of strings, each string made up by different number of words. I want to get a new vector which has only the first word of each string in the first vector. I came up with this: str <- c('aaa bbb', 'cc', 'd eee aa', 'mmm o n') str1 <- rep(1, length(str)) for (i in 1:length(str)) { str1[i] <- strsplit(str, "
2006 Apr 17
1
strsplit does not return correct value when spliting "" (PR#8777)
Full_Name: Charles Dupont Version: 2.2.0 OS: linux Submission from: (NULL) (160.129.129.136) when strsplit("", " ") returns character(0) where as strsplit("a", " ") returns "a". these return values are not constiant with each other. Charles Dupont
2008 Jul 30
6
Need help
Hello, Can someone help me to understand the meaning of the following R line? list(fk5 ~ .) Thanks, Renata ----------------------------------------- Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam
2009 Sep 25
7
Spliting columns, strings or reg exp returning substrings
Currently as the first column in a data frame I have string values in the format xx_yy - I want to create a new column with just the substring xx (for each row in turn). Three possible ways to do this might be (1) split the string by '_' using strsplit and paste the first of the resulting variables into a new column, but I have been unable to do this for each row of my data frame in turn
2012 Oct 26
1
Creating a certain set of points with geographic coordinates between two endpoints
Hi all, I am a very recent user of R. Mine is probably a basic question. I would like to know how do we create a certain set of points with geographic coordinates, between two endpoints. Please explain me how to do this using R. Which are the packages to be used for doing this. Thanks in advance, Ravichandra Mondreti. Ravichandra Mondreti PhD student/ Doctorant Spatial
2009 Dec 17
2
Problem with spliting a dataframe values
Hi all, Hi this is kiran I am facing a problem to split a dataframe that is.. i have a string like: "a,b,c|1,2,3|4,5,6|7,8,8" first I have to split with respect to "|" I did it with command unlist(strsplit("a,b,c|1,2,3|4,5,6|7,8,8", "\\,")) after getting that set i made it as a dataframe and it comes like a,b,c 1,2,3 4,5,6 7,8,8 now i have to
2008 Nov 03
1
need some help
Hi , > df Session_Setup DCT FwdDataVols_bin counts Comp 1 User_Initiated NoRLL 1 5058 User_Initiated+NoRLL+1 2 User_Initiated NoRLL 2 584 User_Initiated+NoRLL+2 3 User_Initiated NoRLL 3 191 User_Initiated+NoRLL+3 4 User_Initiated NoRLL 4 128 User_Initiated+NoRLL+4 5 User_Initiated
2006 Jul 28
1
spliting
Dear mailing list, I have a big data frame and each element in the matrix has two alphabets. I want to split those alphabets into two so each element will have one alphabet and the number of my columns will be doubled . So can some one help with the code? Example of what I want is to split them. Input (three column) GG AG AG CC CC CC CC CC CC AG
2012 Aug 27
3
String Handling() for Split a word by a letter
Hi, here im unable to run a string handle function called unpaste(). for eg:- a<- "12345_mydata" Actually my requirement what is i need to get , only 12345. Means that , i need the all letter as a word which is before of first " _ " - symbol of "a". i tried to do with unpaste, it says function not found. After that i tried with "strsplit() ". it