jpvert / apg

Accelerated proximal gradient in R
7 stars 6 forks source link

Speed up apg #1

Closed marineLM closed 8 years ago

marineLM commented 8 years ago
marineLM commented 8 years ago

With these changes, glm.apg.R calls a R function called grad_logistic.R. To make this function available to R, it need to be sourced with the following line: sourceCpp('path_to_cpp_function/grad_logistic.cpp'). So far this line does not appear anywhere so R won't know what grad_logistic.R is.