We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [rstudio]

This tag should be used to ask questions about the usage, installation, configuration and upgrade of the RStudio IDE. Questions related to programming in R, Rmarkdown or Shiny should be tagged with their respective separate tags

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

R Studio functions appear as headers

In R Studio, you can split a script by Header using code like # Heading 1 ------- These Headers are easily accessed via the drop down in the lower left of the ...
1
vote
0answers
10 views

Automatically clear Rstudio temp files when manually stopping background “job” [closed]

When I manually stop a local background job (that is running a loop over many rstan analyses) on Rstudio, Rstudio/R treat the job as if it's failed (rather than ...
0
votes
1answer
19 views

How to get a output of a hidden layer of a single-layer LSTM

How can get the hidden layer outputs in a simple one-layer lstm? ...
1
vote
0answers
9 views

What would be a good threshold number to convert some categories to Not Specified

The current topic is derived from this topic: https://community.rstudio.com/t/39722 (optional to read). I have the following dataset: myds : ...
0
votes
0answers
26 views

Exploratory Data Analysis for Big Data with continuous and categorical variables (mixed data types)

I have a dataset with 28 variables (6 continuos + 22 categorical). I'm using ...
0
votes
1answer
64 views

Error loading tidyverse in R Studio - No broom package

I'm getting numerous errors when trying to install packages, namely tidyverse and ggplot. The error is of the form are always in the form: ...
1
vote
1answer
32 views

install_tensorflow() keeps overwriting virtualenv, making it impossible to install tensorflow and keras

I would like to use the Keras & Tensorflow package for R in RStudio. Everytime I use the command install_keras() or install_tensorflow(), I get the following error: ...
0
votes
1answer
32 views

Y-axis output is not order

I am currently attempting to output some data based on user agent strings. The strings are too messy to place into a plot similar to the one shown below, so I plotted their index instead. Why is my ...
1
vote
3answers
234 views

R Studio like editor for Python?

I hope this question is okay for the forum. I want to ask for your experiance with Python editors. Currently, I use VS Code to work with Python. However, in R Studio I really appreciate that it ...
-1
votes
2answers
27 views

How do I fix space allocation error on a machine with plenty of space?

I'd like to run a model on RStudio Server, but I'm getting this error. Error: cannot allocate vector of size 57.8 Gb This is what my data looks like and it has 10,000 rows. ...
1
vote
1answer
346 views

Kmean clustering on text data

I have a large raw dataset on crime and I want to cluster the data using k-means, However, I get an Error when I enter this code: ...
0
votes
1answer
40 views

Remove specific words containing dots from a string

Hi I got words that contain one of the following tokens: CO. PRO. IST. How to clean my words from these tokens? Do you have any regex pattern? for example the words : ...
0
votes
1answer
39 views

error trying to build a histogram using r with the rStudio application

Using ggplot2 I am attempting to create a histogram. I have a column that is full on the continents. I need to add all the continents which I attempted to do with the aggregate function. ...
0
votes
1answer
42 views

found \N in my data does not count as missing values in r

So scrolling through my columns I find \N embedded. I need to count them, but I get an error. Would it be considered a missing value, it's new to me. ...
-1
votes
1answer
86 views

How to Plot a two line graph out of three tabular columns in R

This definitely not what I wanted. I'm learning to plot, but I want my x value to be dates and my y value to be line graphs telling the story of projected vs performed values. So far here is what I ...
0
votes
1answer
224 views

Running multiple random forest and combining them

I am trying to build a random forest model in R (RStudio). My training dataset has around 2 million rows and 38 variables. When I tested 5000 rows from this dataset I was able to build the random ...
2
votes
0answers
30 views

personalize the output with Rstudio

I'm trying to mine some data with Rstudio, but I have problem in the results output. Trying to search big number from 100000 to 900000 the function works well but ...
0
votes
1answer
67 views

Errors generated in Rstudio [closed]

I'am using Rstudio to create some codes. the cods works pretty well, without any error and gives the output desired. But when I turn on the PC after period and re-execute the same code, it generes ...
2
votes
1answer
24 views

How to make smaller categories with factor character variables

I have this data set with consist of ISO3166 Alpha-2 codes for countries. Example: DE, AD, AE etc They are coded as factor variables in R and there are about 173 observations. Now because there are ...
2
votes
0answers
49 views

