On a Windows PC: I happened to unzip the ENRON maildir files in a random location on my windows machine. I was getting the “directory not found” error. (It would have been nice if the ML 6.4 video suggested to unzip the maildir email contents into the same folder as all the other datacamp lessons… perhaps I’m just an […]
In Jupyter, when I was a newbie, I often needed to reference some Python library code located in some weird place on my PC, so I did this at the top of each Jupyter notebook I created: import sys sys.path.append(‘C:\users\name\code\my-Python-object-location’) Doing so made the path (temporarily) part of sys.path for as long as that session […]
Depends. I’m sharing my love/hate experience with knitr. When it works, it’s divine. When it doesn’t, it’s diabolical. knitr is finally working well in my local PC’s RStudio, but I find that I’m running knitr every hour or so to make sure I have not introduced something into my .rmd file that breaks it. I had […]
There are thousands of datasets on the web available for analysis using R. Many of them are listed by the plus or minus 175 countries, like “United States” or “Cote d’Ivoire” So, ignoring for a moment that the experts say never name a variable with spaces, in the real world how do you plot a […]
Running Rstudio on Windows for more than a day or so without shutting down? Are you now getting errors installing packages? I suggest Windows has “lost” its mind. Save and Restart #rstudio & #windows. Likely your problems will go away. #DataAnalytics #DataAnalyst #Statistics Searches related to this R (RStudio) package installation problem that might provide solutions as […]
Context: I was using Gapminder.com data, so the data is presented in csv format. The data consists of various country-related data with rows as country names and columns as years. Step 1. Read into a data.frame the local .csv file that you downloaded from the Gapminder website. Note that “row.names = 1” saves each of the 175 […]
For GIT GUI users on Windows… When browsing for repository locations you may get the error “Drive already exists…” Simply remove the “C:\” from the GIT GUI command line after selecting the folder in Windows and you’ll be good to go!