microsoft / RTVS

R Tools for Visual Studio.
MIT License
388 stars 118 forks source link

Build R Packages (in R) #1638

Open MikhailArkhipov opened 8 years ago

int19h commented 8 years ago

Note that if we will simply wire R CMD build to Project | Build, it'll transparently cover both pure R packages, and those with C++ code in them, so there might not actually be a difference here on implementation level for the baseline.

(Obviously there's a bunch of items to do to make C++ easier - add C++ file templates to Add New Item, automatically download & install Rtools SDK etc. But these are above and beyond the bare bones "build an R package with C++" user scenario.)

MikhailArkhipov commented 7 years ago

Considering accessibility work load and release activities, moving to Sprint 13.

hongooi73 commented 7 years ago

If we do go ahead with this (would be great), I suggest building in support for R-Hub.

mvacha commented 7 years ago

It would be really cool to have support for building R packages out of the box. The C++ IntelliSense in VS is just the best and I have not yet found any issues with RCpp.

Right now I use solution with makefile project (with build/install/test targets...), c# project (for R files) and c++ project for c++ files. Not very nice, but it works.

I have not yet looked into debugging R packages, but that also should be possible (as vs supports gdb as c++ debugger).

Also I think this depends a bit on improving the AutoCompletion/Navigation to support multiple files.