Convex Optimization in R