> I don't understand why read.table would have a problem reading
> directly from a socket instead of a textConnection. Is this a bug?
> Some subtlety in the semantics of socketConnection as opposed to
> textConnection? Incorrect parameters when opening the
> socketConnection?
No problem with soc
sly opened when running code -
since getConnection() requires a number and for that I need to know
the number of my previously opened connection. So how do I get the
number of textConnection that I open?
Sir any pointers would greatly help.
Thanks and regards
-Aval
>
> On Sat, May 16, 2009 at 8:
Hello;
I am new to R and trying to read a line from socket connection at a
time but at the end of script I am getting "closing unused connection"
warning. I am not able to understand how to solve this. I want to read
a line from socket and then use read.table/scan on that line but it
looks like I a
On Wed, Dec 17, 2008 at 9:09 AM, Jörg Groß wrote:
> hi,
>
>
> I want to append a string to a string like;
>
> x <- c("abc")
> append(x, "def")
paste (x, "def", sep="")
see ?paste
HTH
Aval
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mail
see ?paste
main = paste ("Main effect of ", variable)
> par(mfrow = c(n/2, 2))
> for ( i in 1:n)
> {
>plot(1:J, y[i, 1: J], main = 'Main effect of X_i')
> }
>
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLE
On Sun, Sep 28, 2008 at 12:55 PM, June Kim <[EMAIL PROTECTED]> wrote:
> Thanks for the reply, but RCurl looks like an interface to curl, which
> might be useful but it's not what I'm looking for. I am looking for a
> text to learn R.
I also had the same problem, I am new to R but not to programmin
Does ?I() help?
See
? I()
Regards
Aval
On Wed, Sep 3, 2008 at 9:30 AM, <[EMAIL PROTECTED]> wrote:
> R Users:
>
> I'm wondering:
>
> Why does my logical vector becomes a numeric vector when stuffed into a data
> frame? How do I change this so that it's retained as a logical data type?
> I
Hello;
I am trying following but getting a warning message : Warning in
rbind.zoo(...) : column names differ, no matter whatever I do.
Also I do not want to specify column names manually, since I am just
writing a wrapper function around getSymbols to get chunks of data
from various sources - oa
tasets methods base
Thanks and Regards
Aval S.
>> Lines.raw <- '"1,001.23""1,008,000.456"'
>> Lines <- readLines(textConnection(Lines.raw))
>> Lines <- gsub(",", "", Lines)
>> read.table(textConnection(Lines))
&g
Hello;
I am new user of R; so pardon me.
I am reading a .txt file that has around 50+ numeric columns with '\t'
as separator. I am using read.csv function along with colClasses but
that fails to recognize double quoted numeric values. (My numeric
values are something like "1,001.23"; "1,008,000.4
10 matches
Mail list logo