For what it's worth (perhaps little...), I would normally do
for (pn in pathnames) source(pn)
It's clearer to read and won't return a strange value. I doubt there will
be a noticeable difference in speed. It can easily be extended to be more
informative, as in
for (pn in pathnames) {
cat('--- n
I can't immediately see it in the help text but it seems that source
returns a list with two named elements; value and visible.
I surmise that it is returned using withVisible (qv).
KJ
On 29/07/2016 13:26, jim holtman wrote:
Hard to tell without seeing the scripts. Do you have a matrix in yo
Dear Frank,
What you see isn't a "message" but the result returned by sapply(). The ?s
indicate that sapply() didn't know what to do with the corresponding element.
In an individual use of source(), the result, a 2-element list, is returned
invisibly, so you don't see it.
To see what's going
Hard to tell without seeing the scripts. Do you have a matrix in your
scripts that have "value" and "visible" as row names? You probably have
some statement that is causing output and so the problem is "your" as to
how to avoid the message. So look at your scripts to see if anything
refers to ei
4 matches
Mail list logo