Displaying 15 results from an estimated 15 matches for "unpaste".
2005 Aug 26
2
Unpaste Problem
Hello,
Easy ways to "unpaste"?
xp <- paste(x2, x3) # x2, x3 are two non-numeric columns.
.............
.........................
xfg <- data.frame(xp,sc1, sc2, sc3) # sc1,sc2, sc3 are numeric cols.
I want xp to be split up to form a new dataframe of the form (x3, sc1,
sc2, sc3).
IMPORTANT info : elements of xp hav...
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 w...
1999 Jun 27
2
paste and path ?
...gh
> data <- read.table("D:/rw0641/own/own/procedures/GFR_TIME/grf.txt",h=T)
> dat1 <- read.table(path1,h=T)
Error: "scan" can't open file
but doesn't work
> path1
[1] "D:/rw0641/own/own/procedures/GFR_TIME/gfr.txt" although the path is OK
- the unpasted variant is of course ok. What happened ?
> data
day month year crea
1 12 3 94 140
2 25 9 95 144
3 3 7 96 167
4 5 12 96 174
5 12 3 97 187
6 14 6 97 188
7 23 9 97 201
Troels Ring, MD
Department of Nephrology
Aalborg Hospital
Aalborg Den...
2001 Oct 03
8
Several R vs S-Plus issues
...It failed because no ... was given. Fortunately, this is easily patched:
R> myfun <- function(x, ...) {if (missing(...)) x[]<-0 else x[...]<-0; x}
4) Missing functions:
a) identical() [scheduled for 1.4.0]
b) slice.index()
c) rowSums(), colSums(), colVars(), etc.
d) unpaste() - R has strsplit, whose result is like the transpose of unpaste
5) rowsum() gives character dimnames in S, factor numbers in R.
I've reported this early, and Brian D. Ripley promised a fix in 1.4.0.
OK, the rest are just differences, not complaints. In fact, sometimes they are
very go...
2001 Oct 03
8
Several R vs S-Plus issues
...It failed because no ... was given. Fortunately, this is easily patched:
R> myfun <- function(x, ...) {if (missing(...)) x[]<-0 else x[...]<-0; x}
4) Missing functions:
a) identical() [scheduled for 1.4.0]
b) slice.index()
c) rowSums(), colSums(), colVars(), etc.
d) unpaste() - R has strsplit, whose result is like the transpose of unpaste
5) rowsum() gives character dimnames in S, factor numbers in R.
I've reported this early, and Brian D. Ripley promised a fix in 1.4.0.
OK, the rest are just differences, not complaints. In fact, sometimes they are
very go...
2000 Feb 11
1
new chron problems in RW0990
...ification
and also the followig doesn't help
> dates("01/01/2000", format="dd/mm/yyyy")
Error in names<-.default(*tmp*, value = fnames) :
names attribute must be the same length as the vector
In addition: Warning message:
wrong number of fields in entry(ies) 1 in: unpaste(dates., sep = fmt$sep,
fnames = fmt$periods, nfields = 3)
Shall I send a bug report or is this a known problem?
Regards
--
Dr. Jens Oehlschlägel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 München
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
Standard Disclaimers: Opini...
2001 Oct 03
0
Several R vs S-Plus issues (PR#1110)
...It failed because no ... was given. Fortunately, this is easily patched:
R> myfun <- function(x, ...) {if (missing(...)) x[]<-0 else x[...]<-0; x}
4) Missing functions:
a) identical() [scheduled for 1.4.0]
b) slice.index()
c) rowSums(), colSums(), colVars(), etc.
d) unpaste() - R has strsplit, whose result is like the transpose of unpaste
5) rowsum() gives character dimnames in S, factor numbers in R.
I've reported this early, and Brian D. Ripley promised a fix in 1.4.0.
OK, the rest are just differences, not complaints. In fact, sometimes they are
very go...
2010 Feb 16
3
converting character vector "hh:mm" to chron or strptime 24 clock time vectors
...strptime(tdata$time,"%k")
Error in `$<-.data.frame`(`*tmp*`, "time2", value = list(sec = c(0, 0, :
replacement has 9 rows, data has 10
nor trying:
> tdata$time2=chron(times=as.character(tdata$time, format= "hh:mm"))
In addition: Warning messages:
1: In unpaste(times, sep = fmt$sep, fnames = fmt$periods, nfields = 3) :
wrong number of fields in entry(ies) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
2: In convert.times(times., fmt) : NAs introduced by coercion
3: In convert.times(times., fmt) : NAs introduced by coercion
4: In convert.times(times., fmt) : NAs introduc...
2000 Feb 16
1
chron and mysql
...cter(c.time[,"Date"]),c.time[,"Time"],format=c("y/m/d","h:m:s"))
Error in convert.dates(dates., format = format[[1]], origin = origin.) :
format y/m/d may be incorrect
In addition: Warning messages:
1: 1796 entries set to NA due to wrong number of fields in:
unpaste(dates., sep = fmt$sep, fnames = fmt$periods, nfields = 3)
2: NAs introduced by coercion
3: NAs introduced by coercion
4: NAs introduced by coercion
Thanks,
Joel Allen
Institute of Applied Sciences
University of North Texas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2001 Oct 03
0
RE: [R] Several R vs S-Plus issues (PR#1112)
...failed because no ... was given. Fortunately, this is easily
patched:
R> myfun <- function(x, ...) {if (missing(...)) x[]<-0 else
x[...]<-0; x}
4) Missing functions:
a) identical() [scheduled for 1.4.0]
b) slice.index()
c) rowSums(), colSums(), colVars(), etc.
d) unpaste() - R has strsplit, whose result is like the transpose
of unpaste
5) rowsum() gives character dimnames in S, factor numbers in R.
I've reported this early, and Brian D. Ripley promised a fix in
1.4.0.
OK, the rest are just differences, not complaints. In fact,
sometimes they are
ver...
2007 Apr 20
2
sorting data in R
hello,
I'd like know how to sort a data frame in R for example how I should do to sort by Catholic with swiss data frame like below
thanks
Fertility Agriculture Examination Education Catholic Infant.Mortality
Courtelary 80.2 17.0 15 12 9.96 22.2
Delemont 83.1 45.1 6 9 84.84 22.2
2010 Jan 07
2
R treating time
Hi all,
I have imported a value 3:00 from Excel into R using read.csv. I want R to
recognise it as 3:00am (time data). How do I do it?
Thanks in advance,
Chris
--
View this message in context: http://n4.nabble.com/R-treating-time-tp1008608p1008608.html
Sent from the R help mailing list archive at Nabble.com.
2003 Feb 18
2
functions different in R and S
Hello everyone,
We have encountered the problem of functions that appear different in
R and S. For example, ! in S becomes system() in R. We also have
found that new() in S does not exist in R, unless it has a different
name. I wonder whether there is any resource that can point to useful substitutes for S functions that are not recognized by R. At the same time whether there is a list
of
2003 Oct 20
3
R - S compatibility table
Hello all - I've just recently been exploring R for the
first time. After noticing a few things that have changed
from S to R, I started looking for an R-S compatibility table
but didn't find it. Is such a table out there ? Where ?
Thanks much,
Purvis Bedenbaugh
purvis at mbi.ufl.edu
Examples:
'stdev' is now 'sd' - is it exactly the same computation ?
couldn't find
2002 Oct 25
4
R v/s S-plus
Hi all,
I have Splus and R both on my unix machine. I intend to keep only one of
them. R looks to be a better choice. But I want to confirm. Is there any
function or group of functions in Splus that are absent in R?
Thanks,
Saket.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send