nexpected END_OF_INPUT 'The Data Org.
#> '
#>
#> People D (2021). _The Thing_. The Data Org.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {The Thing},
#> author = {{The Data People}},
#> organization = {The Data Org},
#&g
I have a function which is actually an output of another function and I
therefore cannot change it. I am trying to use *multiroot * from
package *rootSolve
* to compute the roots of the function but its not working at all. Is there
something I am not seeing or is there another alternative that is
This issue was now solved in TTR::stockSymbols() by package author
https://github.com/joshuaulrich/TTR/commit/98dec2b5aa68c3cee750397c7d11b164895e0140
Thanks for all the help and ideas.
Best,
Sam
On Fri, Jul 17, 2020, 13:54 Sam H wrote:
> Hello,
>
> Thank you very much to you all to
of read.csv I am now using data.table::fread() which properly (without
failing) downloads the file and reads it.
Best,
Sam
On Fri, Jul 17, 2020 at 4:30 AM ruipbarradas wrote:
> Hello,
>
> Yes, I thought it's a site policy issue too. But the file can be accessed
> and read/downlo
] compiler_4.0.2>
I also asked this question here
https://stackoverflow.com/questions/62898008/why-read-csv-fails-in-r-console-in-ubuntu-terminal-but-works-in-rstudio-after-r
. Since there was no answer on stackoverflow I sent this question also to
this list.
Best regards,
Sam
[[alternativ
s a much nice and prettier looking correlation plot but does it for all
variables.
I have tried putting mtcars$mpg and mtcars[,1] to only return the one row, but
neither seem to work.
Any ideas on how to do it using ggcorr()?
Thanks,
Sam
__
R-hel
data in with a simple read.csv statement:
calc <- read.csv("Fight.csv", stringsAsFactors = F, header = F) str(x)
Output: > str(calc)'data.frame': 38765 obs. of 1 variable: $ V1: chr
"tropical fruit\"" "whole milk\"" "pi
Thanks Jeff. And for future readers head here:
https://github.com/eddelbuettel/digest/issues/49
and here:
https://github.com/eddelbuettel/digest/issues/13
Sam
On Fri, Feb 28, 2020 at 3:40 PM Jeff Newmiller wrote:
>
> Read the closed issues in his digest Github repo first... this disc
t? You can use tryCatch to deal with problems
> opening or
> reading the file.
>
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
>
>
> On Fri, Feb 28, 2020 at 2:54 PM Sam Albers wrote:
>>
>> Thanks Jeff. I am probably not explaining myself very well but my
&g
in both of these functions?
On Fri, Feb 28, 2020 at 2:37 PM Jeff Newmiller wrote:
>
> Dunno. They agree for me. Maybe look closer at all permissions via Windows
> File Manager?
>
> On February 28, 2020 2:06:34 PM PST, Sam Albers
> wrote:
> >Some additional follow-up:
>
-1
Can anyone think why file.access and file would be contradicting each other?
Sam
On Fri, Feb 28, 2020 at 10:47 AM Sam Albers wrote:
>
> Hi there,
>
> Looking for some help in diagnosing or developing a work around to a
> problem I am having on a Windows machine. I am
se file.access is failing.
Any thoughts on how I can get file.access to return 0 for the remote.R
file? Any ideas?
Thanks in advance,
Sam
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-he
There is some issue with the plain text vs. HTML - please find the answer
again. If illegible kindly see the attached pic.
Best Wishes.
s.
x <- c('A', 'B', 'C', 'A', 'B', 'C')
y <- c(10, 5, 9, 5, 15, 20)
df <- data.frame(x,y)
df
f <- reshape(df, v.names = "y", idvar = "x", timevar = "y", directi
Dear Arnaud,
I just played around with your data a bit and found this to be useful. But
kindly note that I am NO expert like the other people in the group. My answer
to you is purely for help purposes. My knowledge in R too is limited. I used
the reshape function and arrived at something. I am
help. 'regexr' is still something I am digging into...
sam. **
On Sunday, 16 June 2019, 10:28:17 pm GMT+5:30, Bert Gunter
wrote:
1. Post in **plain text** not html, please.
2. This looks like a vector, not a data frame.
3. Use ?strsplit:
&g
Thanks a lot Boris, I tried out your worked out solution and it works just
perfectly fine. No doubt I need a lot of practice with regexr and the pattern
stated by you - I will do that now. Thanks a lot for pointing me in the right
direction. Appreciate it a lot.
Sam.
On Monday, 17 June
e a
separator and I am not being able to figure this out. Kindly please help me
with this.
Many Thanks in advance for your help. This is my first question ever to the
community so apologies if I have made a mist
I am
not being able to figure this out. Kindly please help resolve this.
Many Thanks in advance for your help. This is my first question ever to the
community so apologies if I have made a mistake in sending it to the wrong
group - kindly direct if that is the case.
sam.
ild it myself. Similarly
confusing is the lack of a . in the package name indicative of
anything?
Does anyone have any idea what's going on here? Am I missing something obvious?
Thanks in advance,
Sam
__
R-help@r-project.org mailing list -- To UNSUBS
<- "2017-01-01 12:00:00"
foo <- as.POSIXlt(datestring, tz = "America/Moncton")
foo
[1] "2017-01-01 12:00:00 AST"
foo$gmtoff
[1] NA
bar <- as.POSIXlt(as.POSIXct(datestring, tz = "America/Moncton"))
bar
[1] "2017-01-01 12:00:
othing occurs (there is no output file created, but also no error)
When I use RunningScript.R
{
commandArgs <- c(0.6,0.4,132)
source("Arg Script.R')
}
I don't get any args passed into the file. Instead getting the error
Not enough arguments, please supply 3, [% dbl
short vignette outlining tidyhydat's usage can be found here:
https://cran.r-project.org/web/packages/tidyhydat/vignettes/tidyhydat_an_introduction.html
The project page can be found here: https://github.com/ropensci/tidyhydat
Best,
Sam
___
R-packag
ess" seems unfortunate.
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net http://iris.org.il
http://mideasttruth.com http://thereligionofpeace.com https://jihadwatch.org
MS Windows: error: the opera
Dear R community,
I am happy to announce the publication on CRAN of the revengc package:
https://cran.r-project.org/web/packages/revengc/index.html
The statistical package revengc was designed to reverse engineer censored,
decoupledcensus data into a likely hhs x area uncensored contingency
ecommend users store the path as an option or as an environmental
variable? If I am storing credentials in an .Renviron file then maybe I
should store the path there as well?
More generally the question is can anyone recommend some good
discussion/documentation on this topic?
Th
South Pacific Ocean.
Suggestions and contributions are very much welcome at the rsoi github
page: https://github.com/boshek/rsoi
-Sam
___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
to check first to see if someone has already
accomplished this. I know this is a stretch but I thought it wouldn't
hurt to ask.
Thanks in advance.
Sam
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman
example? I had also tried substr()
but that fall apart with the 2.5 x 2.5 net.
Thanks in advance!
Sam
Example:
##dataframe
df<-data.frame(x=rnorm(10),
y=c("7 x 3","7 x 3","7 x 3","7 x 3","7 x 3","2.5 x
2.5","2.5 x 2
Thierry's answer of:
data.frame(
seq_along(iris),
colnames(iris)
)
is exactly what I was looking for. Apologies for vagueness and HTML.
It was unintended.
Sam
On Tue, Aug 25, 2015 at 8:32 AM, stephen sefick wrote:
> ?grep
>
> I think this will do what you want.
>
>
can
do something like this:
iris[,c(2,4)]
I feel like there must be a better way to do this so I wanted to ask
the collective wisdom here what people do to accomplish this.
Obviously this is a trivial example, but the issue really becomes
problematic when you hav
> * Bert Gunter [2015-08-17 10:27:58 -0700]:
>
>> qbinom(.025,1000,.001,lower=FALSE)
I don't think this is what I need.
I am looking for an inverse of binom.confint.
Sorry that my question was not clear.
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1348
http:/
ge of R's functionality.
Thanks in advance.
Sam
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide ht
numeric results is a slew of NA
values
zp$valuefactor<-as.numeric(as.character(zp$value))
## At this point I am unsure how to proceed.
zp
###
So I am just wondering how folks deal with this type of data. Any advice
would be much appreciated as I am looking for something that will reliably
wo
Good afternoon,
I am completed a linear regression model which I personally am happy with the
output and residual charts (although they are a bit bunched). I have been
using visreg() to visualise my data, and although I have logged the dependent
variable (as it is cost data), on one of the
I wonder if anyone has written some additional R code to perform
weighted logistic regression in the way of SAS PROC LGOISTIC WEIGHT
statement. I want to weight the sample using a vector of probabilities
generated from Dirichlet distribution.
It is known that the R function glm has a WEIGHT op
4", "163", "165", "169", "178", "2.3", "2.4",
"22", "24", "244", "27.2", "274", "3", "3.1", "40.2", "43", "50",
"516", "53.3
ols making it
difficult to deal with the numbers is a useful way.
So in sum any ideas on how I could subset the example below for only whole
numbers?
Thanks in advance!
Sam
#code
metals <-
structure(list(Parameter = structure(c(1L, 2L, 3L, 4L, 6L, 7L,
8L, 9L, 10L, 11L, 12L, 13L, 15L, 16
Hi all,
I've been struggling along with this for a while, so your help would be
greatly appreciated.
Using an array of prices from a T-SQL database for a number of stocks I
wish to calculate the volatility of returns for these stocks, which will
then be multiplied by the weight of that stock in a
-cut here---end--->8---
I thought that it should be identical to this:
--8<---cut here---start->8---
> strsplit(c("a,b;c","d;e,f"),"[,;]")
[[1]]
[1] "a" "b" "c"
[[2
> * Sam Steingold [2013-07-03 11:33:47 -0400]:
>
> Hi, I asked this question on SO but got no answers:
> http://stackoverflow.com/questions/17310825/r-promise-already-under-evaluation
Backlin explained on SO that the errors are to be expected: "..." is a
formal argument
[promise already under evaluation]] error?
What is the right way to pass threshold and exclude from
show.large.objects.stack to show.large.objects?
Thanks!
PS. I would prefer an answer on SO, but please feel free to reply using any
venue you like and I will copy your explanation to the other venue
Hello,
I would like to ask a question about using DTK.test() to do the T3 test.
The data file is downloadable here:
http://ubuntuone.com/0zBl8QgUg1lAG6iK1CUicD
My question is: in the result of T3 test, is it possible for the following
three statements to hold without conflict?
1. m_a and m_b to
le' objects, and thus `data.frame' objects too.
the igraph function graph.data.frame accepts data.frame as the first argument.
the igraph maintainers say that "it is not coming from igraph".
thanks.
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.10 (quantal) X 11.0.11
hey there
can i email questions to this address to get help with using R
thanks sam
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
-8<---cut here---end--->8---
pausing for tens of seconds to print each factor variable which have a
lot of levels.
Why?
(R version 2.15.3 (2013-03-01) -- "Security Blanket"
Platform: x86_64-pc-linux-gnu (64-bit))
--
Sam Steingold (http://sds.podval.org/)
> * Bert Gunter [2013-03-17 20:30:56 -0700]:
>
> I also think it fair to say that all (??) languages have these sorts
> of malapropisms due to operator precedence.
Except for those languages which do _not_ have "operator precedence".
Like, e.g., Lisp.
--
Sam Steingold
;s needed here.
Any insight is welcome here, including a different way of modelling this
population.
Many thanks, Sam.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
for their answers (to this
question, my many previous questions, and, I hope, my future questions
in advance)!
> On Sat, Jan 19, 2013 at 9:41 PM, Sam Steingold wrote:
>>> * Rui Barradas [2013-01-18 21:02:20 +]:
>>>
>>> Try the following.
>>>
>
> * Rui Barradas [2013-01-18 21:02:20 +]:
>
> Try the following.
>
> complete.cases(f) & apply(f, 1, function(x) all(x == x[1]))
thanks, this works, but is horribly slow (dim(f) is 766,950x2)
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X
I can do
Reduce("==",f[complete.cases(f),])
but that creates an intermediate data frame which I would love to avoid
(to save memory).
> * Sam Steingold [2013-01-18 15:53:21 -0500]:
>
> I have a data frame with several columns.
> I want to select the rows with no NAs (
b c
1 1 1 1
2 NA NA NA
3 NA 3 5
4 4 40 40
--8<---cut here---end--->8---
I want the vector TRUE,FALSE,FALSE,FALSE selecting just the first
row because there all 3 columns are the same and none is NA.
thanks!
--
Sam Steingold (http://sds.podval.
8---
however, this approach allocates and discards 2 vectors: a logical
vector of length=length(x) and an integer vector in which.
is there a cheaper alternative?
Thanks!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http:
>8---
however, the global d is not modified, apparently update modifies the
local copy.
so,
1. is there a way for a function to modify a global variable?
2. how would you vectorize this loop?
thanks!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
ht
Jonas,
I think f2si(0) should be "0", not "" as it is now.
Thanks.
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://ffii.org http://mideasttruth.com
http://thereligionofpeace.com http://iris.org.il http://truep
> axis(1, pos, lbl)
> axis(2, pos, lbl)
That's what I meant when I said "too much control".
I am happy with the way R selects positions.
All I want is a say in the way R formats those positions.
Think in terms of 100 being a variable.
To use axis, I will need to write a map
control for
this simple task.
thanks.
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://www.memritv.org http://jihadwatch.org
http://pmw.org.il http://americancensorship.org http://think-israel.org
Why do we want intelligent terminals w
t but that appears to be ignored too.
so, how do I tell lattice::xyplot to write charts in png files?
thanks!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://honestreporting.com
http://jihadwatch.org http://think-israel.org http:
ot attached):
> [1] R.methodsS3_1.4.2 tools_2.15.0
> A.K.
>
>
>
>
> - Original Message -
> From: Sam Steingold
> To: r-help@r-project.org; Richard M. Heiberger
> Cc:
> Sent: Monday, December 10, 2012 2:13 PM
> Subject: Re: [R] the value of the last express
ength 3 with content
--8<---cut here---start->8---
6 = 1+2+3
30 = 4+5+6+7+8
19 = 9+10
--8<---cut here---end--->8---
Obviously, I could write a loop, but I would rather have a vectorized
version.
Thanks!
--
Sam Steingold (htt
piler::compilePKGS(1)
--8<---cut here---end------->8---
> On Thu, Feb 9, 2012 at 9:44 PM, Sam Steingold wrote:
>
>> Is there an analogue of common lisp "*" variable which contains the
>> value of the last expression?
>> E.g., in lisp:
&g
[1,] Numeric,2
[2,] Numeric,2
[3,] Numeric,2
[4,] Numeric,2
[5,] Numeric,2
[6,] Numeric,2
[7,] Numeric,2
[8,] Numeric,2
[9,] Numeric,2
--8<---cut here---end--->8---
thanks!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 1
> * Steve Lianoglou [2012-11-27 12:53:23
> -0500]:
> On Tue, Nov 27, 2012 at 11:29 AM, Sam Steingold wrote:
>>> * Steve Lianoglou [2012-11-26 19:47:25
>>> -0500]:
> [snip]
>>> It just occurred to me that this is even better:
>>>
>>>
> * Steve Lianoglou [2012-11-26 19:47:25
> -0500]:
>
> On Monday, November 26, 2012, Sam Steingold wrote:
> [snip]
>
>>
>> there is precisely one country for each id.
>> i.e., unique(country) is the same as country[1].
>> thanks a lot for the suggest
e, TIBCO Software
> wdunlap tibco.com
>
>
>> -Original Message-
>> From: Sam Steingold [mailto:sam.steing...@gmail.com] On Behalf Of Sam
>> Steingold
>> Sent: Monday, November 26, 2012 4:09 PM
>> To: William Dunlap
>> Cc: r-help@r-project.
gt; Mean :3 Mean :2012-11-28
> 3rd Qu.:4 3rd Qu.:2012-11-29
> Max. :5 Max. :2012-11-30
>> summary(d$Delta)
> Min.Med.Max
> 1 days... 4 days...16 days
>
> My summary.difftime inherits from difftime so the format method is not really
>
ant the same min and max values to be replicated as
> many times as there are unique "country"s?
there is precisely one country for each id.
i.e., unique(country) is the same as country[1].
thanks a lot for the suggestion!
> R> result <- f[, list(min=min(delay), max=max(delay),
&g
> * David Winsemius [2012-11-26 08:46:35 -0800]:
>
> On Nov 26, 2012, at 7:14 AM, Sam Steingold wrote:
>
>> summary(infl), where infl$delay is a difftime vector, prints
>>
>> ...
>>
>>delay
>> string:c("492.00 ms", "18.08 min&qu
hi Steve,
> * Steve Lianoglou [2012-11-26 16:08:59
> -0500]:
> On Mon, Nov 26, 2012 at 3:13 PM, Sam Steingold wrote:
>>> * Steve Lianoglou [2012-11-19 13:30:03
>>> -0800]:
>>>
>>> For instance, if you want the min and max of `delay` within ea
ield in the original table infl which only depends
on share.id, how do I add this unique value to the summary?
it appears that "count=unique(country)" in list() does what I need, but
it slows down the process.
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise)
instead of something like
delay
Min.:492 ms
1st Qu.: 18.08 min
&c
so, how do I arrange for a proper printing of difftime summary as a part
of the data frame summary?
> * David Winsemius [2012-11-25 00:50:51 -0800]:
>
> On Nov 24, 2012, at 7:48 PM
-start->8---
> a <- summary(infl)
Error in summary.difftime(X[[22L]], ...) :
unused argument(s) (maxsum = 7, digits = 12)
--8<---cut here---end--->8---
I guess I should somehow accept a list of options in summary.difftim
R-FAQ.html#How-should-I-write-summary-methods_003f
what are the requirements on the class summary.foo?
does it have to inherit from some other class?
how do I define a class?
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.chi
efault', 'table'" as I assume summary must return.
if these are not valid issues, then I wonder why my function should not
be the system default method.
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://memri.org ht
string secs
Min.500.00 ms 0.5
1st Qu. 17.12 min 1027.0
Median 99.48 min 5969.0
Mean 8.30 hrs 29870.0
3rd Qu. 8.05 hrs 28970.0
Max.6.98 days 603100.0
--8<---cut here---end--->8---
--
Sam Steingold (http://sds.podval.o
x < 6000) return(sprintf("%.2f min",x/60))
if (x < 108000) return(sprintf("%.2f hrs",x/3600))
if (x < 400*24*3600) return(sprintf("%.2f days",x/(24*3600)))
sprintf("%.2f years",x/(365.25*24*3600))
}
--8<---cut here
Thanks Steve,
what is the analogue of .N for min and max?
i.e., what is the data.table's version of
aggregate(infl$delay,by=list(infl$share.id),FUN=min)
aggregate(infl$delay,by=list(infl$share.id),FUN=max)
thanks!
Sam.
On Fri, Sep 14, 2012 at 3:40 PM, Steve Lianoglou
wrote:
> Hi,
>
&g
> $ foo: num 10
>>
I am sorry, how is this different from my second snippet (except that
you use "x" and I use "z" and you use single quotes in paste and I use
double quotes)?
>
> On Mon, Nov 19, 2012 at 1:07 PM, Sam Steingold wrote:
>> How can I cr
ere---start->8---
> z <- list(10)
> names(z) <- paste("f","oo",sep="")
> z
$foo
[1] 10
--8<---cut here---end--->8---
thanks!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.
all combinations of 6 people as rows.
Then, for each row, make a vector that is just all the types of the people
in that row, a vector for the sum of the values, and a vector for the sum
of the wages. Then, keep only those rows which have the correct types and
wages under the max. Then, sort by th
ion isn't very interesting, but the answer
would be something like person C, D, E, F, G, and I (I didn't check to see
that those prices sum to less than $20).
How can I write a program that will do this? Can I just use the optimize
command? Do I have to transform my dataset into some
2. I find the num->char->num conversion repugnant and unacceptable.
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://www.PetitionOnline.com/tap12009/
http://truepeace.org http://honestreporting.com http://ffii.org
What was
ariables:
$ a : Factor w/ 3 levels "a1","a2","a3": 1 2 3
$ b.x: num 1 2 3
$ b.y: num 1 4 9
$ c.x: num 1 8 27
$ c.y: num 1 64 729
--8<---cut here---end--->8---
thanks!
--
Sam Steingold (http://sds.podval.org/) on Ubu
Hi,
> * Thibault Helleputte [2012-11-09
> 09:22:11 +0100]:
>
> The next release of LiblineaR should offer the possibility of using
> sparse matrices. However, the next release date is not fixed yet...
thanks.
> On Thu, Nov 8, 2012 at 10:07 PM, Sam Steingold wrote:
>>
> * Ben Bolker [2012-11-07 21:51:07 +]:
>
> Sam Steingold gnu.org> writes:
>
>> It would be nice if LiblineaR() accepted data in the form of a sparse
>> matrix (it does not accept whatever e1071::read.matrix.csr returns).
>>
>> It would also be nic
provides at least the input code.
Thanks!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://iris.org.il http://pmw.org.il
http://ffii.org http://dhimmi.com http://www.PetitionOnline.com/tap12009/
Sex is like air. It's only a big
uot;=tab[1])
nons seed.0 ## don't want ".0"!
1 2344600
> c("nons"=1, "seed"=tab[2])
nons seed.1 ## don't want ".1"!
1 6843
> tab
0 1
23446006843
--8<---cut he
> * Martin Maechler [2012-11-07 10:10:51 +0100]:
>
>>>>>> "Sam" == Sam Steingold
>>>>>> on Tue, 6 Nov 2012 13:08:30 -0500 writes:
>
> Sam> The question is even more pressing for me now given that I no longer
> can
>
ints to what libsvm can read.
> There is certainly a way to speed this up, but I am not likely to do
> this in the near future.
too bad.
> On 2012-11-06 19:15, Sam Steingold wrote:
>> David,
>> thanks for adding the feature.
>>
>> read.matrix.csr and, es
t;
> On 2012-08-27 21:15, Sam Steingold wrote:
>>> * jim holtman [2012-08-27 14:55:08 -0400]:
>>>
>>> Most likely when 'y' is converted to a dataframe (not sure what the
>>> function 'write.matrix.csr' does since you did not say where you go
is small enough).
> * Sam Steingold [2012-08-27 14:58:47 -0400]:
>
> When a sparse matrix is multiplied by a regular one, the result is
> usually not sparse. However, when matrix.csr is multiplied by a regular
> matrix in R, a matrix.csr is produced.
> Is there a way to av
earch/sparse/sparse.html
Packaged: 2012-03-18 19:39:05 UTC; root
Repository: CRAN
Date/Publication: 2012-03-18 20:55:08
Built: R 2.15.2; x86_64-pc-linux-gnu; 2012-11-05 17:46:36
UTC; unix
> * Sam Steingold [2012-11-05 12:40:25 -0500]:
>
> all
vector
what has happened?
how do I scale the matrix.csr object (to be written to a file)?
PS. write.matrix.csr is very slow: it takes
user system elapsed
1137.058 510.615 1649.925
to write the matrix "z" above.
thanks!
--
Sam Steingold (http://sds.podval.org/) o
> * Marc Schwartz [2012-11-04 12:33:20 -0600]:
>
> On Nov 4, 2012, at 12:22 PM, Sam Steingold wrote:
>
>>> * Bert Gunter [2012-11-04 09:48:58 -0800]:
>>>
>>> ?update.packages
>>
>> It is not obvious to me that this is the answer to my q
es() will
_not_ try to update it, but, apparently, at least for some packages, I
do need to rebuild them against the new R version 2.15.2.
Thanks.
> On Sun, Nov 4, 2012 at 7:01 AM, Sam Steingold wrote:
>> I have some packages installed using install.packages().
>> Do I need to reinsta
ching your R installation. In other
words: One way to fix your problem is to re install the Matrix
package in the version of R you are using.
So, will the bug reappear now?
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://openvotingco
do what I need.
I see that
identical(levels(concatenate.factors(a,b)),levels(a))
==> TRUE
DIUC that concatenate.factors does NOT create an intermediate vector and
then re-factor it?
Thank you very much for your insight!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.1110300
> * Jeff Newmiller [2012-10-18 07:53:24 -0700]:
>
> If you HAVE defined your factors using explicit levels definitions, you
> should have no trouble combining them.
http://article.gmane.org/gmane.comp.lang.r.general:277719
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04
> * R. Michael Weylandt [2012-10-18 16:01:37
> +0100]:
>
> On Thursday, October 18, 2012, Sam Steingold wrote:
>
>> > * Bert Gunter [2012-10-17 23:21:44 -0700]:
>> >
>> > However, Is level "5" in 'a' the same as level "5&
pped to a
character vector via letters, which is converted back to integers
(==factors).
IIUC, a factor is an integer vector which knows that the integers refer
to levels.
c(a,b) creates such an integer vector.
How do I tell it that it is a factor?
--
Sam Steingold (http://
> * Bert Gunter [2012-10-17 23:21:44 -0700]:
>
> However, Is level "5" in 'a' the same as level "5" in 'b' ?
yes, of course.
would anyone want to _different_ factors with identical string representations?!
--
Sam Steingold (http://sds.podval.org
1 - 100 of 392 matches
Mail list logo