Thanks a lot. That works. I had no clue that the '\n' was still active and
I could use cat to see the result.
On Mon, Nov 17, 2008 at 3:58 PM, Oliver Bandel <[EMAIL PROTECTED]>wrote:
> slurpy gmail.com> writes:
>
> >
> >
> > Win xp sp2, R v2.7.1
> > Hi. If I have two numeric columns in a data
slurpy gmail.com> writes:
>
>
> Win xp sp2, R v2.7.1
> Hi. If I have two numeric columns in a data frame, I can use the paste
> command to combine them into a new column separated by a comma.
> c3=paste(c1,c2,sep=',')
> gives: 1 1 -> "1,1"
> Is there any way I can use a new line (\n) as a sepa
Dear slurpy,
Perhaps:
cat('', 1,'\n', 1,'\n')
See ?cat for more information.
HTH,
Jorge
On Mon, Nov 17, 2008 at 3:03 PM, slurpy <[EMAIL PROTECTED]> wrote:
>
> Win xp sp2, R v2.7.1
> Hi. If I have two numeric columns in a data frame, I can use the paste
> command to combine them into a new c
3 matches
Mail list logo