Questions tagged [rtvs]

R Tools for Visual Studio (RTVS for short) is an official Microsoft extension for Visual Studio IDE that adds support for the R programming language.

R Tools for Visual Studio (RTVS for short) is an official Microsoft extension for Visual Studio IDE that adds support for the R programming language.

Development of RTVS has now been discontinued. Note that RTVS only works with Visual Studio 2015 and 2017. An alternative if you are using VS 2019, and don't want to use RStudio, is to use Visual Studio Code and install the R or R Tools extension.

28 questions
1
vote
0 answers

How to turn off Autosaving workspace in R application of Visual Studio

I am working with Visual Studio and don't know how to turn off the Autosaving workspace of R application of Visual Studio even I googled. It made my programming process very slow. I just wonder if anyone can instruct me how to do that? Thank you…
pphong
  • 57
  • 5
1
vote
0 answers

how to integrate visual studio r project into IIS

i have create rproject(by installing RTVS) in visual studio 2015,can you please help me how to integrate into IIS server.
1
vote
1 answer

Code sections and folding in Visual Studio with RTools

I am using VS 2017 with R Tools for Visual Studio, and I wonder if there is a way to create expandable code sections such as in RStudio: #### My region #### [...] #### #### I also tried #region and #endregion, which used to work with some…
Antoine C.
  • 3,730
  • 5
  • 32
  • 56
1
vote
1 answer

Upgraded R but RTVS points to old version

I'm using R Tools for Visual Studio (RTVS version 1.0.30321.1407) in Microsoft Visual Studio Professional 2015 (version 14.0.25431.01 Update 3). I've been using R version 3.3.1, but today I installed R version 3.4.0. My RStudio was smart enough to…
lebelinoz
  • 4,890
  • 10
  • 33
  • 56
1
vote
0 answers

Windows 10 RTools cannot connect to Windows Server R Services

I have VS2015 with RTools and RTVS on a windows 10 machine. I also have a Server 2012 with SQL Server, with R Server, and RTVS R Services installed. I cannot connect the Win-10 RTVS to the RServer using Remote connections. I have done the…
arcee123
  • 101
  • 9
  • 41
  • 118
1
vote
2 answers

R Code Runs Fine in RStudio but not in Visual Studio

I just ran this in RStudio and it works fine. Gender <- c("Female","Female","Male","Male") Restaurant <- c("Yes","No","Yes","No") Count <- c(220, 780, 400, 600) DiningSurvey <- data.frame(Gender, Restaurant, Count) DiningSurvey Then I try to run it…
ASH
  • 20,759
  • 19
  • 87
  • 200
0
votes
1 answer

RTVS: Visual Studio does not recognize R packages, when executing as a SQL Server stored procedure

I was trying to create a SQL Server stored procedure that contains R code. I was using RTVS -- R Tools for Microsoft Visual Studio 2015. The problem is Visual Studio won't recognize the R packages I installed, other than "Base R". For example,…
TossCoin
  • 13
  • 1
  • 4
0
votes
1 answer

Loop URL R too many open files

I have the following file with URLs in it. The Idea is to download image from URL, get a 6 color palette, get the color names and percentages and bind them all together in a list alongside product number. But I get the "too many files"…
0
votes
0 answers

SQL Server R Services How to Resolve could not find function "%>%"

I'm using dplyr in my stored procedure. I'm passing in a dataset that's returned by querying responses based on a provided input parameter, StudyID. The goal is to return the results of dplyr from the R script back to the stored procedure. …
SidC
  • 3,175
  • 14
  • 70
  • 132
0
votes
1 answer

Error when Executing SQL Stored procedure with R In RTVS

I have created a stored procedure with R in RTVS Visual Studio 2017 and after publishing it to my database, I get this error when I try to execute it: Msg 39004, Level 16, State 20, Line 4 A 'R' script error occurred during execution of…
Mümin
  • 309
  • 1
  • 20
0
votes
1 answer

Visual Studio 2015 / 2017 times out on connecting to Microsoft R Open (3.4.0.0) or CRAN

Unable to connect to Microsoft R Open or CRAN R selecting either through Workspaces window in VS2015 and 2017 Community editions on Windows 10. "Connecting to ...." dialog appears and eventually the following error appears in the interactive…
Wasa
  • 1
  • 1
0
votes
1 answer

Is there a shortcut for clearing .Rhistory in Visual Studio

I am starting to prefer Visual Studio with RTVS over RStudio because of Visual Studio's great find-and-replace facilities. My only gripe is that it often finds things in my .Rhistory file when I'm trying to search through my code. Is there a…
lebelinoz
  • 4,890
  • 10
  • 33
  • 56
0
votes
1 answer

Trouble with data loading to H2O on R in Windows

I have problems with data loading to H2O in R on Windows. When I run basic commands such as h2o.clusterInfo or as.h2o(localH2O, dat, key = 'dat'), I got an error message - Error in .... : unused argument (...). Like on screen. I use RTVS na…
user6763231
1
2