it looks to me that the names are cranked through make.names for
data frames case while that doesn't happen for matrices. Peeking
into the `colnames<-` code supports this idea, but that in turn
uses `names<-` which is a primitive and so defies further easy
peeking.
The data.frame function provides
Hi Duncan,
On Wed, Jan 23, 2019 at 10:02:00AM -0500, Duncan Murdoch wrote:
> On 23/01/2019 5:27 a.m., Jan T Kim wrote:
> >Hi Ivan & All,
> >
> >R's scoping system basically goes to all environments along the call
> >stack when trying to resolve an unbound vari
Hi Ivan & All,
R's scoping system basically goes to all environments along the call
stack when trying to resolve an unbound variable, see the language
definition [1], section 4.3.4, and perhaps also 2.1.5.
Generally, unbound variables should be used with care. It's a bit
difficult to decide wheth
read
> data: a<-read.csv("for_R_graphs.csv", header=T, sep=",")
>
> On Mon, Sep 24, 2018 at 2:07 PM Jan T Kim via R-help
> wrote:
>
>> Yet one more: have you tried adding quote="" to your read.table
>> parameters? Quote characters have a 50% chance
Yet one more: have you tried adding quote="" to your read.table
parameters? Quote characters have a 50% chance of being balanced,
and they can encompass multiple lines...
On Mon, Sep 24, 2018 at 11:40:47AM -0700, Bert Gunter wrote:
> One more question:
>
> 5. Have you tried shutting down, restart
Hi Rolf & All,
I haven't built R in a while, but my general expectation of an
autotools based build & install would be that the default prefix
is /usr/local, rather than /usr. So I'd expect the shared libs
in /usr/local/lib, /usr/local/lib64 etc.
I also have a recollection that I once installed R
s process several times,
> >> > so it takes so long to load the file first and then take the colnames!
> >> >
> >> > Thanks
> >> >
> >> > [[alternative HTML version deleted]]
> >> >
> >> >
6POCa8HrX7H4
> UBsPfwSEkOfyIEwq5drKjXF853nUNRVtd0cPA+mpo+5y/qIkGTiehMRlEGwcBBg7
> 6uNA8wpTuJI49tdY7rkVEIEGH34atwvBA1kwFYh1UfBzzIg+oRikHm1ZJ4UeJCM=
> =h9ju
> -END PGP SIGNATURE-
>
> __
> R-help@r-project.org mai
"");
should work with the Ruby client you try to talk to. Obviously, this
bloats the string rather more than necessary (particularly if most of
the characters are in the ASCII range), but if the volume you're
piping into the client is small, this ma
/stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
+- Jan T. Kim ---+
| email: jtt...@gmail
g guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the
_
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
>
he
majority of functions provided by standard packages don't operate on
environments, though.
Best regards, Jan
--
+- Jan T. Kim ---+
| email: [EMAIL PROTECTED]|
| WWW: http://
that there
should be a one-to-one correspondence between instances in the program
and objects in the "real world" (problem domain etc.), and having no
references makes achieving this difficult (and quite impossible for
more complex systems).
Best regards, Jan
--
+- Jan T. Kim
loating point processing)
> >> [0; 0.1; 0.1; 0.15; 1] - function should be > 1
> var(diff(c(0, 0.1, 0.1, 0.15, 1)))
[1] 0.1616667
Best regards, Jan
--
+- Jan T. Kim ---+
| email: [EMAIL PROTECTED]
s, nrow(X) = 400. How?
Adding the line
Sys.sleep(0.5);
to the loop should do this trick.
Best regards, Jan
--
+- Jan T. Kim ---+
| email: [EMAIL PROTECTED] |
| WWW:
backslash. Otherwise R will interpret them to terminate or start a string --
essentially as awk would do with double quotes just the same.
I'm still not convinced, though, that running that while loop using awk has
any advantages over programming it in R, but it's your choice...
Best re
ture, can you please describe explicitly how it "is not working",
and also give a bit more context, such as a few lines of description of
the content of temp.txt, and why you're trying to use awk (rather than R
itself) to achieve whatever you're trying to achieve?
Best rega
for (at least) 60 years!
>
> Hadley
>
> --
> http://had.co.nz/
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guid
e a "functionconnection" which works like a
textconnection but obtains input from / feeds output to a function.
This would allow running an external process that receives input
*and* provides output to R -- currently, p
20 matches
Mail list logo