[R] size issue with source

Boris Steipe boris.steipe at utoronto.ca
Fri Mar 25 16:13:07 CET 2016


I can't tell what's happening here unless I see the actual code that produces the behaviour. Just the code should be fine, no need to attach your big file. Also: what exactly is the issue you need to solve?

B.


On Mar 25, 2016, at 6:39 AM, Jun Chen <jchen at Parametricafund.com> wrote:

> Hello:
> 
> I have met an issue when I use the function "source".
> 
> For example, we use function source to read a txt file, say all.txt, which contains three function: A, B, C. Then I use the function save to save individual function A to a file say Abig, whose size on the drive is Abigsize. While I can source the file Abig to get back function A after which I save the updated A function to file Asmall, whose size on the drive is Asmallsize. Abigsize is much bigger than Asmallsize. It seems that Abig inherited its memory information from all.txt instead of its own size.
> 
> Would you please help me with the issue?
> 
> Best.
> 
> 
> ________________________________
> NOTICE TO RECIPIENTS: The information contained in and a...{{dropped:23}}
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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