Re: [R] Textpad help

From: Daniel Nordlund <res90sx5_at_verizon.net>
Date: Tue, 12 Jun 2007 01:06:19 -0700


> -----Original Message-----
> From: r-help-bounces_at_stat.math.ethz.ch [mailto:r-help-bounces_at_stat.math.ethz.ch]
> On Behalf Of Mary Royerr
> Sent: Monday, June 11, 2007 8:14 PM
> To: r-help_at_stat.math.ethz.ch
> Subject: Re: [R] Textpad help
>
> Thx for the response John and Jim.
>
> I had heard before that textpad is a good editor for R codes and one can run
> the R code from textpad itself and once we do that, the output is displayed
> on the textpad itself. The reason I wanted to use textpad is to make use of
> the syntax highlighting a la SAS.
>
> So I installed textpad and according to the instructions given in
> http://www.data-for-all.com/blog/?p=68 . everything worked out fine until
> I ran the following test code:
>
>
> *setwd('C:/Temp/SampleR')
> #
> N<-250
> x<-1:N
> y<-0.53*x +rnorm(x, 0.42*N, 0.14*N)
> model1<-lm(y~x)
> print(summary(model1)) *
>
> Once I submitted the R code using the SUBMIT R FILE in TOOLS from the
> toolbar menu the following message displayed.
>
>
> The filename, directory name, or volume label syntax is incorrect.
>
> Tool completed with exit code 1
>
>
>
> Now even If I run a simple code like *a<-10;a* still the same message is
> displayed.
>
>
>
> I am kind of sure it is nothing wrong with the code but something is wrong
> with the way the textpad installation. Any help? I am not a techie person.
>
> Thx for your help
>
> On 6/11/07, Mary Royerr <mroyerr_at_gmail.com> wrote:
> >
> > I have installed textpad and tried running R code. But it gives me the
> > following error message.
> >
> >
> >
> > The filename, directory name, or volume label syntax is incorrect.
> >
> > Tool completed with exit code 1
> >

Mary,

I use Textpad to run both SAS code and R code in batch mode without problems. I looked at the instructions that you referenced and noticed a couple of potential problems with the instructions. I was able to correct the set-up and successfully run the sample program from the web site. However, I use a different set up because I prefer to send output to a file that I can then open in another Textpad window, rather than "capturing" the output. Since this is not an R problem, if you contact me off-list I would be happy to give you detailed instructions on how to set up Textpad running R code in batch mode.

Dan

Daniel Nordlund
Bothell, WA USA



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 12 Jun 2007 - 08:15:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Jun 2007 - 08:31:52 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.