prepending with env$ seems not so terrible.
Another form is:
with(e, ...stmt...) or
with(e, { ...stmt...; ...stmt...; ... })
where e is your environment.
On Tue, Jul 28, 2009 at 3:59 AM, Christian
Prinoth wrote:
> I have looked a bit more at this issue. Using new.env() I am able to put
> new vars
I have looked a bit more at this issue. Using new.env() I am able to put
new vars into the new environment by using the "env$..." syntax. This
allows to eliminate all variables in one step with "rm(env)", thus
fixing problem 2) in my original mail. Problem 1) though is unsolved, or
even worsened, s
Hi, I often work with R by writing long(ish) Excel-VBA macros
interspersed with calls to R via RExcel. A typical example of this would
be:
Sub VBAMacro()
'fetch some data from an excel sheet
'do some basic stuff on said data
'transfer data from vba to R
'run some R
Hi, I often work with R by writing long(ish) Excel-VBA macros
interspersed with calls to R via RExcel. A typical example of this would
be:
Sub VBAMacro()
'fetch some data from an excel sheet
'do some basic stuff on said data
'transfer data from vba to R
'run some R
4 matches
Mail list logo