[R] SAS like Macro variable substituion?

2010-04-12 Thread David Young
eference using the suffix "1". The second part requires text so it can use the paste function. save((paste("unislopes",master.i,sep=""),file=paste("unislopes",master.i,".Rdata",sep="")) Any ideas? -- Best regards, David

[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 ca

[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 loo

[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 loo

[R] Lost all script

2009-10-28 Thread David Young
know: 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 mailt

[R] Removing Embedded Null characters from text/html

2009-10-15 Thread David Young
E COPIES THE PROBLEMATIC PAGE TO MY COMPUTER destfile<-"file:///C:/projects/stock data/data/test.htm" 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

[R] Removing Embedded Null characters from text/html

2009-10-14 Thread David Young
E COPIES THE PROBLEMATIC PAGE TO MY COMPUTER destfile<-"file:///C:/projects/stock data/data/test.htm" 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

[R] Macro variable substitution

2009-09-29 Thread David Young
read.table(TEF.csv, header=TRUE,sep=",") but I'd like to type the changing letter sequence just once. Any suggestions would be appreciated. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http://www.linkedin.com/in/europedavidy

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

[R] Basic function output/scope question

2009-09-21 Thread David Young
e function, or change the scope 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 sugg

[R] JGR install and run question

2009-09-17 Thread David Young
on R 2.9.2 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://st

[R] JGR install and run question

2009-09-17 Thread David Young
on R 2.9.2 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://st

[R] SAS Macro Variable in R

2009-06-23 Thread David Young
his possible in R? Thanks in advance for any assistance. -- Best regards, David Young Marketing and Statistical Consultant Madrid, Spain +34 913 540 381 http://www.linkedin.com/in/europedavidyoung mailto:dyo...@telefonica.net ___

Re: [R] Help - linear regression

2008-01-25 Thread David Young
ur favorite cause is as easy as instant messaging. You IM, we give. TB> [[alternative HTML version deleted]] -- Best regards, David Young mailto:[EMAIL PROTECTED] __ R-help@r-project.org mailing list https:/