the device does not recognize the command

Solve ‘The device does not recognize the command’ when saving a file in RStudio

  • by
The following error message is something that me and my colleagues keep running into when using Rstudio. ‘Error Saving File — The device does not recognize the command’ There are multiple things that cause this, but basically it’s because RStudio is having troubles writing to the file. Here’s what you… Read More »Solve ‘The device does not recognize the command’ when saving a file in RStudio
kmeans store in r and kcca

Storing a K-means model in R

  • by
K-means clustering is quick and dirty and generally provides some interesting results. However, the default kmeans function in R lacks features, such as actually storing the model to use the centroids for prediction purposes on unseen data. That’s where flexclust comes in. Flexclust is a package that is designed around… Read More »Storing a K-means model in R