Re: [R] Windows Installation Without Third-Party Packages

2015-04-09 Thread Uwe Ligges
On 09.04.2015 23:16, John C Frain wrote: My understanding is that the packages installed with the windows installer were only updated by installing a new version of R or the patched install file for the current version. If this is the case you you do not need to be concerned about updates to t

Re: [R] Windows Installation Without Third-Party Packages

2015-04-09 Thread John C Frain
My understanding is that the packages installed with the windows installer were only updated by installing a new version of R or the patched install file for the current version. If this is the case you you do not need to be concerned about updates to these packages. Perhaps some one wiser that I

[R] Journal of Pure Algebra & Statistical Analysis (Call for Paper Publication)

2015-04-09 Thread jpasa
** Journal of Pure Algebra & Statistical Analysis ** Accepting submissions; please use the online submission system to submit your manuscript .. Call for Paper DOI prefix: 10.15520 CrossRef Membership **All the papers are Check by ithenticate / writecheck for Plagiarism** Submission Deadline:

[R] Journal of Pure Algebra & Statistical Analysis (Call for Paper Publication)

2015-04-09 Thread jpasa
** Journal of Pure Algebra & Statistical Analysis ** Accepting submissions; please use the online submission system to submit your manuscript . Call for Paper DOI prefix: 10.15520 CrossRef Membership **All the papers are Check by ithenticate / writecheck for Plagiarism** Submission Deadline:

[R] recursively rename dir and files

2015-04-09 Thread maxbre
this is my reproducible example setwd(".") dir.create("./my dir with space") dir.create("./my dir with space/my sub dir with space") file.create("./my dir with space/my dir file with space.txt") file.create("./my dir with space/my sub dir with space/my sub dir file with space.txt") now I need to

Re: [R] how to Subset based on partial matching of columns?

2015-04-09 Thread David L Carlson
>From Sarah's data frame you can get what you want directly with the table() >function which will create a table object, mydf.tbl. If you want a data frame >you need to convert the table using as.data.frame.matrix() to make mydf.df. >Finally combine the two data frames if your x column consists

Re: [R] Windows Installation Without Third-Party Packages

2015-04-09 Thread Jeff Newmiller
John's answer is correct but you might like one of the following summaries better. The short (baby bear) answer is no. A longer (papa bear) answer is that anything is possible if you dig deep enough. But the just-right (mama bear) answer is that you don't need to worry about it since users shou

Re: [R] Windows Installation Without Third-Party Packages

2015-04-09 Thread John McKown
On Thu, Apr 9, 2015 at 8:42 AM, Elliot Joel Bernstein wrote: > I am trying to install R for Windows, but when I use the installer provided > on CRAN, a number of third-party packages are installed by default (i.e. > lattice, Matrix, codetools, etc.). If R is installed with administrator > privile

[R] Windows Installation Without Third-Party Packages

2015-04-09 Thread Elliot Joel Bernstein
I am trying to install R for Windows, but when I use the installer provided on CRAN, a number of third-party packages are installed by default (i.e. lattice, Matrix, codetools, etc.). If R is installed with administrator privileges, so it's available for all users, non-administrators can't update t

[R] Using randtest in rlq works for one dataset, but not for the other....

2015-04-09 Thread Jacqueline
Dear knowledgeable people, I am running rlq analyses for two different datasets. Even though these datasets are quite similar, for one of them I receive the error: "Error in randtest.rlq(xtest, modeltype = 2, nrepet = nrepet, ...) : Not yet available" when applying randtest(pres.rlq) My firs

[R] KDE on a large dataset (15 million points)

2015-04-09 Thread Maurizio GIBIN
Hello everyone, I am having some troubles in calculating a kde surface from a datatable. The code is efficient in my opionion, but I have a problem on the output. After some modelling that is not relevant for the purpose of my question I obtain a data.table of around 15 million records (for half

Re: [R] extracting slot "coords" from a Polygons class object

2015-04-09 Thread Michael Sumner
Note that you can get everything (without recording its structure) with coordinates(as(as(x, "SpatialLines"), "SpatialPoints")) - also ggplot2 uses fortify methods to turn these objects into tables. Cheers, Mike. On Thu, 9 Apr 2015 at 22:57 Monica Pisica wrote: > Hi Sarah, > > > Thank you so m

[R] recommended references/tutorials for Rmpi (particularly on Windows), please?

2015-04-09 Thread Erin Hodgess
Hello! Has anyone worked with Rmpi on Windows, please? I have downloaded it and also got the Microsoft MPI. The tests work fine. I have worked with MPI on a cluster, using C and have done some work with Rmpi on Linux/Ubuntu. However, I was wondering if someone had a favorite site or text he/sh

Re: [R] Convert numerical value into function which returns numerical value

2015-04-09 Thread William Dunlap
You can make such functions by using the fact that a function (really, a 'closure') always has access to the environment in which the function was created. E.g. makeConstantFunction <- function(constant) { force(constant) # evaluate the argument now function(PAI) { constant

Re: [R] how to Subset based on partial matching of columns?

2015-04-09 Thread samarvir singh
Thank you. Sarah Goslee. I am rather new in learning R. So people like you are great support. Really appreciate you, taking the time to correct my mistakes. Thanks On Thu 9 Apr, 2015 6:54 pm Sarah Goslee wrote: > Hi, > > Please don't put quotes around your code. It makes it hard to copy and > pa

Re: [R] how to Subset based on partial matching of columns?

2015-04-09 Thread Sarah Goslee
Hi, Please don't put quotes around your code. It makes it hard to copy and paste. Alternatively, don't post in HTML, because it screws up your code. On Wed, Apr 8, 2015 at 8:57 PM, samarvir singh wrote: > So I have a list that contains certain characters as shown below > > `list <- c("MY","GM+"

Re: [R] extracting slot "coords" from a Polygons class object

2015-04-09 Thread Monica Pisica
Hi Sarah, Thank you so much. This is exactly what i need it. I was wondering if my parsing was totally wrong. I read the SpatialPolygons-class help, but obviously i didn't understand it. Again, thanks so much, Monica > Date: Wed, 8 Apr 2015 20:42:5

[R] Convert numerical value into function which returns numerical value

2015-04-09 Thread Rainer M Krug
Hi I want convert, in a function, an argument from a numerical value to a function which returns this value.: My Code: --8<---cut here---start->8--- dep <- 13 dep <- function() {dep} dep --8<---cut here---end--->8--- This

Re: [R] Coxme penalized log-likelihood mismatch

2015-04-09 Thread Therneau, Terry M., Ph.D.
The perils of backwards compatability During computation the important quantity is loglik + penalty. That is what is contained in the third element of the loglik vector. Originally that is also what was printed, but I later realized that for statistical inference one wants the loglik an

Re: [R] sorting means for plot in descending order (Luis Fernando Garc?a)

2015-04-09 Thread Manel Amado Martí
Re: Try with sort() function sort(x, decreasing = FALSE, ...) As you can see, u can set the argument decreasing=TRUE, then, it'll sort by decreasing order. For more details, call: help(sort) under R console Message: 23 Date: Thu, 9 Apr 2015 03:11:37 -0300 From: Luis Fernando Garc?a To: r-hel

Re: [R] sorting means for plot in descending order

2015-04-09 Thread peter dalgaard
> On 09 Apr 2015, at 08:11 , Luis Fernando García wrote: > > Dear R experts, > > I am newbie on the R use, now I want to sort my data by mean in a > descending and not acending order (like I have done so far). If any of you > could help me with this, it would be really appreciated! How about