similar to: C access to R libraries

Displaying 20 results from an estimated 2000 matches similar to: "C access to R libraries"

2004 Sep 01
1
obtaining exact p-values in mixed effects model
Hello, Using a fixed effects linear model (with lm), I can get exact p-values out of the AVOVA table, even if they are very small, eg. 1.0e-200. Using lme (linear mixed effects) from the nlme library, it appears that there is rounding of the p-values to zero, if the p-value is less than about 1.0e-16. Is there a way we can obtain the exact p-values from lme without rounding? used commands:
2004 Jul 20
9
Sort a data frame
Hi all I have the next data frame year STOD SLAGNR TAL TALT TALVEKT 1 2002 2120006 57 1 NA 1 2 1997 97030032 57 NA NA NA 3 1997 97030071 27 1 NA NA 4 1997 97030005 57 1 NA NA 5 1997 97020127 60 NA 1 NA 6 2001 1160025 27 1 NA 1 7 1998 98020069 60 1 NA NA 8
2004 Jul 05
4
extract columns from a dataframe
Dear R users, I'm coming back to R after while. I have a data frame with 200 columns, each column has a name. How to extract all columns to a new dataset, but the specified (by names) ones? I was playing with that for a little bit using the vector syntax but got several syntax errors. Thanks, Rado
2005 Apr 20
0
Fits & splines
Hello all, Do you know of convenient functions that can do: 1) a fit "f(x)" of data points with a spline, and *then* 2) weighted fits of other data points ** with a model of the form a*f(x-x0)?**? [i.e., the goal is to find a and x0, ideally with their covariance matrix], and 3) if possible, the same as (2) above, but with the same model *convoluted with a gaussian* (whose
2004 Sep 29
5
Warning: number of items to replace is not a multiple of replacement length
What does this warning mean precisely? Is there any reason to care about it? Can I Avoid it by another way of programming? Thank you in advance.
2004 Nov 19
5
help! a urgent question
Dear Sir/Madam, I am doing a project related to R. However, it is always difficult find some R functions. The R user guide seems not complete. Is there any free document about all R functions ? Who knows ? please help me. My email is myzhaogong@yahoo.com Thank you very much --------------------------------- [[alternative HTML version deleted]]
2006 Jun 07
2
how to read hdf files under R?
Hi! I am trying to install in my R environment the rhdf5 package and library but it seems to have vanished from either the CRAN or BioConductors sites. Can you tell me where it would be possible to find it or any R library (or function) able to read hdf files? Sincerely, Nicolas Degallier UMR 7159 / IRD UR182 Laboratoire d'Oc?anographie et du Climat, Exp?rimentation et Approches
2006 Apr 04
1
imaging and contouring
Dear R'Helpers and Colleagues, I have looked in the documentation, asked to some colleagues in the lab, but was unable to solve the following difficulty. I am running R on a iMac G5 with OS 10.4. The file below (73 rows x 144 col) shows the values of a climatic index on the globe with a grid of 2,5 ? x 2,5 ? (NA = no value): ? With image() and map() and running the following
2006 Oct 23
2
character manipulation
Dear R'helpers, I am reading lines in a .txt file Each line is stocked into a n elements object, as this: [958] " 422 287 339 31 203 602 547 1026 500 366 346 227" [959] " 410 67 11 220 110 451 562 598 732 163 163 220" [960] " 179 513 95 186 102 595 333 1289 804 210 294 459" [961] " 276 153 307 138 126 233 623 739 521 421 209 75" [962] " 64
2007 Oct 16
2
How to speed up multiple for loop over list of data frames
Hi there, I have a multiple for loop over a list of data frames for ( i in 1:(N-1) ) { for ( j in (i+1):N ) { for ( p in 1:M ) { v_i[p] = alist[[p]][i,"v"] v_j[p] = alist[[p]][j,"v"] } rho_s = cor(v_i, v_j, method = "spearman") rho_p = cor(v_i, v_j, method = "pearson"
2008 Feb 04
1
Java and Xalan
Hello, I have some problems running some tools of java in CentOS. Anyone know where is the problem for this? > [jv at localhost ~]$ java org.apache.xalan.xslt.Process > Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.xslt.Process > at gnu.java.lang.MainThread.run(libgcj.so.7rh) > Caused by: java.lang.ClassNotFoundException:
2008 Jun 16
4
extremely slow network connection
Dear all, on a brand new DELL computer CentOS 5.1 installs well, but the internet connection is extremely slow (8 kB/s, indeed kiloBytes !). Did anyone find a solution to that problem ? It might be more DELL specific than CentOS specific. Yours, Peter -- v v v v v v v v v v v v v v v v v v v v v > Peter Reinhardt | Ma?tre de Conf?rences
2005 Jun 26
2
(sans objet)
Ma premi??re question: puis-je ??crire en fran??ais, mon anglais est pire que pire. J'essaie en fran??ais; sinon, j'essaierai une traduction! Je sduis d??butant. Ma question est donc simple, j'imagine. Je travaille sur des tableaux de statistiques. Je prends un exemple: J'ai un "frame" que j'appelle "eurostat" qui me donne des statistiques
1999 Oct 13
1
smbmount --> df: /mnt/Archives: I/O Error
Hi, I mount //MYSERVER/Archives using smbmount //MYSERVER/Archives /mnt/Archives -N (MYSERVER is a NT SERVER box and the Linux box from which I smbmount is 2.2.13-7mdk. Everything is fine : [root@lima linux]# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda6 1981000 1373871 504718 73% / /dev/hda7 2873619 1746320 978700 64%
2008 Feb 13
4
rolling sum (like in Rmetrics package)
Hello, I'm new to R and would like to know how to create a vector of "rolling sums". (I have seen the Rmetrics package and the rollMean function and I would like to do the same thing except Sum instead of Mean.) I imagine someone has done this, I just can't find it anywhere. Example: x <- somevector #where x is 'n' entries long #what I would like to do is: x1
2012 Apr 25
2
On the Design of the R Language
http://www.cs.purdue.edu/homes/jv/pubs/ecoop12.pdf A new paper out on R the language -- I'm not all the way through it but it's been an interesting read so far. Thought it might be of interest to the list. Michael Weylandt [[alternative HTML version deleted]]
2007 Feb 16
2
if() for() { }
Dear R'helpers, I guess the solution is trivial but despite some hours of testing and looking at the doc, I was unable to fix the following problem. I want to do either: for (i in 1:lat) a[i,which(a[i,]==0] <- NA or: for (i in 1:lat) a[i,which(a[i,]==-9999|a[i,]==9999|a[i,]==9998|a[i,] ==-9998)] <- NA if the word "Time" is or is not present in variable
2006 Jun 09
1
How can i add a color bar with base package
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060609/ebee1cb2/attachment.pl
2015 Jun 15
0
Add on argument in seq()
Regardless of the value of the other arguments, the first element in the output of seq() is _always_ `from`. Hadley On Mon, Jun 15, 2015 at 9:56 AM, Millot Gael <Gael.Millot at curie.fr> wrote: > Thanks for your answer. > > The rational behind my proposal is why taking "from" when length.out=1, more than "to" or "NA", or " integer(0) " ?
2009 May 29
3
Why change data type when dropping to one-dimension?
Hello, First, let me say I'm an avid fan of R--it's incredibly powerful and I use it all the time. I appreciate all the hard work that the many developers have undergone. My question is: why does the paradigm of changing the type of a 1D return value to an unlisted array exist? This introduces boundary conditions where none need exist, thus making the coding harder and confusing. For