[R] Problem sourcing file
Duncan Murdoch
murdoch.duncan at gmail.com
Fri May 25 19:21:48 CEST 2012
On 25/05/2012 10:08 AM, Marta Tolós wrote:
> Hi all,
>
>
>
> I created a file to define some functions. When I try to source this file,
> sometimes it works but sometimes I get the following error:
>
>
>
> >Source(‘File.R’)
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
>
>
>
> Error in srcfilecopy(filename, lines, file.info(filename)[1, "mtime"]) :
>
> unused argument(s) (file.info(filename)[1, "mtime"])
>
>
>
> It works when I just started the R session, but after using some libraries
> when I do the source of the file again, I get this error. I can not really
> follow what steps aret he ones that bring me to the error, I only know that
> sometimes it appears. Does someone know the possible cause?
>
>
>
> Thanks!
>
> Marta
>
>
> [[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.
More information about the R-help
mailing list