Hello Nasrin,
Please attach how each of your files look like (their first few rows), so we
could understand why the rbind doesn't work.
In general, be sure to keep the r-help e-mail also corresponded so others
might help if I don't know the answer (or if they answer before me).
Best,
Tal
----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------
On Wed, Nov 10, 2010 at 2:37 AM, Nasrin Pak <astronasrin@gmail.com> wrote:
> Hello;
>
> I didn`t manage to do it with rbind command! I`m wondering if this kind of
> combining helps for my work.(actually I`m a new user of R ) My problem is
> that I have a data set for every day of measurement in a seperate file and
I
> want to plot one parameter of the data for all the days in one graph. I
> tried to use for loop but only the last data remains in the program memory,
> I don`t know how to plot each day`s data continusly after the others(or how
> to extending the x axis.) Would you please help me with it?
>
> Thanks for your help!
>
>
> On Tue, Nov 9, 2010 at 12:23 PM, Tal Galili <tal.galili@gmail.com>
wrote:
>
>> Hello Nasrin,
>>
>> I think you might be wanting to use
>> rbind
>> instead of
>> merge
>>
>> ....
>>
>> ----------------Contact
>> Details:-------------------------------------------------------
>> Contact me: Tal.Galili@gmail.com | 972-52-7275845
>> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew)
|
>> www.r-statistics.com (English)
>>
>>
----------------------------------------------------------------------------------------------
>>
>>
>>
>>
>> On Tue, Nov 9, 2010 at 8:22 PM, Nasrin Pak
<astronasrin@gmail.com> wrote:
>>
>>> Hello;
>>> I have a problem merging data sets. I use this command:
>>>
>>> FileNames <-
list.files(path="C:/updated_CFL_Rad_files/2007/11",
>>> full.names=TRUE)
>>> > dataMerge <- data.frame()
>>> > for(f in FileNames){
>>> + ReadInMerge <- read.csv(file=f, header=T,
na.strings="NULL")
>>> + dataMerge <- merge(dataMerge, ReadInMerge,all=T)
>>> +
>>> + }
>>>
>>> and an error occurs.The size of the data is about 7.5 Mb, I
don't know
>>> what
>>> does 221 Mb mean!
>>>
>>> Error: cannot allocate vector of size 221.6 Mb
>>> In addition: Warning messages:
>>> 1: Reached total allocation of 502Mb: see help(memory.size)
>>> 2: Reached total allocation of 502Mb: see help(memory.size)
>>> 3: Reached total allocation of 502Mb: see help(memory.size)
>>> 4: Reached total allocation of 502Mb: see help(memory.size)
>>> --
>>> Sincerely
>>>
>>> Nasrin Pak
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help@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.
>>>
>>
>>
>
>
> --
> Sincerely
>
> Nasrin Pak
>
>
[[alternative HTML version deleted]]