On Sep 3, 2013, at 7:19 AM, Matt Strauser wrote:
> I have several data frames containing similar data. I'd like to pass these
> data frames to a function for processing. The function would create newly
> named "global" data frames containing the processed data. I cannot figure
> out how to assign
This is FAQ 7.21.
The most important part of that FAQ is at the end where it says it is best
not to do this and better to use lists. Having a function create
(overwrite) objects in the global environment is dangerous and can lead to
hard to find bugs. It would be better to have your function ret
13 18 20 14 15 7 14 12
#5 12 5 4 8 13 4 10 2 2 13
A.K.
- Original Message -
From: Matt Strauser
To: r-help@r-project.org
Cc:
Sent: Tuesday, September 3, 2013 10:19 AM
Subject: [R] How to assign names to global data frames created in a function
I have several data frames contai
I have several data frames containing similar data. I'd like to pass these
data frames to a function for processing. The function would create newly
named "global" data frames containing the processed data. I cannot figure
out how to assign names to the data frames in Step 1 or Step 2 in the
follow
4 matches
Mail list logo