Re: [R] Missing information in source()

2017-11-08 Thread Tom Backer Johnsen
Hello Thank you all for most useful responses. I was looking for answers in the wrong place, that is why I have not responded before! Tom Backer Johnsen > On 7 Nov 2017, at 21:25, Rui Barradas wrote: > > Hello, > > Try > > print(head(...)) > > Hope this helps, > > Rui Barradas > > Em 07

Re: [R] Missing information in source()

2017-11-07 Thread Rui Barradas
Hello, Try print(head(...)) Hope this helps, Rui Barradas Em 07-11-2017 20:01, Tom Backer Johnsen escreveu: Dear R-help, I am running a Mac under Sierra, with R version 3.4.2 and RStudio 1.1.383. When running head () or tail () on an object in a script using source (

Re: [R] Missing information in source()

2017-11-07 Thread Daniel Nordlund
On 11/7/2017 12:01 PM, Tom Backer Johnsen wrote: Dear R-help, I am running a Mac under Sierra, with R version 3.4.2 and RStudio 1.1.383. When running head () or tail () on an object in a script using source (

Re: [R] Missing information in source()

2017-11-07 Thread Duncan Murdoch
On 07/11/2017 3:01 PM, Tom Backer Johnsen wrote: Dear R-help, I am running a Mac under Sierra, with R version 3.4.2 and RStudio 1.1.383. When running head () or tail () on an object in a script using source (

Re: [R] Missing information in source()

2017-11-07 Thread William Dunlap via R-help
Either change your script by adding print(...) calls where you want to see something printed or change the call to source() by adding print.eval=TRUE or echo=TRUE. E.g., > cat(file = tf <- tempfile(), "head(10:1)\ntail(letters)\nx <- gamma(0:4)\nx\n") > source(tf) Warning message: In gamma(0:4)

[R] Missing information in source()

2017-11-07 Thread Tom Backer Johnsen
Dear R-help, I am running a Mac under Sierra, with R version 3.4.2 and RStudio 1.1.383. When running head () or tail () on an object in a script using source (