You haven't said what, exactly, "doesn't execute properly" means (please read the posting guide).
At a guess, you need to put print() around the expressions whose output you aren't seeing. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 3/5/14 6:19 AM, "Milton O Faison" <mfai...@vsu.edu> wrote: >I have a script that works fine if I copy the whole thing from from a >text editor and paste it into R, but doesn't execute properly if the file >is called by the source command. Any clues on how to fix this? I can post >the script if necessary. > >o > >M. Omar Faison, PhD >Director, Office of Sponsored Programs and Research >Virginia State University >804-631-3330 >http://twitter.com/omarfaison > >________________________________ >³The information in this email and any attachments may be confidential >and privileged. Access to this email by anyone other than the intended >addressee is unauthorized. If you are not the intended recipient (or the >employee or agent responsible for delivering this information to the >intended recipient) please notify the sender by reply email and >immediately delete this email and any copies from your computer and/or >storage system. The sender does not authorize the use, distribution, >disclosure or reproduction of this email (or any part of its contents) by >anyone other than the intended recipient(s). > >No representation is made that this email and any attachments are free of >viruses. Virus scanning is recommended and is the responsibility of the >recipient.² > > [[alternative HTML version deleted]] > ______________________________________________ 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/posting-guide.html and provide commented, minimal, self-contained, reproducible code.