[R] sourcearg function is there a better way already built into R

2012-03-06 Thread Robert Sandefur
Hi list: I work with a lot of laboratory analytical data and I often have inconsistent names of files and variables within those files so I wrote this sourcearg function to facilitate handling file and variable names as both character and R names. The source of the function is given below

Re: [R] sourcearg function is there a better way already built into R

2012-03-06 Thread jim holtman
The basic question is what do you want the function to do. It seems convoluted and I am not sure exactly what you are giving it as input and what you expect as output. Not exactly sure of what the 'sink' and 'source' are supposed to do. So tell me what you want to do, not how you want to do it.

Re: [R] sourcearg function is there a better way already built into R

2012-03-06 Thread Robert Sandefur
List and Jim -Original Message- From: jim holtman [mailto:jholt...@gmail.com] Sent: Tuesday, March 06, 2012 09:47 To: Robert Sandefur Cc: r-help@r-project.org Subject: Re: [R] sourcearg function is there a better way already built into R The basic question is what do you want

Re: [R] sourcearg function is there a better way already built into R

2012-03-06 Thread Robert Sandefur
- From: jim holtman [mailto:jholt...@gmail.com] Sent: Tuesday, March 06, 2012 09:47 To: Robert Sandefur Cc: r-help@r-project.org Subject: Re: [R] sourcearg function is there a better way already built into R The basic question is what do you want the function to do. It seems convoluted and I am

Re: [R] sourcearg function is there a better way already built into R

2012-03-06 Thread Bert Gunter
...@gmail.com] Sent: Tuesday, March 06, 2012 09:47 To: Robert Sandefur Cc: r-help@r-project.org Subject: Re: [R] sourcearg function is there a better way already built into R The basic question is what do you want the function to do.  It seems convoluted and I am not sure exactly what you are giving