This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> install.packages('fs',repos='http://cran.us.r-project.org') | |
Installing package into ‘/home/hw831/R/x86_64-pc-linux-gnu-library/3.3’ | |
(as ‘lib’ is unspecified) | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 48 777k 48 374k 0 0 353k 0 0:00:02 0:00:01 0:00:01 353k100 777k 100 777k 0 0 641k 0 0:00:01 0:00:01 --:--:-- 642k | |
* installing *source* package ‘fs’ ... | |
** package ‘fs’ successfully unpacked and MD5 sums checked | |
** libs | |
I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -I./libuv/include -I. -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include" -c id.cc -o id.o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> install.packages('fs',repos='http://cran.us.r-project.org') | |
Installing package into ‘/home/hw831/R/x86_64-pc-linux-gnu-library/3.3’ | |
(as ‘lib’ is unspecified) | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2 777k 2 19685 0 0 43174 0 0:00:18 --:--:-- 0:00:18 43168100 777k 100 777k 0 0 639k 0 0:00:01 0:00:01 --:--:-- 640k | |
* installing *source* package ‘fs’ ... | |
** package ‘fs’ successfully unpacked and MD5 sums checked | |
** libs | |
g++ -std=c++0x -I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -I./libuv/include -I. -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include" -c id.cc -o id.o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> install.packages("odbc", repos = 'https://mran.microsoft.com/snapshot/2018-07-01') | |
Installing package into ‘/home/hw831/R/x86_64-pc-linux-gnu-library/3.3’ | |
(as ‘lib’ is unspecified) | |
also installing the dependencies ‘bit’, ‘bit64’ | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 54779 100 54779 0 0 295k 0 --:--:-- --:--:-- --:--:-- 0 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 439k 100 439k 0 0 2085k 0 --:--:-- --:--:-- --:--:-- 2091k | |
* installing *source* package ‘lubridate’ ... | |
** package ‘lubridate’ successfully unpacked and MD5 sums checked | |
** libs | |
sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory | |
make: [RcppExports.o] Error 127 (ignored) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query <- "SELECT uid, timestamp, sensor_1 FROM database_name.long_table_name_here WHERE ((uid = 'abxyz1230' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = 'abxyz1236' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = 'abxyz1230' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = 'abxyz1236' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = 'abxyz1230' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = 'abxyz1236' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = 'abxyz1230' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = 'abxyz1236' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = 'abxyz1230' AND filter_id = '1' AND timestamp >= '2018-07-23' AND timestamp <= '2018-08-02') OR (uid = ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library("dplyr") | |
pkgs_wanted <- c( | |
"anomalize", | |
"AnomalyDetection", | |
"arules", | |
"assertive", | |
"assertthat", | |
"astsa", | |
"bayesm", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hw831@ed0-rserve:~/common_setup_utils/R/Azure_HDI_Cluster_dev$ | |
sudo R --no-save -q -e "install.packages('devtools',repo='https://mran.microsoft.com/snapshot/2018-11-01')" | |
> install.packages('devtools',repo='https://mran.microsoft.com/snapshot/2018-11-01') | |
Installing package into ‘/opt/microsoft/mlserver/9.3.0/libraries/RServer’ | |
(as ‘lib’ is unspecified) | |
also installing the dependencies ‘fs’, ‘usethis’ | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 780k 100 780k 0 0 960k 0 --:--:-- --:--:-- --:--:-- 960k |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
H <- 365*2 | |
# READ IN to_share.csv here | |
full_model <- read.csv("to_share.csv") | |
m <- prophet( | |
yearly.seasonality = "auto", | |
weekly.seasonality = F, | |
daily.seasonality = "auto", | |
changepoint.range = 0.8, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> renv::install("topicmodels") | |
Retrieving 'https://cran.microsoft.com/snapshot/2022-06-25/src/contrib/topicmodels_0.2-12.tar.gz' ... | |
OK [file is up to date] | |
Installing topicmodels [0.2-12] ... | |
FAILED | |
Error installing package 'topicmodels': | |
======================================= | |
* installing to library ‘/Users/rahul/github/github.com/blog/quarto/renv/staging/1’ | |
* installing *source* package ‘topicmodels’ ... |