Skip to content
Back to formatted view

Raw Message

Message-ID: <AANLkTimZvMMReniFaZzw_UwmuMbFDurLt6Kf3ysEBv4_@mail.gmail.com>
Date: 2010-10-06T16:32:09Z
From: Ralf B
Subject: Create variable by name

Can one create a variable through a function by name

createVariable <- function(name) {
	outputVariable = name
	name <- NULL
}

after calling

createVariable("myVar")

I would like to have a variable myVar initialized with NULL in my
environment. Is this possible?

Ralf