[From nobody Thu Oct 23 23:03:51 2008
Received: from mail144.messagelabs.com (216.82.254.51) by
	767M-CAHT.goldbox.com (192.168.110.215) with Microsoft SMTP Server id
	8.1.291.1; Thu, 23 Oct 2008 14:28:36 -0400
X-VirusChecked: Checked
X-Env-Sender: r-help-bounces@r-project.org
X-Msg-Ref: server-4.tower-144.messagelabs.com!1224786513!81419004!1
X-StarScan-Version: 5.5.12.14.2; banners=-,-,-
X-Originating-IP: [129.132.145.15]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
Received: (qmail 14973 invoked from network); 23 Oct 2008 18:28:35 -0000
Received: from hypatia.math.ethz.ch (HELO hypatia.math.ethz.ch)
	(129.132.145.15) by server-4.tower-144.messagelabs.com with AES256-SHA
	encrypted SMTP; 23 Oct 2008 18:28:35 -0000
Received: from hypatia.math.ethz.ch (hypatia [129.132.145.15])	by
	hypatia.math.ethz.ch (8.14.1/8.14.1) with ESMTP id m9NIRtiV001398;
	Thu, 23 Oct 2008 20:28:15 +0200
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on hypatia.math.ethz.ch
X-Spam-Level: 
X-Spam-Status: No, score=-2.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED,
	DKIM_VERIFIED, HTML_MESSAGE, RCVD_IN_DNSWL_MED,
	WHOIS_MYPRIVREG autolearn=unavailable version=3.2.5
Received: from phil1.ethz.ch (phil1.ethz.ch [129.132.202.242])	by
	hypatia.math.ethz.ch (8.14.1/8.14.1) with ESMTP id m9NI4kSm017071	for
	&lt;r-help@r-project.org&gt;; Thu, 23 Oct 2008 20:04:47 +0200
Received: from wa-out-1112.google.com ([209.85.146.180])	by phil1.ethz.ch with
	esmtp (Exim 4.66)	(envelope-from &lt;wwwhsd@gmail.com&gt;) id
	1Kt4YA-0002iZ-5A	for
	r-help@r-project.org; Thu, 23 Oct 2008 20:04:48 +0200
Received: by wa-out-1112.google.com with SMTP id j37so253652waf.22	for
	&lt;r-help@r-project.org&gt;; Thu, 23 Oct 2008 11:04:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:cc:in-reply-to:mime-version:content-type:references;
	bh=xQOGntQURVwyHQQ31U2AcI+yIwzw4vrd4MBPKxXBWr8=;
	b=GJoNJcPPES2uqGoaOsZkbEFnvRK0uQzsy7xTUc2MOPv3ztKHmarPd7lpH4mkxGjm7G
	0k117wKBfoTGNrlt64b27Wf1K/lGWd33JHObM8FB8L2SuWeFPpzjBOHJvlr+QTAlQhdE
	zyrP7I7QlwHeqM0slDTxJ0XuQVbYo4MFOfMoo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
	:content-type:references;
	b=Rh1hbPNF17RQKxAzxoZbCQBCGyax+cuoOf0iyZ1LAN0pKe47iuVjQ7xrXrG2Kp5Ypd
	/S9iR0BdDCf7qkSRuOR9oRhzlHq+Myb6+GmqsHGuUNWZ+5bLDt3oHAg5E6rf6xpV0hi7
	aAcxz35M/y710h+tHLTfu1ffNn9ImdGWjt5vE=
Received: by 10.115.33.1 with SMTP id l1mr957843waj.115.1224785078786; Thu, 23
	Oct 2008 11:04:38 -0700 (PDT)
Received: by 10.114.241.13 with HTTP; Thu, 23 Oct 2008 11:04:38 -0700 (PDT)
Message-ID: &lt;da79af330810231104n77d3569fie323f044e9877361@mail.gmail.com&gt;
Date: Thu, 23 Oct 2008 16:04:38 -0200
From: Henrique Dallazuanna &lt;wwwhsd@gmail.com&gt;
To: megh &lt;megh700004@yahoo.com&gt;
In-Reply-To: &lt;20136201.post@talk.nabble.com&gt;
MIME-Version: 1.0
References: &lt;20136201.post@talk.nabble.com&gt;
X-USF-Tag-Only: YES
X-USF-Filter-Node: phil1.ethz.ch
X-USF-Spam-Level: *
X-USF-Spam-Status: hits=1.1 tests=BAYES_00, DNS_FROM_RFC_POST, EZ_IMG_ENG,
	HTML_40_50, HTML_MESSAGE
X-USF-Spam-Flag: NO
X-USF: 
X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
CC: &lt;r-help@r-project.org&gt;
Subject: Re: [R] VEC Operator in R
X-BeenThere: r-help@r-project.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: &quot;Main R Mailing List: Primary help&quot; &lt;r-help.r-project.org&gt;
List-Unsubscribe: &lt;https://stat.ethz.ch/mailman/options/r-help&gt;,
	&lt;mailto:r-help-request@r-project.org?subject=unsubscribe&gt;
List-Archive: &lt;https://stat.ethz.ch/pipermail/r-help&gt;
List-Post: &lt;mailto:r-help@r-project.org&gt;
List-Help: &lt;mailto:r-help-request@r-project.org?subject=help&gt;
List-Subscribe: &lt;https://stat.ethz.ch/mailman/listinfo/r-help&gt;,
	&lt;mailto:r-help-request@r-project.org?subject=subscribe&gt;
Content-Type: multipart/mixed;
	boundary=&quot;_6f14beb9-8ce3-43ac-9777-0e791a971147_&quot;
Sender: &lt;r-help-bounces@r-project.org&gt;
Errors-To: r-help-bounces@r-project.org
Return-Path: r-help-bounces@r-project.org
X-MS-Exchange-Organization-OriginalArrivalTime: 23 Oct 2008 18:28:36.1173 (UTC)
X-MS-Exchange-Organization-AuthSource: 767M-CAHT.goldbox.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-OriginalSize: 5516
X-MS-Exchange-Organization-Recipient-Limit-Verified: True

--_6f14beb9-8ce3-43ac-9777-0e791a971147_
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-length: 983

I think you can use as.vector

On Thu, Oct 23, 2008 at 3:47 PM, megh &lt;megh700004@yahoo.com&gt; wrote:

&gt;
&gt; Can anyone please tell whether there is any R function to act as &quot;VEC&quot; and
&gt; &quot;VECH&quot; operator on Matrix? Yes of course, I can write a
&gt; user-defined-function for that or else, I can put dim(mat) &lt;- NULL. Howev=
er
&gt; I am looking for some R function.
&gt;
&gt; Your help will be highly appreciated.
&gt;
&gt; Regards,
&gt; --
&gt; View this message in context:
&gt; http://www.nabble.com/VEC-Operator-in-R-tp20136201p20136201.html
&gt; Sent from the R help mailing list archive at Nabble.com.
&gt;
&gt; ______________________________________________
&gt; R-help@r-project.org mailing list
&gt; https://stat.ethz.ch/mailman/listinfo/r-help
&gt; PLEASE do read the posting guide
&gt; http://www.R-project.org/posting-guide.html
&gt; and provide commented, minimal, self-contained, reproducible code.
&gt;



--=20
Henrique Dallazuanna
Curitiba-Paran=E1-Brasil
25=B0 25' 40&quot; S 49=B0 16' 22&quot; O

	[[alternative HTML version deleted]]


--_6f14beb9-8ce3-43ac-9777-0e791a971147_
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

--_6f14beb9-8ce3-43ac-9777-0e791a971147_--
]