Those are continuation line prompts. Most likely your file exceeds the
allowed line length for R script (1000 bytes is safe).
On Wed, 3 Sep 2008, Hanneke van Deutekom wrote:
>
>
> Hello,
>
> my test.R file contains two huge arrays (>3000 entries), from which R
needs to calculate the Pearson Correlation, if I look at the file the numbers
look correct.
> if I run R
>
> R < test.R --no-save
>
> I see things like this:
> 0.723, 0.838, 1.002, 0.364, 0.357, 0.227, 0.982+ , 0.963, 0.535, 1.214,
1.270, 0.832, 1.033, 0.632, 2.482, 1.239, 0.743, 1.077, 0.962, 1.052, 1.075,
1.427, 1.395, 0.625, 1.272, 1.151, 0.749, 1.281, 1.110, 0.327, 1.953, 0.806,
1.291, 0.597, 1.000, 0.715, 1.078, 0.888,+ 0.809, 0.946, 1.293, 0.852, 0.817,
2.396, 1.362, 1.545, 0.859,+ 0.639, 0.780, 1.131, 0.719, 0.595, 1.203, 0.017,
7.343, 0.310, 3.952, 1.014, 1.109, 1.285, 0.628, 1.017, 3.954, 1.009, 0.831,
1.617,
> R puts "+" with the numbers, they do not appear in the test.R
file, so I have no clue where R gets them from and how I can get rid of it..
> at least R cannot calculate anything with these +'s in my array!
>
> what's going wrong??
>
> best,
> Hanneke
>
>
>
> _________________________________________________________________
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595