Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Call R from Perl

Received: by 10.103.175.9 with SMTP id c9mr13114mup.26.1241591632452;
        Tue, 05 May 2009 23:33:52 -0700 (PDT)
Return-Path: <r-help-boun...@r-project.org>
Received: from hypatia.math.ethz.ch (hypatia.math.ethz.ch [129.132.145.15])
        by gmr-mx.google.com with ESMTP id d8si367182fga.6.2009.05.05.23.33.52;
        Tue, 05 May 2009 23:33:52 -0700 (PDT)
Received-SPF: neutral (google.com: 129.132.145.15 is neither permitted nor denied by best guess record for domain of r-help-boun...@r-project.org) client-ip=129.132.145.15;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 129.132.145.15 is neither permitted nor denied by best guess record for domain of r-help-boun...@r-project.org) smtp.mail=r-help-boun...@r-project.org; dkim=neutral (body hash did not verify) header...@gmail.com
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 n466WqPm014362;
	Wed, 6 May 2009 08:33:43 +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=-4.0 required=5.0 tests=DKIM_SIGNED, DKIM_VERIFIED,
	HTML_MESSAGE,
	RCVD_IN_DNSWL_MED autolearn=unavailable version=3.2.5
Received: from phil3.ethz.ch (phil3.ethz.ch [129.132.202.239])
	by hypatia.math.ethz.ch (8.14.1/8.14.1) with ESMTP id n466W5Mj013183
	for <r-h...@r-project.org>; Wed, 6 May 2009 08:32:45 +0200
Received: from mail-gx0-f159.google.com ([209.85.217.159])
	by phil3.ethz.ch with esmtp (Exim 4.66)
	(envelope-from <dfer...@gmail.com>) id 1M1afj-0000sE-BN
	for r-h...@r-project.org; Wed, 06 May 2009 08:32:06 +0200
Received: by gxk3 with SMTP id 3so3798407gxk.22
	for <r-h...@r-project.org>; Tue, 05 May 2009 23:31:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:from:date:message-id
	:subject:to:content-type;
	bh=rOq/1qfSyN2IJVB2v/SKG7XSdkSwYBYHwYFdgdtBk1I=;
	b=xdIclSE++6ep6d9pOjOVtHrqZ2W9qayfh/AiO7c42wE65w6QHY2PPfbA29RAqZpNIp
	GBEgNzqUNyu4qz8m2faD7zaFK222LtRZf64u0P5GavieOEw+qBvZlJh96d8PoNCSqwdM
	zmlArpeL1PP8K8cNfdGGlQPPf87C9wVj44i9U=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:from:date:message-id:subject:to:content-type;
	b=EvDXr4bLQelSKASimttTmBESG8o6lc0vfAUQ6byMcnReA8Jef+vINlWnQisqgyI+Mv
	/A+kZgpLBgEkF6w3YoFujAJMkZTFlsGoZW5NXHLFcVyjVh5Q6BGG4jCyqbD9h41JXoA3
	OmScZ/KnXTtERUq1gxGDundvGElkdI8tu+srs=
MIME-Version: 1.0
Received: by 10.231.34.66 with SMTP id k2mr432025ibd.17.1241591492111; Tue, 05 
	May 2009 23:31:32 -0700 (PDT)
From: Daniel Fernandez <dfer...@gmail.com>
Date: Wed, 6 May 2009 02:31:12 -0400
Message-ID: <84e5c4fd0905052331r7d84037fx4528985d9ccb3...@mail.gmail.com>
To: r-h...@r-project.org
X-Tag-Only: YES
X-Filter-Node: phil3.ethz.ch
X-USF-Spam-Level: --
X-USF-Spam-Status: hits=-2.0 tests=BAYES_00, DNS_FROM_RFC_POST, HTML_30_40,
	HTML_MESSAGE
X-USF-Spam-Flag: NO
X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
Content-Disposition: inline
Subject: [R] Call R from Perl
X-BeenThere: r-h...@r-project.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: "Main R Mailing List: Primary help" <r-help.r-project.org>
List-Unsubscribe: <https://stat.ethz.ch/mailman/options/r-help>,
	<mailto:r-help-requ...@r-project.org?subject=unsubscribe>
List-Archive: <https://stat.ethz.ch/pipermail/r-help>
List-Post: <mailto:r-h...@r-project.org>
List-Help: <mailto:r-help-requ...@r-project.org?subject=help>
List-Subscribe: <https://stat.ethz.ch/mailman/listinfo/r-help>,
	<mailto:r-help-requ...@r-project.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: r-help-boun...@r-project.org
Errors-To: r-help-boun...@r-project.org

Hi,
I am trying to call R in my perl program but is not working. It does not
give an error but my program gets stuck indefinitely.

I am using the following command to call R from Perl

`R BATCH regressExpr.spl temp`;

Any suggestions?

Best,

Daniel F.

	[[alternative HTML version deleted]]

______________________________________________
R-h...@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.