Skip to content
Back to formatted view

Raw Message

Message-ID: <4EB8E89A.60204@pcteor1.mi.infn.it>
Date: 2011-11-08T08:30:18Z
From: Matteo Giani
Subject: R-bash beginner
In-Reply-To: <SNT116-W333757E042CBF219C1A05EC6D90@phx.gbl>

On 11/07/2011 05:17 PM, David A. wrote:
> Hi,
>
> I am trying to run some R commands into my bash scripts and want to use shell variables in the R commands and store the output of R objects into shell variables for further usage in downstream analyses. So far I have managed the first, but how to get values out of R script? I am using  "here documents" (as a starter, maybe something else is simpler or better; suggestions greatly appreciated).
>
hi,

maybe this can be helpful:

http://rwiki.sciviews.org/doku.php?id=tips:scriptingr


I personally didn't manage to successfully write a 'fully functional' 
script, though, because of quoting troubles and so on.

best regards,

-- 
Matteo Giani