[R] print variables values within c(" ")

Liaw, Andy andy_liaw at merck.com
Tue Jul 20 14:36:32 CEST 2004


> From: Dimitris Rizopoulos
> 
> Hi Rado,
> 
> dou want something like,
> 
> paste("select", names(dataframe1), "from my table")

If so, I suspect it probably should be

paste("select", paste(dataframe1), collapse=","), "from mytable")

Andy


 
> I hope this helps.
> 
> Best,
> Dimitris
> 
> ----
> Dimitris Rizopoulos
> Doctoral Student
> Biostatistical Centre
> School of Public Health
> Catholic University of Leuven
> 
> Address: Kapucijnenvoer 35, Leuven, Belgium
> Tel: +32/16/396887
> Fax: +32/16/337015
> Web: http://www.med.kuleuven.ac.be/biostat/
>      http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm
> 
> 
> ----- Original Message ----- 
> From: "Rado Bonk" <rado.bonk at jrc.it>
> To: <r-help at stat.math.ethz.ch>
> Sent: Tuesday, July 20, 2004 2:25 PM
> Subject: [R] print variables values within c(" ")
> 
> 
> > Dear R-users;
> >
> > I would like to print some variable values within the text in " ".
> >
> > Ex: q1 <- c("select" names(dataframe1) "from my table")
> >                        ^^^^^^^^^^^^^^^^^
> > How to use R objects names within the quotes?
> >
> > Also, is there package which can put some longer text on multipage
> > graphics? such as some table, or simple data summary. text() is too
> > complicated for longer texts with breaklines.
> >
> > Thanks,
> >
> >
> > Rado Bonk
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list