Displaying 20 results from an estimated 1000 matches similar to: "New R User Group in Toronto"
2010 Aug 17
1
TM Package - Corpus function - Memory Allocation Problems
I'm using R 2.11.1 on Win XP (32-bit) with 3 GB of RAM. My data has
(only) 16.0 MB.
I want to create a VCorpus object using the Corpus function in the tm
package but I'm running into Memory allocation issues: "Error: cannot
allocate vector of size 372 Kb".
My data is stored in a csv file which I've imported with "read.csv" and
then used the following to create
2010 Sep 30
1
Can this code be written more efficiently?
Dear users,
I'm working on binary classification problem using Support Vector
Machines (SVM). My objective is to train a series of SVM models on a
grid of hyperparameters and then select those that maximize the AUC
based on an independent validation sample.
My attempted code is shown below. It runs well on "small" data sets but
when I use it on a slightly larger sample (e.g., my
2012 Jun 20
0
formula method with "special" characters
Dear List,
I'm trying to create a formula method, allowing for a "special"
character in the formula (i.e., similar to for example the gam package
with the character "s" in y ~ s(x)). I've checked and it seems this is
done through attr(,"specials"). However, the section of code below (as
an example extracted from the gam package) gives me an error as shown at
2008 Aug 20
0
How to concatenate values from a time series and a forecast
Hi, All
I have a time series object:
o1ts
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2005 56 58 67 68 69 71 78 78
2006 84 83 86 97 103 123 120 134 131 127 135 137
2007 142 138 141 151 155 173 181 188 195 191 262 273
2008 283 295 311 327 334 340 361
And a forecast derived from it:
> o1fa
Point Forecast Lo 95 Hi 95
Aug 2009 374
2009 Apr 24
0
By= levels with the Hmisc summarize function.
Hi, All
I have a data frame as follows:
> attach(mf)
> names(mf)
[1] "centre" "complex" "appl" "pool" "month" "alloc_gb"
I want to summarize this as follows:
agg<-summarize(alloc_gb,by=llist(centre,complex,appl,month),FUN=sum,
na.rm=TRUE)
That seems to run fine but there something odd about the output. The
2009 Apr 22
1
How to make a time series object from a data frame containing dates.
Hi, All
I have a data frame like this.
> names(x)
[1] "month" "alloc_gb"
One of the columns contains the dates I want to use:
> data.class(x$month)
[1] "yearmon"
I would like to make a time series object out of this. However the ts
function seems to require me to spell out the starting date. Is there a
way to tell ts to use the date column I already
2009 Jun 26
1
How to create separate plots for all combinations of some factors
Hi, All
I have a data frame as follows:
> data.class(tapes)
[1] "data.frame"
> names(tapes)
[1] "date" "loc" "class" "drp" "data" "scratch"
"reclaim" "total"
Date is a date; loc, class and drp are factors; the rest are numerics.
I want to generate separate plots by date for the
2011 Jul 29
2
R DDD fortran
Is there an easy way to compile a packages's fortran so that it has the information for ddd or gdb to follow the lines of the code? I seem to remember seeing something about this, but I cannot find it in Writing R Extensions. (I see about Valgrind, debugging a segfault, and some other tricks, but what I really want is to follow the fortran logic.)
Thanks for any pointers,
Paul
2010 Mar 05
2
CRAN nearly down?
Is CRAN having trouble or is it just me? (The web interface is very
slow and install.packages() is timing out and giving me "service not
available").
Paul
====================================================================================
La version française suit le texte anglais.
------------------------------------------------------------------------------------
This email
2011 Feb 03
1
S3 method for S4 object
I am trying to extend an S3 method to work with an S4 object as well as the S3 objects it works with, but UseMethod does not seem to recognize the S4 class and dispatches to the default method. Is this to be expected or should I be looking for an error in my code?
If it is not an error in my code, is there an easy way to do this, or do I have to convert the generic to S4 and then make those
2010 Apr 19
1
utf8.def
I am trying to check my packages with R-rc and latex is failing to find
utf8.def. I presume my latex installation is defective or too old, or
is this file distributed with R and I just don't have a path set
correctly?
Paul
______________
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
!
2010 Oct 14
0
rc make error
With R-rc_2010-10-11_r53297.tar.gz I am getting
...
** building package indices ...
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/home/mfa/gilp/toolchain/R/src/R-rc/library/cluster/libs/cluster.so':
/home/mfa/gilp/toolchain/R/src/R-rc/library/cluster/libs/cluster.so:
undefined symbol: cl_daisy_
2010 Dec 29
1
R-forge out?
Is anyone else having trouble connecting to R-forge svn? (Perhaps I missed an outage announcement, or is it bad weather?)
Paul
====================================================================================
La version française suit le texte anglais.
------------------------------------------------------------------------------------
This email may contain privileged and/or confidential
2011 Feb 17
0
S3/S4/NAMESPACE
In one package (pk1) I define some S3 generics and methods. In pk2 I extend the methods to some S4 objects following the description in ?Methods, with setMethod() and setGeneric() either explicit or implicit (tried both). I export the S3 generic and methods from pk1 NAMESPACE and the S4 from pk2. This works, except when I try to use a function defined in pk1, Within the function the S4 method
2011 Nov 02
0
vignettes/
I am experimenting with putting vignettes in a vignettes/ directory as suggested in the new R release news. If I understand correctly, it is now suggested that the vignette source (.Stex in my case) should be in the vignettes/ directory and the pdf should be put in the inst/doc/ directory, for the case when it is not being built by R CMD build. I am getting an error (R-2.14.0):
(cd inst/doc ;
2009 Oct 13
1
beta build problem
I am having the following problem building
R-beta_2009-10-12_r50045.tar.gz
on
Ubuntu 9.04 - the Jaunty Jackalope
Paul
________
...
make[2]: Entering directory
`/home/paul/toolchain/R/R-beta/src/library/Recommended'
begin installing recommended package boot
gzip: invalid option -- 'x'
Try `gzip --help' for more information.
tar: This does not look like a tar archive
2011 May 06
3
fortan common block
Is it possible in R to call a fortran routine that sets variables in a common block and expect the values to persist when a call is made from R to a second routine that uses the common block?
If not (as I suspect), is it possible to use a common block in a group of routines that are used together, for as long the routines do not return to R?
Paul
2010 May 14
1
S4 default/missing args
I am trying to understand the missing vs default value for an argument
to an S4 method. (I'm not sure if this is a bug or my confusion.) In S3
I can specify a default value for an argument and then both check if the
argument was missing in the call, and use it because it takes on the
default value. I do not seem to be able to do that in S4 as shown by
this simplified example:
2014 Apr 08
1
Question regarding ssh and lxc
I'm trying to narrow down the source of a bug where a docker container sshd closes the connection after a successful authentication (https://bugzilla.redhat.com/show_bug.cgi?id=1085081) - filed with libvirt as there's no docker-io component for RHEL 6.5 in bugzilla.
One of the steps I'm taking is to reproduce a similar setup using LXC but while it seemed to have worked I'm not
2015 Aug 26
1
New users not visible within webmin
I have recently upgraded samba to 3.6.23-9.el5_11 and have noticed all
new users created can not be seen with using the samba config tool
within CentOS or within the samba webmin module.
I can manually log in and look the account information within the
smbpasswd file and can query it using pdbedit.
I need to be able to edit this information from within the webmin module
as there are a number