Posts by Henrique Faria de Oliveira • 725 points
31 posts
-
0
votes0
answers28
viewsQ: Windows does not find R environment variables running shinys by . bat(batch) or shell files
I have a Shiny saved on the network that I make available to users through shortcuts that run Shiny by shell on Windows (the shortcut is a file. bat on desktop to user) I have some access passwords…
-
1
votes1
answer40
viewsA: Problem converting JSON to dataframe in R
I managed to solve the problem, I will leave here the solution The encoding was missing, because the site is not Brazilian library(httr) library(jsonlite)…
-
1
votes1
answer40
viewsQ: Problem converting JSON to dataframe in R
I want to extract a JSON content from a website and convert it into a dataframe Website is https://schutz-shoes.com/products/amaia-sandal-metallic-leather?color=ouro%20gold Inside that site,…
-
0
votes0
answers114
viewsQ: Open a Flexdashboard in another browser tab with "Runtime:Shiny" through an Actionbutton in a Shiny app
I have a Shiny application of the following structure, where the following code is named app.R library(shiny) ui <- fluidPage( theme = shinytheme("darkly"), navbarPage(title = "Teste ",…
-
0
votes1
answer103
viewsA: How to build Tukey test tables in R
I think this link solves your problem https://www.r-bloggers.com/anova-and-tukeys-test-on-r/…
-
3
votes2
answers91
viewsQ: Extract information from a string
I have the following string I would like to extract only prices within that string thank you in advance a<- " Scarpin Sofia Salto Bloco Slingback TurtleR$269,90 Scarpin Sofia Nobuck Salto Bloco…
-
3
votes1
answer75
viewsQ: Problems automated formatting subsection Rmarkdown in R
I need to generate a report that has several sections and subsections, which depending on the month, may or may not appear in the database To get around the problem, I created an appearance…
-
3
votes1
answer212
viewsQ: Change the header color of the "Material" theme of the "rmdformats" package to an html output in Rmarkdown
I would like to change the header color of the "Material" theme of the "rmdformats" package to an html output of rmarkdown. I want to change from green to blue just the header, keeping all other…
-
1
votes1
answer41
viewsQ: End of run message in a Shiny app
I’m developing a Shiny app, where I have several actionButtons which, when clicked, execute other codes through the function source or render according to the following example: library(shiny)…
-
2
votes1
answer532
viewsQ: Problems to generate pdf file and equations in the file via R Markdown
I am trying to run the following function via R Markdown, seeking to generate a pdf, and with equations using Latex I already installed all the necessary packages, so with Miktex 2.9 full version…
-
1
votes1
answer64
viewsQ: How to extract separate data from an out-of-format string
When extracting data from a pdf in R, extracting text line by line, I have the following situation. A string of interest that comes with three information separated by long spaces, as exemplified…
-
3
votes1
answer495
viewsQ: Create an executable in R through the Shiny package
I wonder if it is possible to create an executable that goes directly to the panel generated by Shiny code without having to open the R and execute the codes library(shiny) # Define UI for…
-
1
votes0
answers76
viewsQ: Download pdfs from different site queries
I would like to download pdfs of different queries from the following site website to download the data However as the link does not change with each new query of municipality, I do not know how to…
-
1
votes1
answer31
viewsQ: transfer empty spaces from the database to the last column in the R
Good afternoon To help me with the problem I set up a fictitious database dados1<-c(15,15,16,17,18,52,48,47,65,32,'',15,14) dados2<-c(15,15,16,17,18,52,'',47,65,32,15,15,14)…
rasked Henrique Faria de Oliveira 725 -
0
votes1
answer55
viewsQ: Create a data frame by separating terms from a string into columns
How do I create a data.frame separating each term bound by _ in columns "WZ_311205_20131007_20131008113131_RUA_RAMAL_FARIA_TEMP_DATA_ _AVENIDA_DADOS_PORTO_9.xml"…
rasked Henrique Faria de Oliveira 725 -
0
votes1
answer60
viewsQ: Analyze emails with R
I would like to know if there is any package in R that does Mining text for outlook emails, so that it can filter emails by keywords, or by some kind of argument, extracting relevant information and…
rasked Henrique Faria de Oliveira 725 -
0
votes1
answer2411
viewsQ: Import data from a txt to EXCEL spreadsheet via VBA
I would like help to import this file to an excel spreadsheet through VBA These data below are the ones that are in the txt file for import, to help me, just save them in the notepad…
-
0
votes1
answer39
viewsQ: Import data with spaces within fields from a txt to R
Good afternoon I would like to import a file, and I will post an example to be helped It consists of names with space and number separations To help me with the solution, please copy this…
-
4
votes2
answers291
viewsQ: Convert written numbers with thousands separator to numeric value in R
I have the following number that I am importing from a site, I put in the following way not to need to put all the import code of the data a <- as.character("353.636.000.000") I’d like to turn…
rasked Henrique Faria de Oliveira 725 -
1
votes1
answer465
viewsQ: Change colors of the scale of a bubble chart in R
I’m having trouble creating a color scale for my chart nome<-c("a","b","c","d") anos<-c(15,8,25,9) renda<-c(14,5,3,25) final<-c(30,15,42,12) tudo<-cbind(nome,anos,renda,final)…
-
5
votes1
answer410
viewsQ: Download a table from a website in data.frame format in R
Good night I need to download the table entitled Fundamentalist indicators at the following link http://www.fundamentus.com.br/detalhes.php?papel=PETR4 I intend to download all the assets of the…
rasked Henrique Faria de Oliveira 725 -
5
votes1
answer204
viewsQ: Download zip files from a link to a PC folder via R
Good afternoon I need to download the zip files from the following site ftp://ftp.bmf.com.br/MarketData/ I would like to download via R, and that the files were saved on my computer, but I do not…
rasked Henrique Faria de Oliveira 725 -
3
votes1
answer69
viewsQ: Insert names next to bubbles of a Bubble Chart into the R and exaggerate the difference between them
Good night I’m creating a bubble chart in R I was able to plot the graph and put the name next to the bubbles nome<-c("a","b","c","d") anos<-c(15,8,25,9) renda<-c(14,5,3,25)…
rasked Henrique Faria de Oliveira 725 -
1
votes1
answer133
viewsQ: Problems with xml to transform into data.frame in R
Good night I need an xml collaboration, I have little knowledge for R in this I have the following xml structure To help me, please copy to a txt and save in xml format to use…
-
2
votes1
answer23
viewsQ: Extract only value from the hypothesis test for an object
Good night I am performing the KPSS hypothesis test for time series stationarity, through the following commands. #Todos os pacotes necessários para o desenvolvimento do curso library(forecast)…
rasked Henrique Faria de Oliveira 725 -
2
votes1
answer49
viewsQ: Select vector only with dates shared by all matrices in the list
I have a database with a lot of stock market assets. After running several filters to get only assets with imposed number of observations, I arrive at a large data frame and a list, as will be…
rasked Henrique Faria de Oliveira 725 -
6
votes2
answers73
viewsQ: Estimate variable of difficult isolation
Good afternoon collaborators. I am having difficulty estimating a parameter via R programming to complete my processing routine. The equation I am using is the one described below, where I have all…
rasked Henrique Faria de Oliveira 725 -
3
votes1
answer203
viewsQ: Find a variable value for a --- Target function
good afternoon staff I have a function that I know the result, and I want to find the value of parameter c for each result I have , similar to Excel target function #Vetor com valores de cv para…
rasked Henrique Faria de Oliveira 725 -
4
votes1
answer117
viewsQ: Problems to plot graph with chartSeries function of the quantmod package from a data.frame to R
I’m having trouble plotting a Candlesticks chart from a file data.frame. Code example # Pacotes necessários ---------------------------------------------- library(BatchGetSymbols) library(quantmod)…
rasked Henrique Faria de Oliveira 725 -
1
votes1
answer57
viewsQ: Temporal matching of financial market data downloaded by Batchgetsymbols package in R
Through the following code, I import the stock exchange data the Ibovespa Index, Petrobras and the American Index S&P 500. However, the dates of the observations are not exactly matching #…
rasked Henrique Faria de Oliveira 725 -
0
votes0
answers57
viewsQ: Doubts about calling multiple objects, one by one in iterations of an R looping
I imported some objects as follows, in this example I put only two, but I intend to work with many, so I need to automate some processes: library(quantmod) #escolhendo a data que deseja start <-…
rasked Henrique Faria de Oliveira 725