Placing the equal sign (=) when merging the data frame and final writing the file writeLines or write.table : <p>I have a data frame given below. there 29 variables and its values. I want to write it with <code>write.table</code> or <code>writeLine</code>, but I want to place the equal sign <code>(=)</code> between them.</p>

<pre><code>              Variable    2
1         HYDRUS_Version    4
2              WaterFlow    0
3        SoluteTransport    0
4              Unsatchem    0
5              Unsatchem    0
6                    HP1    0
7          HeatTransport    0
8  EquilibriumAdsorption    0
9         MobileImmobile    0
10       RootWaterUptake    0
11            RootGrowth    0
12       MaterialNumbers    0
13      SubregionNumbers    0
14             SpaceUnit   cm
15              TimeUnit days
16            PrintTimes  160
17       NumberOfSolutes    0
18      InitialCondition    1
19         NumberOfNodes  101
20          ProfileDepth  120
21      ObservationNodes  160
22           GridVisible  160
23            SnapToGrid  160
24          ProfileWidth  160
25            LeftMargin  160
26              GridOrgX  160
27              GridOrgY  160
28                GridDX  160
29                GridDY  160
</code></pre>

<p>I need output like this in text file.</p>

<pre><code>HYDRUS_Version=4
WaterFlow=0
SoluteTransport=0
Unsatchem=0
Unsatchem=0
HP1=0
HeatTransport=0
EquilibriumAdsorption=0
MobileImmobile=0
RootWaterUptake=0
RootGrowth=0
MaterialNumbers=0
SubregionNumbers=0
SpaceUnit=cm
TimeUnit=days
PrintTimes=160
NumberOfSolutes=0
InitialCondition=1
NumberOfNodes=101
ProfileDepth=120
ObservationNodes=160
GridVisible=160
SnapToGrid=160
ProfileWidth=160
LeftMargin=160
GridOrgX=160
GridOrgY=160
GridDX=160
GridDY=160
</code></pre>

<p>further I will will split this file into parts and write some characters between these two parts and will get the final <code>.txt</code> file.</p>
