Displaying 4 results from an estimated 4 matches for "pirnt".
Did you mean:
pint
2006 Feb 05
2
R socket communication
...example.
Thanks,
Pau.
The R server
FSsocket() <- function(){
print("Creating server on localhost")
conn <- socketConnection(server = TRUE, port = 7890, open = "r+")
print("Reading data")
aa <- readLines(conn)
print("end reading lines")
close(conn)
pirnt("Connection closed")
}
Note: I receive a "Creating server on localhost" and a "Reading data"
in the R console, but nothing else.
The PERL client
#! /usr/bin/perl
use strict;
use Socket;
# initialize host and port
my $host = shift || 'localhost';
my $port = s...
2010 Dec 01
0
thank you so much
...(as.Date('2010-11-30')) == "Monday", im supposed to find the monday return (2nd column)i create an array which includes the dates, let's call it dates. then when i plug in the dates into the following codesi=1while(i<14){if(weekdays(as.Date(dates[i])) == "Monday"){pirnt ("yes")}else {print("no")}i=1+i}the programe does not run properly.......cuz im expecting to see "yes" been returned (there is not any "no" returned, all of them are "yes"......). i guess dates[i] returns "2010-1-1", but the as.Date requir...
2009 May 28
4
some files vanished before they could be transferred
Hi,
I am getting "rsync warning: some files vanished before they could be
transferred (code 24) at main.c(1039) [sender=3.0.6]" now frequently but
while using rsync version 2.6, I used to get it rarely. Any idea would be
helpful on why rsync 3.0.6 is throwing this warning frequently.
Jignesh.
-------------- next part --------------
HTML attachment scrubbed and removed
2010 Dec 01
2
Welcome to the "R-help" mailing list
Hi there,
I am having problem of matching string. what i want is when i type a date such as 2010-11-30, the function will return the day (monday, tuesday, wednesday, thursday, friday or staturday). then i want another function will return true if the return of the day is monday, return false if the return of the day is not monday.
I already find the weekdays(as.Date('2010-11-30')) function