search for: rstuff

Displaying 20 results from an estimated 94 matches for "rstuff".

Did you mean: stuff
1999 Apr 14
2
character vector as input to function?
I would like to have a function that inputs a file name, then reads that data file and does various stuff to it. Something like: doit<-function(filename) { x<-scan("~/rstuff/data/"filename) #for example, if filename is a0.dat, it will scan("~/rstuff/data/a0.dat") ... } Can someone please tell me how to do this? Thanks for any help! Bill Simpson -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Re...
2004 Oct 05
1
How to install affy package in R?
Hello, I am trying to install affy package in R as follow: >R CMD INSTALL -l lib ~/rstuffs/affy_1.4.32.tar.gz Then I get an error at the end: Warning message: There is no package called 'Biobase' in: library(package, character.only = TRUE, logical = TRUE, warn.conflicts = warn.conflicts, [1] "ProgressBarText" [1] "initiali...
2008 Sep 05
1
Trouble with R CMD check: I can't seem to get dependencies right (maybe I'm using R_LIBS incorrectly?)
Hi there, I'm in the following directory: ~/Documents/Rstuff/diceFiles/dice_1.1 The directory "dice" is in this directory, with all the usual build files (DESCRIPTION, NAMESPACE, etc). I'm trying to run the following command: R CMD check dice (where "dice" is the name of the package I'm checking), and I get the following: * c...
1998 Nov 18
1
loading fortran with Redhat 5.1
Hi All, I'm running R 0.63 on Redhat 5.1 and when I attempt to load a fortran routine I get: > dyn.load("/home/royle/Rstuff/varna.o") Error in dyn.load(x) : unable to load shared library "/home/royle/Rstuff/varna.o" this function varna.o was compiled with: gcc -c varna.f with no errors or warnings. Does anyone have any thoughts on this? Thanks! (and thanks to everyone who replied to my previous qu...
2005 Jun 15
2
Reading Excel files...Error
hi, i am using the RODBC package to read .xls files. now after i installed the package and loaded the library and tried to read a file this is the error i got. >channel<-odbcConnect("D:/rstuff/1.xls") Warning messages: 1: [RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified 2: ODBC connection failed in: odbcDriverConnect(st, case = case, believeNRows = believeNRows) please help me. regards, vivek
2006 Sep 01
2
Local library under Windoze.
...cuted > install.packages("abind",lib="Lib") Everything went according to form (I got prompted to choose a mirror, etc.) until the end of the show when I got the warning message Warning: unable to move temporary installation 'C:\Documents and Settings\rolf\My Documents\Rstuff\Lib\file5f906952\Lib\file5f906952\abind to 'C:\Documents and Settings\rolf\My Documents\Rstuff\Lib\file5f906952\Lib\abind' [I have folded the foregoing warning --- which came out as a single line --- to make it fit in an 80 character wide screen.] [I was also told that the ``downloaded pa...
2009 Oct 11
2
Social networking around R
Hi R users, I'd be interested in what R users think about social networking around all things R. For this, I've set up a social network @ www.rstuff.socialgo.comand it would be great if you could post your comments on the forum created for this discussion. The News section has feeds from some of the R related blogs I've been following. I'm hoping for a central resource that keeps tracks of R related information, news, blogs, events and...
2010 Mar 10
1
R CMD check issue with soft-linked directory
...CMD check in the last couple of days, but now believe I have localized the issue. I had been running Ubuntu Hardy on one drive and then upgraded to Jaunty, but put Jaunty on a different drive. I continue to be able to boot Hardy when I wish. I soft-linked my R working area i.e., /home/john/Rstuff ----> /media/lnx804/home/john/Rstuff I can still build packages fine, but get john at nsrv-jaunty:~/jtest$ R CMD check minqa * checking for working pdflatex ... OK * using log directory '/media/store2/jn/test/minqa.Rcheck' * using R version 2.10.1 (2009-12-14) * using session chars...
2011 Dec 24
5
need help with a time series plotting problem
...f the previous year. so instead of getting 1 line (dated 2000-2009) in the plot i am getting 9 lines (1 line for each year). i tried to look for solutions online but found nothing. can someone suggest how can i make a plot with x-axis ranging from 2000-2009. my code is copied below: setwd("J:/Rstuff/flow") flow=read.delim("flow.dat",header=TRUE,sep="\t") plot(flow$usgs1500~as.Date(flow$date, "%m/%d/%y"),type="l",xlab="date",ylab="daily discharge (m3/s) ",main="USGS1500",yaxs="i", xaxs="i",) any hel...
2009 Jul 09
2
Mysteriously vanishing LD_LIBRARY_PATH
...oundation for Statistical Computing ISBN 3-900051-07-0 [....] > Sys.getenv("LD_LIBRARY_PATH") LD_LIBRARY_PATH "/home/hrapgc/local/R-2.8.0/lib:/usr/local/lib:/usr/lib/gcj-4.1.1:/home/hrapgc/Rstuff/library/asreml/libs" > q() Save workspace image? [y/n/c]: n However: R version 2.9.1 (2009-06-26) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 [...] > Sys.getenv("LD_LIBRARY_PATH") LD_LI...
1998 Mar 06
1
R-beta: image saved ps file
I include the argument pty="s" to image, but still when I make an image by the method > postscript("rstuff/test.ps") > tauseq<-seq(0,1,.5) > cif2d.image(x,,y,tauseq) > dev.off() the image plot created is NOT square. I thought pty="s" would make it square. Generally it would be nice if the image saved to disk were like the one we see while in R (X-windows). Are they any tips...
2010 Jan 07
2
Debugging issues encountered during the "R CMD check" process
..."R CMD check signal". Thank you for any insights that are provided as the R signal package is nice and it would be good to have it working again with R 2.9.x and beyond. Thank you again for the help. >From the 00check.log * using log directory '/Users/jasonkrupert/Documents/RStuff/Rsignal/r-signal/signal.Rcheck' * using R version 2.9.2 (2009-08-24) * using session charset: UTF-8 * checking for file 'signal/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'signal' version '0.6' * checking package dependencies ... OK * che...
2005 Aug 04
2
Using nonlinear regression
Hi, I have been trying to figure out how to use the nonlinear regression to fit the cumulative lognormal distribution to a number of data points I have but I am a new R user and I cant quite decipher the notes on nonlinear regression. Any help in this regard will be greatly appreciated, my email address is mmiller at nassp.uct.ac.za
2011 Mar 17
2
Incorrect degrees of freedom in SEM model using lavaan
I have been trying to use lavaan (version 0.4-7) for a simple path model, but the program seems to be computing far less degrees of freedom for my model then it should have. I have 7 variables, which should give (7)(8)/2 = 28 covariances, and hence 28 DF. The model seems to only think I have 13 DF. The code to reproduce the problem is below. Have I done something wrong, or is this something I
2011 Mar 07
1
WG: Reference classes: error with missing arguments in method calls
Dear list, a while ago I posted this at r-devel but got no answers. Hope it?s okay to give it a shot again by cross-posting it here. TIA for any comments, Janko Von: Janko Thyson [mailto:janko.thyson.rstuff at googlemail.com] Gesendet: Montag, 21. Februar 2011 00:58 An: r-devel at r-project. org (r-devel at r-project.org) Betreff: Reference classes: error with missing arguments in method calls Dear list, I?m having problems in understanding an error that pops up in the context of missing arguments...
2007 Dec 10
2
Tutorial for Basic Stats
Thanks in advance - am looking for a Tutorial for doing basic stats. I have already looked/looking at the R-intro.pdf at the R site. Regards BK [[alternative HTML version deleted]]
2008 Sep 06
3
new to R
hi im starting with R.....have no idea to start...plz help -- View this message in context: http://www.nabble.com/new-to-R-tp19342903p19342903.html Sent from the R help mailing list archive at Nabble.com.
2009 Jan 17
2
Where to start with R?
Hello again, I have tons of data files that I have to decide how/which subsets to extract. While researching data mining products I came across R. As a newbie, where do I start to start using this popular tool? Any help is appreciated. Thank you in advance. Regards, Subba Rao ewbie, where do I start to start using this popular tool?<br> <br> Any help is appreciated.<br>
2010 Apr 28
1
Interaction terms in logistic regression using glm
I recently became aware of the article by Ai and Norton (2003) about how interaction terms are problematic in nonlinear regression (such as logistic regression). They offer a correct way of estimating interaction effects and their standard errors. My question is: Does the glm() function take these corrections into account when estimating interaction terms for a logistic regression
2013 Mar 20
1
S4 Reference Classes: undesired behavior when calling method '$field()'
Dear list, I came across a behavior that IMHO is somewhat undesired when calling '$field()': If the field name whose value you're trying to get is *not* a valid field of the Reference Class, then R doesn't stop there with an error, but scans through all enclosing environments/frames. The result is something similar to calling '|get(<objname>, inherits=TRUE)|'