If you know the points explicitly (e.g. via coordinates), and want the defining ideal of their linear span, then this can be done just via linear algebra:
R = QQ[x_0..x_5]
pts = apply(4, i -> random(R^1,R^6)) -- 4 random points in P^5
L = ideal(vars R * gens ker transpose matrix{pts/transpose})
all(L_*, f -> all(pts, p -> sub(f, p) == 0))
Here L is the ideal of the linear span, which is a 3-plane in P^5. On the other hand, if you have a variety X (given by its ideal), then the linear span of X is defined by the degree-1 part of the ideal of X. Continuing the example above:
ptIdeals = apply(pts, p -> trim minors(2, vars R || p))
I = intersect ptIdeals;
linSpan = super basis(1, I)
L == ideal linSpan
Justin