[R] SAS like Macro variable substituion?

2010-04-12 Thread David Young
it can use the paste function. save((paste(unislopes,master.i,sep=),file=paste(unislopes,master.i,.Rdata,sep=)) Any ideas? -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http://www.linkedin.com/in/europedavidyoung

[R] Using a function to consolidate variables

2010-03-18 Thread David Young
Dear List, I'm getting the error: object of type 'closure' is not subsettable And am not sure how to get around the problem. I've included two short code sets below. One that shows what I want to do and works, but without using the function much, and another that tries to use the function but

[R] ifelse logic and multiple assignments

2010-03-10 Thread David Young
I'm a fairly new R user and while I have a solution to my problem I'm wondering if there is a better one. In SAS it's common to use if/then logic along with a do statement to make several things happen. While I could do the same thing in R using a for loop, and if and {}, I've read that loops

[R] ifelse logic and multiple assignments

2010-03-10 Thread David Young
I'm a fairly new R user and while I have a solution to my problem I'm wondering if there is a better one. In SAS it's common to use if/then logic along with a do statement to make several things happen. While I could do the same thing in R using a for loop, and if and {}, I've read that loops

[R] Lost all script

2009-10-28 Thread David Young
: Anybody know why it saved blank space as the new script? Thanks for any advice. A humble, and humbled, new R user. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http://www.linkedin.com/in/europedavidyoung mailto:dyo

[R] Removing Embedded Null characters from text/html

2009-10-15 Thread David Young
download.file ( theurl , destfile , quiet = TRUE ) # WHICH LEAVES ME WITH JUST IDENTIFYING WHAT CHARACTER IS CAUSING THE # PROBLEM AND THEN GETTING RID OF IT. I'd appreciate any advice. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http

[R] Removing Embedded Null characters from text/html

2009-10-14 Thread David Young
download.file ( theurl , destfile , quiet = TRUE ) # WHICH LEAVES ME WITH JUST IDENTIFYING WHAT CHARACTER IS CAUSING THE # PROBLEM AND THEN GETTING RID OF IT. I'd appreciate any advice. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http

[R] Macro variable substitution

2009-09-29 Thread David Young
suggestions would be appreciated. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http://www.linkedin.com/in/europedavidyoung __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Basic function output/scope question

2009-09-22 Thread David Young
Thanks Erik, Schalk, Patrick, and David for you helpful advice. I hope I'll, at some point, I'll become versed enough in R to return the favor. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http://www.linkedin.com/in/europedavidyoung Monday

[R] Basic function output/scope question

2009-09-21 Thread David Young
of a function variable using the R equivalent of a %global statement as would be done in SAS. Can someone tell me either where I can look for more information or how to make x and y accessible to operations after the function is run? Thanks in advance for any suggestions. -- Best regards, David Young

[R] JGR install and run question

2009-09-17 Thread David Young
with Vista? Thanks in advance for any comments. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http://www.linkedin.com/in/europedavidyoung __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] JGR install and run question

2009-09-17 Thread David Young
with Vista? Thanks in advance for any comments. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http://www.linkedin.com/in/europedavidyoung __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] SAS Macro Variable in R

2009-06-23 Thread David Young
://ichart.yahoo.com/table.csv?s=TEF.MCa=00b=1c=2003d=05e=23f=2009g=dignore=.csv', 'c:\\projects\\stock data\\data\\test.csv',quiet=TRUE) As you can see the text I want to change is within the quoted Internet address. Is this possible in R? Thanks in advance for any assistance. -- Best regards, David Young

Re: [R] Help - linear regression

2008-01-25 Thread David Young
[[alternative HTML version deleted]] -- Best regards, David Young mailto:[EMAIL PROTECTED] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org