Skip to content

Problem sourcing file

11 messages · Duncan Murdoch, Jeff Newmiller, Uwe Ligges +1 more

#
On 25/05/2012 10:08 AM, Marta Tol?s wrote:
Those aren't proper quotes, and source() shouldn't be capitalized, and 
you didn't tell us what version of R you are using.

Duncan Murdoch
#
What isn't proper about single quotes?
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
Duncan Murdoch <murdoch.duncan at gmail.com> wrote:

            
#
On 25/05/2012 2:17 PM, Jeff Newmiller wrote:
They look like directional quotes to me.  Might just be the mailer...

Duncan Murdoch
#
On 25.05.2012 20:17, Jeff Newmiller wrote:
Those were *directed* quotes.

Uwe Ligges
#
Ah, my default font makes that distinction too subtle. Action item for me, then, to change fonts.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
Duncan Murdoch <murdoch.duncan at gmail.com> wrote:

            
1 day later
#
On 12-05-27 2:10 PM, Reza Salimi-Khorshidi wrote:
You should upgrade to the current release, or at least to 2.14.2.

Duncan Murdoch
#
The source function is quite convenient for invoking a set of R commands that have already been debugged. It is pretty worthless for troubleshooting. You need to step through those commands one at a time, then do it again, to see which command triggers this error.

My response to the last version of this query stands... what is in "~/Documents/myFile.R"?
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
Reza Salimi-Khorshidi <reza at fmrib.ox.ac.uk> wrote:

            
#
On 12-05-27 3:25 PM, Jeff Newmiller wrote:
source() is fine for troubleshooting:  just use the echo=TRUE option, 
and you'll see when it fails.  In 2.15.0-patched, it can even report the 
line of the source file that caused the problem.

Reza was bitten by a bug in 2.14.0, that's all.

Duncan Murdoch