[R] source vs. editor

About this list Date view Thread view Subject view Author view Attachment view

From: Anna H. Pryor (anna@ptolemy.arc.nasa.gov)
Date: Wed 18 Jun 2003 - 02:48:02 EST


Message-id: <200306170948.02834.anna@ptolemy.arc.nasa.gov>

When I am trying to use the source function to read in some lines of code, I
get an error. The code is simply a boxplot:

boxplot(s$fitness2weightedSum,s$OffNader10xWeightweightedSum,s$OffNader5xWeightweightedSum,main="weightedSum",col=8)
axis(1,at=seq(1,3,by=1),las=3,labels=c("fitness2","OffNader10xWeight","OffNader5xWeight))

The error I get is: Error in parse(file,n,text,prompt)

However, when I simply copy it in from my editor into R it works just fine.
Is there something obvious that I am doing wrong?

A.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:56 EST