Kevin Burton
Kevin Burton

Reputation: 133

VisualStudio 2017 R Project

I have a simple R Project. When I create a new project it opens up a window with the title script.R. I type in a simple 3 line script that runs without error in the interactive window but when I "rebuild all" I get

MSB4057 The target "rebuild" does not exist in the project.

If I simply build the project and debug it works fine. Apparently "rebuild" needs to be added to the R project template or taken away from the build menu. Also when I do a build the script.R is not automatically saved.

Upvotes: 2

Views: 661

Answers (1)

R projects are not buildable since R is not a compiled language. They are interpreted by the R engine each time you run the code.

Upvotes: 5

Related Questions