The pattern of Rayleigh-Benard convection of air in a rectangular box heated-from-below is studied by numerically solving the three-dimensional timedependent Navier-Stokes equations under the Bonssinesq approximation. Slightly supercritical Rayleigh number was adopted to track the evolutions of flow structure as a function of enclosure's aspect ratio (A = L/H). The flow will asymptotically evolve to different patterns, among which, two possible types of flow pattern are found.One consists of the pair of straight vortex rolls and the other appears as closed vortex rings. The transition between the flow patterns indicates that there exists a flow bifurcation with the variation of container's aspect ratio. In addition, both steady and oscillatory flows have been observed, corresponding to the pair of straight vortex rolls and the vortex ring, respectively. The complexity of flow structure tends to increase with the increasing aspect ratio of the rectangular enclosure.