Articles by R on msperlin

BatchGetSymbols is now parallel!

April 12, 2019 | R on msperlin

BatchGetSymbols is my most downloaded package by any count. Computation time, however, has always been an issue. While downloading data for 10 or less stocks is fine, doing it for a large ammount of tickers, say the SP500 composition, gets very boring. I’m glad to report that time is no ... [Read more...]

Can you turn 1,500 R$ into 1,000,430 R$ by investing in the stock market?

March 22, 2019 | R on msperlin

In the last few weeks we’ve seen a great deal of controversy in Brazil regarding financial investments. Too keep it short, Empiricus, an ad-based company that massively sells online courses and subscriptions, posted a YouTube ad where a young girl, Bettina, says the following:
Hi, I'm Bettina, I am 22 years old and, starting with R$ 1,500, I now own R$ 1,042,000 of  accumulated wealth.
She later explains that ... [Read more...]

GetDFPData Ver 1.4

January 11, 2019 | R on msperlin

I just released a major update to package GetDFPData. Here are the main changes: Naming conventions for caching system are improved so that it reflects different versions of FRE and DFP files. This means the old caching system no longer works. If you h... [Read more...]

Looking back at 2018 and plans for 2019

January 7, 2019 | R on msperlin

At the end of every year I plan to write about the highlight of the current year and set plans for the future. First, let’s talk about my work in 2018. Highlights of 2018 Research wise, my scientometrics paper Is predatory publishing a real threat? Evidence from a large database study ... [Read more...]

Some Useful Tricks in RStudio

November 2, 2018 | R on msperlin

I’ve been using Rstudio for a long time and I got some tricks to share. These are simple and useful commands and shortcuts that really help the productivity of my students. If you got a suggestion of trick, use the comment section and I’ll add it in this ... [Read more...]

New blog site: From Jekyll to Hugo

November 2, 2018 | R on msperlin

I while ago I wrote about purchasing my own webserver in digital ocean and hosting my shinny applications. Last week I finally got some time to migrate my blog from Github to my new domain, www.msperlin.com. While doing that, I also decided to change t... [Read more...]

Loops and Pizzas

October 18, 2018 | R on msperlin

Loops in R First, if you are new to programming, you should know that loops are a way to tell the computer that you want to repeat some operation for a number of times. This is a very common task that can be found in many programming languages. For example, ... [Read more...]

New package in CRAN: PkgsFromFiles

October 12, 2018 | R on msperlin

Its been a while since I develop a CRAN package and this weekend I decided to work on a idea I had some time ago. The result is package PkgsFromFiles. When working with different computers at home or work, one of the problems I have is installing missing packages across ... [Read more...]

Update to GetLattesData

October 10, 2018 | R on msperlin

Last year I released GetLattesData. This package is very handy for anyone that researches bibliometric data of Brazilian scholars. You could easily import the whole academic history of any researcher registered at the platform. More details about Lattes and GetLattesData in the this post. However, a couple months ago CNPQ ... [Read more...]

BatchGetSymbols 2.2

October 9, 2018 | R on msperlin

One of the main requests I get for package BatchGetSymbols is to add the choice of frequency of the financial dataset. Today I finally got some time to work on it. I just posted a new version of BatchGetSymbols in CRAN. The major change is that users can now set ... [Read more...]

Investing for the Long Run

May 11, 2018 | R on msperlin

I often get asked about how to invest in the stock market. Not surprisingly, this has been a common topic in my classes. Brazil is experiencing a big change in its financial scenario. Historically, fixed income instruments paid a large premium over the stock market and that is no longer ... [Read more...]

Predatory Journals and R

April 21, 2018 | R on msperlin

My paper about the penetration of predatory journals in Brazil, Is predatory publishing a real threat? Evidence from a large database study, just got published in Scientometrics!. The working paper version is available in SSRN. This is a nice example o... [Read more...]

Writing papers about packages

March 15, 2018 | R on msperlin

Back in 2007 I wrote a Matlab package for estimating regime switching models. I was just starting to learn to code and this project was my way of doing it. After publishing it in FEX (Matlab file exchange site), I got so many repeated questions on my e... [Read more...]

Major update to BatchGetSymbols

January 21, 2018 | R on msperlin

I just released a long due update to package BatchGetSymbols. The files are under review in CRAN and you should get the update soon. Meanwhile, you can install the new version from Github:
if (!require(devtools)) install.packages('devtools')
devtools::install_github('msperlin/BatchGetSymbols')
The main innovations are: Clever cache system: By default, every new download of data will be ... [Read more...]

Looking back in 2017 and plans for 2018

December 29, 2017 | R on msperlin

My blog in 2017 As we come close to the end of 2017, its time to look back. This has been a great year for me in many ways. This blog started as a way to write short pieces about using R for finance and promote my book in an organic way. ... [Read more...]
1 2 3

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)