Split large dataset for predictive modeling using rsparkling -sparklyr

I am trying to build machine learning models (GBM, RF, Staking) on top of a dataset that is about 3G in size on my local computer. However, I only have 4G memory (only 2G are available). My question ...
0
votes
1answer
27 views

Do DBMS decrease Memory requirements?

I finished my Economics thesis using RStudio, but my script was very slow due to massive RAM consumption during the process. My Case I had a massive dataset (stock prices in daily frequency for 10 ...
1
vote
1answer
34 views

Different R Markdown in same document for each output type

In R Markdown, I would like to be able to conditionally include certain chunks depending on what I am outputting to. For example if I am knitting a PDF I would like to include a small bit of LaTeX to ...
1
vote
1answer
6k views

Replacing words by numbers in multiple columns of a data frame in R

I want to replace the values in a data set (sample in the picture) using numbers instead of words, e.g., 1 instead of D, ...
1
vote
0answers
347 views

R studio, one multi core CPU vs dual single cores

So far I was using R on my home pc: i3 CPU, two cores, 4 threads. In order to run the code faster I was using the package "DoSnow", utilizing 3 out of the 4 cores in order not to choke my system ...
1
vote
0answers
305 views

Multilabel multiclass classifier returns same probabilities for any input

I am new to deep learning. I have a collection of website texts and the activity class each company belongs to. A company can list multiple activity classes (NACE-codes) The goal is to build a ...
4
votes
1answer
104 views

Does the choice of normalization change dramatically the result of a KMeans

I'm using a KMeans to get the profile of several users according to several columns (I'm working with RStudio). To analyze my clusters, I decided to realize a radar chart, so I decided to use feature ...
-2
votes
1answer
1k views

Error in mlogit package: system is computationally singular: reciprocal condition number = 8.87901e-37

I have a data set that is formatted according to mlogit's standards using mlogit.data command in Rstudio. Here is the first three rows of the dataset. ...
-1
votes
1answer
356 views

where does the downloaded file gets stored in the R-Studio Server on Ubuntu EC2 Instance when using download.file()

Studio Server on an Ubuntu EC2 instance for the first time and successfully started r-studio server in my browser. I also have putty ssh client.For the Purpose of this Analysis i first want to ...
-2
votes
1answer
1k views

how to sum a variable by group in r and display in a tabular form?

Say I have this data ...
-1
votes
1answer
91 views

Error While Trying To Transform Data Into Stocks Object [closed]

I am following a tutorial on R-Bloggers on an introduction to stock market data analysis. I got to this part - ...
2
votes
1answer
345 views

Creating a pie chart with historical motion in Rstudio

So, I created several pie charts showing voting percentages for republicans and democrats, from 2008 to 2016 with plotly package in Rstudio. What I would like to do, to make it sleek, is create a menu ...
0
votes
2answers
5k views

How to summarize(add) a column according to same year and plot in R?

I have following type of data. But I would like to have graph with X-axis as Year and add all the sales added up in that year on Y- axis. The Data frame name is salesdata. I have nearly 8000 rows of ...
4
votes
3answers
5k views

Rules by which RStudio sets Headings

RStudio automatically recognizes headers in an R script that are set via comments: I would like to exploit that feature, but I don't quite understand what the rules are for RStudio to recognize ...
1
vote
1answer
6k views

Rstudio using 2.5% of 250GB RAM. how to Increase it [closed]

I am working on Rstudio on a server which has 250GB ram. But its taking too much time to handle a 2GB data file. how should i speed up my work?
1
vote
1answer
648 views

How do I access data on my EBS Volume from R-Studio Server on Ubuntu EC2 Instance

I have setup R-Studio Server on an Ubuntu EC2 instance for the first time and successfully started r-studio server in my browser. I also have putty ssh client. How do I set path in r-studio server to ...
46
votes
9answers
62k views

IDE alternatives for R programming (RStudio, IntelliJ IDEA, Eclipse, Visual Studio)

I use RStudio for R programming. I remember about solid IDE-s from other technology stacks, like Visual Studio or Eclipse. I have two questions: What other IDE-s than RStudio are used (please ...