similar to: .rdata files

Displaying 20 results from an estimated 700 matches similar to: ".rdata files"

2007 Dec 05
2
converting factors to dummy variables
Hi all - I'm trying to find a way to create dummy variables from factors in a regression. I have been using biglm along the lines of ff <- log(Price) ~ factor(Colour):factor(Store) + factor(DummyVar):factor(Colour):factor(Store) lm1 <- biglm(ff, data=my.dataset) but because there are lots of colours (>100) and lots of stores (>250), I run it to memory problems. Now, not every
2007 Oct 26
1
Accessing scripts in a different directory on a Mac
Hi all. A question for knowledgeable folks using R on an Intel Mac running OS X 10.4.10 For ease of maintenance, I have broken a large R script into a main script which ?oversees? things by calling other scripts, using ?source?. Let?s call the secondary scripts ?sub-scripts.? I?d like for the sub-scripts to reside in a different directory (again, for ease of maintenance, and so I can access
2008 Aug 08
1
Vista problem -- can't type commands at prompt
Hi All - I recently moved to Vista and reinstalled R. I am able to run R as I typically do (R.exe from the command prompt), and it can work well. However, if I switch windows to, say, firefox or excel or anything else, when I return to the R prompt it no longer works. I am able to use the up and down arrow keys to access previous commands, but no other key stroke has any impact. As long as I
2007 Dec 27
2
Help with lm and multiple linear regression? (Plain Text version)
(Apologies the previous version was sent as rich text) Hello, I'm new to R, but I've read the intro to R and successfully connected it to an instance of mysql. I'm trying to perform multiple linear regression, but I'm having trouble using the lm function. To start, I have read in a simply y matrix of values(dependent variable) and x matrix of independent variables. It says both
2006 Nov 21
1
R-squared with and without constant
Greetings Listers! the R-squared value reported by summary of lm is calculated as 1 - RSS/RSS_m where RSS_m is the residual sum of squares of a minimal model. In most cases, the minimal model is simply y = mean(y), but when a constant is left out of the model, the minimal model is y = 0. However, if you manually add a constant, R still considers y = 0 the minimal model. This also causes
2006 Nov 01
1
Position of a specific letter in a character string
Dear useR, x is a character string In R: > x<- '32159_3' Which function could enable me to determine the position of underscore in x? In here, the underscore is on the 6th digit of x. --- Yours Sincerely Leon [[alternative HTML version deleted]]
2007 Oct 22
2
Matrix manipulation
Hi everyone, suppose I have a 2D matrix, is there a command to snip out a specific row/column and then remerge the remaining columns/rows back into a contiguous matrix? I will need to repeat this operation quite a bit(reverse selection). Thanks for any insights you can offer. Yifei
2006 Nov 17
2
Large data Problem
Hi R-Experts, I'm having a problem with reading a large data file which is in .csv format and size is 120 MB (app.). I was trying to use RODBC package but I found RODBCconnectExcel function only. And can I convert this file to .dbf format? How can I read this file? And also let me know if this was a file in .sas7bdat format, what should I do? Thanks in advance.
2007 Oct 23
2
A very simple question
Hi all, My apologies for a very simple question. I just downloaded R 2.6.0. I want to bring in all of the objects from 2.5.0 that I see when I type ls(). I have no idea how to do that. Thanks in advance. David -- ======================================================================= David Kaplan, Ph.D. Professor Department of Educational Psychology University of Wisconsin - Madison
2007 Oct 29
1
lm design matrix bug?
Hi All Maybe I dont understand it, but I would have expected that the design matrix has as many rows as there were observations available to fit the model. Below a small artificial dataset created, then one model fitted and the design matrix outputted, having 27 rows. Then I delete 6 obs, and fit the model on these 21 obs, but the design matrix that comes out has 26 rows? Thanks for your
2006 Nov 08
2
chisq test with for loop
Hi all. i am desperating. i need a matrix of p.values from an chi square test. i had it already work but than my computer collapsed when taking the whole data set 800x260 into account. i am sure it looked like this but it doesn't work now. can anybody help me? thanks in advance. x=read.table("C:\...) d=ncols(x) z<=matrix(0,d,d) for(i in 1:d) for(j in 1:d)
2005 Mar 23
2
0.11 problems
I''ve upgraded to 0.11 this morning specifically to test out the pagination stuff. When that didn''t work (didn''t recognise the command) I deleted my project and recreated from scratch. So in short rails projectname cd projectname edit config/database.yml (my database is postgres by the way) ruby scripts/generate model Recordtype ruby
2008 Jul 25
1
Newbie Questions
I am new to Linux (not to R) and I am experimenting with a Linux machine with Debian etch and the Gnome desktop environment installed. Since the stable release has R2.4 I elected to build R from sources and was able to successfully install R2.71. I had some trouble installing some packages (specifically the XML package) and saw advice on the list on how to install R binaries using aptitude. Now,
2006 Nov 27
2
[R-sig-Geo] plot() and Jpeg() increase font size and resolution
Thanks to Edzer and Roger, I can now plot with increased font sizes. However, jpeg still does not reproduce these, nor does it show up in high quality. What I would like to do is produce some highresolution jpegs. Any help would be appreciated Thanx Herry R2.4 on Mandriva 10.2 linux. Dr Alexander Herr Spatial and statistical analyst CSIRO, Sustainable Ecosystems Davies Laboratory, University
2011 Aug 25
3
Very Basic Source Question
I'm having an issue sourcing an R file from my workbench using StatET in the Eclipse IDE. All I'm trying to do is get comfortable with 'source' and run "source(C:/Program Files (x86)/Eclipse/eclipse/ProjectName/SourceFile.R)". When I try to call the path for the file i get the error: "unexpected '/' in "source(C:/". I've looked around but
2007 Oct 01
1
tricky problem with "if" function -
Hi all, This question involves using a "for" loop to make a "decision" in a script. I've written a rather intricate script, and near the start of it, I want it either to do a loop (if a variable called "number.runs" > 1) or not do a loop (if "number.runs" is 1). This is probably trivial but I can't figure it out. Here's a self-contained
2010 Sep 15
2
Get File Names in Folder, Read Files, Update, and Write
Dear All, Could you please recommend how I can do this? I have several text files in one folder. Let's name them A0801.RSK, A0802.RSK, .... I would like R to 1) Know all file names in this folder 2) Update value in one column of these files 3) Write results in another text file with _xval in the file names Below is R code for read, update, and write one file
2009 Aug 06
1
creating MS Access query objects using RODBC
Hi - I'm trying to use R to create an MS Access query object. In particular, I would like to pass a given sql statement to a variety of Access files and have that sql statement saved as an Access Query in each db. Is this possible using R? I'm aware that I could use RODBC sqlQuery and write sql to make a table or that I could run the sql, extract it to R, and then use sqlSave to save the
2007 Jan 06
1
transferred files have ",v" at their end
Hi Guys, When I transfer files with rsync to my server, all the files get a ",v" added to the extension. Do you know why is this? I am using the command described on sourceforge rsync -av rsync://PROJECTNAME.cvs.sourceforge.net/cvsroot/PROJECTNAME/* . and I get files like "build.xml,v" If I do a search for the exact phrase with search engines, "build.xml,v", I can
2007 Oct 25
2
the difference between temp and .temp
Hi everyone - This came up within the last day -- Jim's response to Deepankar is pasted below. There are probably lots of reasons, but what is the advantage to using .temp over, say, temp? I often find myself writing temporary objects -- should I use the . preface? What would be the advantages to doing so? Thanks in advance for what will surely be a collection of illuminating responses.