You really have not given us much to go on. An example of the code that you were trying to run would be a great help (as it says down below : PLEASE do read the posting guide. The point about code is important.
However the first thing to check is your file path. This is my first guess anyway.
Here is the entry in the R FAQ
Thus, in filenames use something like
"c:\\data\\money.dat". You can also replace `\' by `/' ("c:/data/money.dat").
I am not familiar with textpad but you might want to have a look at tinn-r which is very closely integrated with R as an alternative editor
> 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
> Can you provide any help? I am not a technical
> person. So the help in detail
> will be appreciated.
> [[alternative HTML version deleted]]
> R-help_at_stat.math.ethz.ch mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained,
> reproducible code.
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Archive generated by hypermail 2.2.0, at Mon 11 Jun 2007 - 10:31:50 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.