Displaying 20 results from an estimated 1000 matches similar to: "Sending a matrix in an email"
2013 Jun 10
1
Sending Email with Attachment
Hi,
I am trying to send an email through gmail or outlook from my Windows PC and
finding trouble to send the email.
The code which I am using is given below:
Code :
library("sendmailR")
from <- "abcd@outlook.com"
to <- <mailto:efgh@gmail.com> efgh@gmail.com
subject <- "Run at"
mailControl = list(smtpServer="blu-m.hotmail.com")
2013 Feb 20
1
Sending Email from R
Hi R experts,
I know how to send simple plain text message in body and how to send with attachments. This is thanks to stackoverflow reference below.
But I don't know how to send dput() output in the body of the email (or attachment) using sendmailR. I more interested in figuring out how to include it as part of the body of the email.
Does anybody have experience on how to do this?
2011 Jan 10
2
Calculating Portfolio Standard deviation
Dear R helpers
I have following data
stocks <- c("ABC", "DEF", "GHI", "JKL")
prices_df <- data.frame(ABC = c(17,24,15,22,16,22,17,22,15,19),
DEF = c(22,28,20,20,28,26,29,18,24,21),
GHI = c(32,27,32,36,37,37,34,23,25,32),
2005 May 30
4
Very simple traffic shaping script for H.323
Hello -
What I want to do seems very simple - I want to make sure any H.323
traffic gets processed before anything else entering or leaving this
network. The network has a videoconferencing device on the LAN at
192.168.16.4. A Linux firewall NATs an external IP Address to this
internal address and I have appropriate SNAT and DNAT rules that work.
The NAT and connection tracking rules all work
2014 Jan 23
7
[PATCH 0/7] Various fixes for Ceph drives and parsing libvirt XML.
Miscellaneous fixes to:
- Handling of Ceph drives now works end-to-end (RHBZ#1026688).
- In particular, you can now use rbd:/// URIs in guestfish (and
they work).
- Parse Ceph & NBD network drives from libvirt XML correctly, so
that existing domains with Ceph/NBD drives can be added
(eg. using guestfish -d option).
- Add more testing of the above.
2011 Dec 01
2
Counting the occurences of a charater within a string
I am new to R but am experienced SAS user and I was hoping to get some help on counting the occurrences of a character within a string at a row level.
My dataframe, x, is structured as below:
Col1
abc/def
ghi/jkl/mno
I found this code on the board but it counts all occurrences of "/" in the dataframe.
chr.pos <- which(unlist(strsplit(x,NULL))=='/')
chr.count <-
2014 Feb 03
1
[PATCH] hivex: python: value_value no longer generates Unicode strings
This fixes Github issue #2 reported by "kupiakos".
<https://github.com/libguestfs/hivex/issues/2>
---
generator/generator.ml | 2 +-
python/t/210-setvalue.py | 26 +++++++++++++++++---------
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/generator/generator.ml b/generator/generator.ml
index 908c5f3..02aaf12 100755
--- a/generator/generator.ml
+++
2009 Oct 02
3
break up a string into strings with a fixed length
dear all,
I have some very long strings and would like to break up each long string
into multiple strings with a fixed length, e.g. to break up
abcdefghijkl
into
abc, def, ghi, jkl
I tried a couple of commands but was not successful. Any help will be
appreciated.
Best,
Jimmy
--
View this message in context:
2010 Aug 23
3
sendmailR-package-valid code needed
## Not run:
from <- sprintf("<sendmailR@
to <- "<olafm at datensplitter.net>"
subject <- "Hello from R"
msg <- "It works!"
sendmail(from, to, subject, msg,
control=list(smtpServer="ASPMX.L.GOOGLE.COM"))
## End(Not run)
the above commands are provided in this document ie
http://cran.r-project.org/web/packages/sendmailR/sendmailR.pdf
2008 Jun 12
2
Request for added functionality - tracking and blocking attacks
Somebody please forward this, if this is not an appropiate place
to ask the OpenSSH developers for a new feature.
As many of us have seen, any sshd left open on the internet eventually
becomes the target of password guessing attacks. I am aware of
tools for scanning the security logs, and manipulating iptables to
block ongoing attacks, but I am not aware of a way to configure
sshd itself to
2014 Jan 15
4
[PATCH 1/4] hivex: Python 2.6 does not have sysconfig.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6785037..203f34f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -329,8 +329,8 @@ AS_IF([test "x$enable_python" != "xno"],
AC_MSG_CHECKING([for Python extension suffix (PEP-3149)])
if test -z "$PYTHON_EXT_SUFFIX"; then
2019 Jan 17
1
[hivex PATCH] ruby: improve test functions
Use better functions to check for proper values instead of assert:
- refute_nil for non-null functions
- assert_equal for checking equality
Also, make sure that the parameters for assert_equal are correct:
expected value, then got value.
---
ruby/tests/tc_120_rlenvalue.rb | 4 ++--
ruby/tests/tc_130_special.rb | 12 ++++++------
ruby/tests/tc_200_write.rb | 4 ++--
2013 Jul 09
1
Sending carbon copy mails from R
Hi,
I am using sendmailR package to send mails from R. I am not able to make
carbon copy work properly. If I specify multiple recipients in to field,
then they all receive individual emails and not carbon copies
My sample code is
require(sendmailR)
header <- list(cc="b.mali@abc.com")
to <-
2013 Jun 05
1
Send Mail R and Socket Connections
Good Afternoon All,
I am attempting to use the SendMailR function, I have checked with our I.T.
department that I am using the correct server and I have the right
permissions to connect and they have sent emails via this server but not
through R and I have also checked that the port should be 25.
The code:
/
# E-Mail #
library(sendmailR)
from <- "david at work.com"
to
2011 Nov 04
1
Creating a sequence from two samples with several constraints (frequency and repeats)
I'm attempting to create a sequence for an experiment and am hoping I can
use R to create it. It has several constraints:
(1) It is made up of two sequences (red and green) that have 4 different
repeating triplets (e.g. T1=ABC T2=DEF T3=GHI JKL)
(2) Each sequence has the following constraints: (a) there cannot be
repeating triplets (e.g. T1 T1), (b) there cannot be repeating triplet
pairs
2005 May 28
1
(PR#7899) seek(con, 0, "end", rw="r") does not always work
Tony Plate wrote:
> ligges@statistik.uni-dortmund.de wrote:
>
>> tplate@blackmesacapital.com wrote:
>>
>>
>>> I've noticed that seek(con, 0, "end", rw="r") on a file connection
>>> does not always work correctly after a write (R 2.1.0 on Windows).
>>>
>>> [Is a call to fflush() needed inside file_seek() in
2016 Oct 04
1
error handling in strcapture
It is also not catching the cases where the number of capture expressions
does not match the number of entries in proto. I think all of the
following should give an error about the mismatch.
> strcapture("(.)(.)", c("ab", "cde", "fgh", "ij", "lm"),
proto=list(A="",B="",C=""))
A B C
1 a b cd
2 d
2007 Apr 18
1
[Bridge] Setting the interfaces in promiscuous mode
Hello,
I have been using the bridging facilities provided by Linux (vanilla
2.6.7 SMP with UML skas host patch applied) to bridge a regular
physical ethernet network (on interface eth0) with a virtual network
(on interface tap0, cf uml_switch,
http://user-mode-linux.sourceforge.net/networking.html). A couple of
virtual machines (run using user-mode linux, a tool that enables you
to run linux
2010 Apr 08
1
Strange csv parsing problem
> url <- "http://dl.dropbox.com/u/41902/22240.csv"
>
> read.csv(url)[, 1]
[1] "oppose" NA "oppose" "support"
> read.csv(url, header = F)[, 1]
[1] "url"
[2] "http://maplight.org/us-congress/bill/109-hr-5825/387248"
[3] "http://maplight.org/us-congress/bill/110-hr-3546/378743"
[4]
2014 Aug 16
7
[hivex] [PATCH 0/6] Python fixes for node_set_value
Hi,
This patch series is based on a prior patch[1], splitting off changes as
requested and incorporating feedback from Richard Jones. It introduces type
validation to avoid segmentation faults (instead, it reports an exception) and
fixes handling of the bytes type in Python 3.
Major changes since that series:
- Drop newly introduced support for integer types for DWORD/QWORDS
- Reject Unicode