All, I've coded a function and it works manually if I copy it line by line into R. However, when I try to "load" (copy and paste) the entire function into R, I get the following error after the listed line of code: + N.j.list = lapply(rej.hyp, length) Error: symbol print-name too long Does anyone you know what this error means? Strangely, when I copy the same line verbatim into R manually apart from the whole function, no error message results. I've checked the manuals and don't see anything RE print-name too long. I also tried google and saw an old message on this error message, but it doesn't seem to apply here. Thanks, Dave ps - please respond directly to dafshartous@yahoo.com please. David Afshartous, PhD University of Miami Department of Management Science School of Business Coral Gables, FL 33124 phone: 305-284-8005 [[alternative HTML version deleted]]
Have you received a reply or otherwise resolved this issue? If no, have you tried to construct the simplest possible example that comes to your mind. Sometimes in the course of trying that, I often figure out what the error message means. If you try this without getting the answer yourself, please send the resulting simple example to this list. If someone reading your email can copy a few lines of code from your message into R and get the same problem, you are more likely to get a quick, informative reply. (Please also specify which version of R on which platform.) spencer graves Afshartous, David wrote:> All, > > I've coded a function and it works manually if I copy it line by line into R. > However, when I try to "load" (copy and paste) the entire function into > R, I get the following error after the listed line of code: > > + N.j.list = lapply(rej.hyp, length) > Error: symbol print-name too long > > Does anyone you know what this error means? Strangely, when I copy the > same line verbatim into R manually apart from the whole function, > no error message results. > > I've checked the manuals and don't see anything RE print-name too long. I also > tried google and saw an old message on this error message, but it doesn't seem to > apply here. > > Thanks, > Dave > ps - please respond directly to dafshartous at yahoo.com please. > > > David Afshartous, PhD > University of Miami > Department of Management Science > School of Business > Coral Gables, FL 33124 > phone: 305-284-8005 > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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-- Spencer Graves, PhD Senior Development Engineer PDF Solutions, Inc. 333 West San Carlos Street Suite 700 San Jose, CA 95110, USA spencer.graves at pdf.com www.pdf.com <http://www.pdf.com> Tel: 408-938-4420 Fax: 408-280-7915
Spencer, Thanks for your reply. Yes, I finally resolved the issue. One of the archive e-mails on this topic suggested looking for a the symbol ' and I mistakenly searched for the symbol ` to no avail ... finally I found the symbol ' which was in a very inconspicuous place. Thanks, Dave -----Original Message----- From: Spencer Graves [mailto:spencer.graves at pdf.com] Sent: Tuesday, October 11, 2005 9:05 PM To: Afshartous, David Cc: r-help at stat.math.ethz.ch; dafshartous at yahoo.com Subject: Re: [R] "symbol print-name too long" Have you received a reply or otherwise resolved this issue? If no, have you tried to construct the simplest possible example that comes to your mind. Sometimes in the course of trying that, I often figure out what the error message means. If you try this without getting the answer yourself, please send the resulting simple example to this list. If someone reading your email can copy a few lines of code from your message into R and get the same problem, you are more likely to get a quick, informative reply. (Please also specify which version of R on which platform.) spencer graves Afshartous, David wrote:> All, > > I've coded a function and it works manually if I copy it line by line into R. > However, when I try to "load" (copy and paste) the entire function into > R, I get the following error after the listed line of code: > > + N.j.list = lapply(rej.hyp, length) > Error: symbol print-name too long > > Does anyone you know what this error means? Strangely, when I copy the > same line verbatim into R manually apart from the whole function, > no error message results. > > I've checked the manuals and don't see anything RE print-name too long. I also > tried google and saw an old message on this error message, but it doesn't seem to > apply here. > > Thanks, > Dave > ps - please respond directly to dafshartous at yahoo.com please. > > > David Afshartous, PhD > University of Miami > Department of Management Science > School of Business > Coral Gables, FL 33124 > phone: 305-284-8005 > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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-- Spencer Graves, PhD Senior Development Engineer PDF Solutions, Inc. 333 West San Carlos Street Suite 700 San Jose, CA 95110, USA spencer.graves at pdf.com www.pdf.com <http://www.pdf.com> Tel: 408-938-4420 Fax: 408-280-7915