Questions tagged as 'r'

1
answer

I can not finish installing devtools in R 3.4.0

I'm using: R version 3.4.0 (2017-04-21) -- "You Stupid Darkness" in Windows 10. When running find_rtools() , I get:    Error: executing the command "C: /PROGRA~1/R/R-34~1.0/bin/x64/R"   --no-site-file -no-environ --no-save --n...
asked by 14.09.2017 / 22:38
0
answers

How to apply the Pettitt test in R?

Good evening, everyone. I'm trying to apply Pettitt's test to a series of data. I am using the package trend in R . But the result found is not what I'm looking for, which is what follows: > pettitt.test(URB_out_ts) Pettit...
asked by 16.09.2017 / 04:38
0
answers

'log' not meaningful for factors

I tried to run an example but gave the error below:    Calculate the log returns of assets       r
asked by 02.08.2017 / 03:02
1
answer

Extract raster data from a shape in R

How do I extract raster data from a shape? * / printf("%d\n", 42); /* Como fazer para extrair dados de raster a partir de um shape     
asked by 21.06.2017 / 16:44
1
answer

How do I access the email via RScript?

I would like to know if through some package of R it is possible to access the email boxes (for example Outlook ) directly. If possible, which package should I use?     
asked by 23.05.2017 / 21:54
0
answers

Make R wait for user

I have a complete program in R, where I first ask the user for a number, using the menu function: menu(c('1','2','3'),title='Escolha um numero') Next, a few lines of code below, this chosen number is required for some functions. It is requi...
asked by 13.05.2017 / 12:59
1
answer

R generate time series with start and end dates for service execution periods

I'm starting to study time series analysis. I have some data sets that are composed as follows: each line consists of serving a customer, having the start date (lower date 2012-01-01), the end date (higher date 2017-05-01) of the service, and th...
asked by 23.05.2017 / 22:59
1
answer

How to insert a bookmark that grows numerically in a dataframe in R?

I have a dataframe with a column and a certain number of rows that varies. What I'm working on are 17. In each line there is a different expression, more or less similar to "ID 123456, color = blue". I would like to add to each of the lines a...
asked by 08.05.2017 / 23:48
0
answers

Plotting graphs - R

Does anyone know a library, in R, for plotting graphs with large numbers of vertices (close to 3,000 vertices)?     
asked by 03.05.2017 / 16:59
0
answers

Conversion to factor - Language R

I'm importing a database into RStudio and need to convert one of the variables to factor . However one of the levels is a word that contains the letter ç . When performing the conversion, the level is not recognized and is trans...
asked by 13.04.2017 / 17:38