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
#https://www.r-bloggers.com/send-emails-with-attachments-from-r-command-line/ | |
#load package | |
library(“sendmailR”) | |
#use string formatting and your system info to format FROM address | |
from <- sprintf(“<Project1@%s>”, Sys.info()[4]) | |
to <- “<[email protected]>” | |
subject <- “Test Email From R” |
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
public class HttpAsyncTask extends AsyncTask<String, Void, Integer> { | |
private Context mContext; | |
public HttpAsyncTask(Context context) { | |
mContext = context.getApplicationContext(); | |
} | |
@Override | |
protected void onPreExecute() { |