similar to: paste to collapse vector to string

Displaying 20 results from an estimated 1000 matches similar to: "paste to collapse vector to string"

2008 May 19
1
Error in building library - R CMD build mypkg.
----- Forwarded by Ajay DAS/US/BMNA01 on 05/19/2008 03:11 PM ----- Ajay DAS To: r-help
2008 May 19
0
Error in building library - R CMD build mypkg.
Hi, I am getting an error when I am trying to build a library in R for windows . I am using R 2.7.0 in windows. I am following the instructions listed in the R Help for package creation. require(stats) ## two functions and two "data sets" : f <- function(x,y) x+y g <- function(x,y) x-y d <- data.frame(a=1, b=2) e <- rnorm(1000)
2008 Apr 29
1
Error in building ROracle in Windows with R 2.6.2 and Oracle 10g.
Hi, I am new to R. I need to communicate with Oracle from R program in windows xp. So I am planning to use ROracle. I downloaded the ROracle src from the site below: http://cran.r-project.org/web/packages/ROracle/index.html I am using R version 2.6.2 and Oracle 10g. I followed the instructions to build ROracle. When I try to compile the source src/Makefile.win I get the following error:
2008 May 01
3
Error in building ROracle in Windows with R 2.6.2 and Oracle 10g.
Hi, I need to use ROracle to communicate with Oracle from R program in windows environment. I am using Oracle 10g, R 2.6.2. I found a pre-compiled binary for ROracle for Oracle version 9.2. When I am trying to use it with Oracle 10g I get the following error: con <- dbConnect(drv, "user/passwd at dbname"); Error in function (classes, fdef, mtable) : unable to find an inherited
2004 Oct 07
2
title in bold - simple question in R 1.9.0
Hi, how can i write this simple sentence : "Hello world" with "Hello" only in bold ? I try > plot(1:5) > title(main=paste(expression(bold("Hello")),"world",sep=" ")) but the result is wrong. thanks, Bruno Si vous n'etes pas destinataires de ce message, merci d'avertir l'expediteur de l'erreur de distribution et de le
2005 Nov 09
3
dataframe without repetition
Hello, with a data.frame like this : > toto <- data.frame(id=c("id1","id1","id2","id3","id3","id3"),dpt=c("13","13","34","30","30","30")) > toto id dpt 1 id1 13 2 id1 13 3 id2 34 4 id3 30 5 id3 30 6 id3 30 what is the most efficient ways to obtain : id
2020 May 15
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
I agree: paste(collapse="something", ...) should always return a single character string, regardless of the value of recycle0. This would be similar to when there are no non-NULL arguments to paste; collapse="." gives a single empty string and collapse=NULL gives a zero long character vector. > paste() character(0) > paste(collapse=", ") [1] "" Bill
2020 May 23
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
> On Friday, May 22, 2020, 6:16:45 PM EDT, Herv? Pag?s <hpages at fredhutch.org> wrote: > > Gabe, > > It's the current behavior of paste() that is a major source of bugs: > >?? ## Add "rs" prefix to SNP ids and collapse them in a >?? ## comma-separated string. >?? collapse_snp_ids <- function(snp_ids) >?????? paste("rs", snp_ids,
2020 May 24
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
On Sat, May 23, 2020 at 9:59 PM Herv? Pag?s <hpages at fredhutch.org> wrote: > On 5/23/20 17:45, Gabriel Becker wrote: > > Maybe my intuition is just > > different but when I collapse multiple character vectors together, I > > expect all the characters from each of those vectors to be in the > > resulting collapsed one. > > Yes I'd expect that too. But
2020 May 27
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
>>>>> Herv? Pag?s >>>>> on Tue, 26 May 2020 12:38:13 -0700 writes: > Hi Martin, On 5/26/20 06:24, Martin Maechler wrote: ... >> >> What about remaining back-compatible, not only to R 3.y.z >> with default recycle0=FALSE, but also to R 4.0.0 with >> recycle0=TRUE > What back-compatibility with R 4.0.0 are we
2003 Aug 17
2
collapse argument on paste
One gets a different response when abbreviating collapse= in paste? In the second case, it appears to be acting as if " + " is just another argument to be pasted. # expected response > paste(c("X","Y"),1:4,sep="",collapse=" + ") [1] "X1 + Y2 + X3 + Y4" # different! >
2020 May 02
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
>>>>> suharto anggono--- via R-devel >>>>> on Fri, 1 May 2020 03:05:37 +0000 (UTC) writes: > Without 'collapse', 'paste' pastes (concatenates) its arguments elementwise (separated by 'sep', " " by default). New in R devel and R patched, specifying recycle0 = FALSE makes mixing zero-length and nonzero-length arguments
2020 May 28
1
paste(character(0), collapse="", recycle0=FALSE) should be ""
>>>>> Martin Maechler >>>>> on Wed, 27 May 2020 13:35:44 +0200 writes: >>>>> Herv? Pag?s >>>>> on Tue, 26 May 2020 12:38:13 -0700 writes: >> Hi Martin, On 5/26/20 06:24, Martin Maechler wrote: ... >>> >>> What about remaining back-compatible, not only to R 3.y.z >>> with
2020 May 15
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
Hi all, This makes sense to me, but I would think that recycle0 and collapse should actually be incompatible and paste should throw an error if recycle0 were TRUE and collapse were declared in the same call. I don't think the value of recycle0 should be silently ignored if it is actively specified. ~G On Fri, May 15, 2020 at 11:05 AM Herv? Pag?s <hpages at fredhutch.org> wrote: >
2002 Feb 20
0
How to use libvorbisenc
Hi all, I am just coming in the mailing list.... ;-) I'm working on an Ripper/Encoder for GNUstep. At first sight, libvorbisogg seems to be the library that I needed. The problem for me is documentation. So I have a few question about this library : - in order to init an encoding process, we need to provide channels. Well, what does is mean ? - in order to init an encoding process, we need
2020 May 26
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
>>>>> Herv? Pag?s >>>>> on Sun, 24 May 2020 14:22:37 -0700 writes: > On 5/24/20 00:26, Gabriel Becker wrote: >> >> >> On Sat, May 23, 2020 at 9:59 PM Herv? Pag?s <hpages at fredhutch.org >> <mailto:hpages at fredhutch.org>> wrote: >> >> On 5/23/20 17:45, Gabriel Becker wrote:
2004 Jul 29
3
2 questions : format and hh:mm
Dear R-users, i have two questions : 1- first of all, i wish to know the way to obtain a serie with a format like "00" : ( "01","02","03","04"....) or like postal code ("01100","02222"). for instance, i do : > format(strptime(as.character(c(1:4)),"%H"),"%H") but it sounds complicate and not really
2009 Jan 23
0
RE: XEN limit
Hi all, Simple question, is there any limitations on XEN in terms of number of CPU sockets, cores, and memory ? For example HyperV has a limitation of 16 cores. Many thanks Konrad -------------------------------------------------------------------- Les informations contenues dans ce message et/ou ses annexes sont reservees a l''attention et a l''utilisation de leur
2020 May 26
2
paste(character(0), collapse="", recycle0=FALSE) should be ""
Hi Martin, On 5/26/20 06:24, Martin Maechler wrote: ... > > What about remaining back-compatible, not only to R 3.y.z with > default recycle0=FALSE, but also to R 4.0.0 with recycle0=TRUE What back-compatibility with R 4.0.0 are we talking about? The 'recycle0' arg was added **after** the R 4.0.0 release and has never been part of an official release yet. This is the time to
2020 May 24
2
paste(character(0), collapse="", recycle0=FALSE) should be ""
On 5/23/20 17:45, Gabriel Becker wrote: > Maybe my intuition is just > different?but when I collapse multiple character vectors together, I > expect?all the characters from each of those vectors to be in the > resulting collapsed one. Yes I'd expect that too. But the **collapse** operation in paste() has never been about collapsing **multiple** character vectors together.