similar to: Merge (PR#9699)

Displaying 20 results from an estimated 8000 matches similar to: "Merge (PR#9699)"

2006 May 22
4
Sys.setlocale upsets windows graphics device (PR#8887)
Full_Name: Edward McNeil Version: 2.3.0 OS: Widows XP Submission from: (NULL) (203.170.234.5) Type the following: > Sys.setlocale("LC_ALL","C") > hist(1:10) CRASH
2007 Dec 12
1
Adding a survival object to a data frame (PR#10510)
Full_Name: Edward McNeil Version: 2.6.1 OS: Windows Submission from: (NULL) (203.170.234.5) I want to show students how the survival object looks like in R. Reproducible example: library(MASS) data(Aids2) attach(Aids2) status <- status=="D" stime <- death-diag surv <- Surv(stime, status) D <- data.frame(stime, status, surv) head(D,20) stime status x..i.. 1 176 TRUE
2007 Feb 13
2
anyone has C++ STL classes stability issue if used with R
Hello, is there any one who uses C++ STL classes when programming shared libs for R and has had any problems with STL? In the very simple example below I am constantly getting segfaults when trying to populate the queue. The segfault occurs at what looks like a random index in the loop when pushing another element to the queue. Reproduced on 4 machines. Object x is an Image as in EBImage,
2003 Dec 03
1
R and Memory
I would suggest that you make a more thorough search of the R-Archives. (http://finzi.psych.upenn.edu/search.html) If you do you will find this discussion has been had several times and that the type of machine you are running will have an impact upon what you can do. My feeling is that you are going have to knuckle down with the documentation and understand how R works and then when you have
2012 Nov 02
2
Merge data frame with mispelling characters
Hello dear R-helpers, I'm working with R-2.15.2 on Windows 7 OS. I'm stucked with a merge of two data frames by characters. In each data frame I got two different list of names, that is my main-key to be merged. To figure out what I'm saying, I build up a modified "?merge" example, with errors by purpose: # Data for authors: authors <- data.frame( surname =
2008 Jan 10
1
write.dta (foreign package)
Hi, I'd like to request that the 'write.dta' command also save the "var.labels" attributes of the data frame. 'read.dta' can read them, but 'write.dta' doesn't write them back. Thanks.... Edward McNeil -- Epidemiology Unit Faculty of Medicine Prince of Songkla University Hat Yai THAILAND (\_ _/) (='.'=) ('')_('') -- This
2007 Apr 05
1
data.frame backwards compatibility (PR#9601)
Full_Name: Victor Moreno Version: R2.5.0 OS: windows Submission from: (NULL) (68.40.63.169) This may not be a bug, but seems not yet documented. Some data.frames created with development version 2.5.0, when read in 2.4.1, show error: Error in dim.data.frame(chip23) : negative length vectors are not allowed A dump of the data.frame shows as last code: , row.names = as.integer(c(NA, -7269)),
2008 Apr 21
1
Analysis of Epidemiological Data Using R
Hi everyone, I'm studying the manual name: Analysis of Epidemiological Data Using R and Epicalc, maked by: Virasakdi Chongsuvivatwong and Edward McNeil. And I can't find the data base that they use in some examples, this are the names: Chapter7.Rdata,Chapter8.Rdata,Chapter9.Rdata Somebody can tell me how can I have this files? Thk! Jos? O__ ---- Jos? Bustos M. c/ /'_ ---
2009 Jul 02
1
Quantitative Risk Management by McNeil
Dear Specialists in R, May be somebody has experiment in using pakage for the book Quantitative Risk Management by McNeil? This package is writen in R. I have run this package for fitting the data to Nornal Inverse Gaussian distribution and fased with following problem. > Return<-read.csv("data.csv") > Transpose<-t(Return) > fit.NH(Transpose, case="NIG",
2007 Mar 10
2
read a irregular text file data into dataframe()
I am using R2.4.1 calling a text file contains the following data structure: when i call the file into R using tData<-read.table("c:\\test.txt") it gave me Error saying, irregular column in the data set however i need to use the below type of data Is there any alternative in R? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0010 0028 0061 0088 0010 0042 0084 0004 0010 0055 0010 0018 0040 0042
2008 Dec 01
1
factanal question
Dear R users: I'm wondering if it's possible to get the residual correlation matrix when using factanal. Since factanal assumes that the errors are normally distributed and independent (provided the factor model fits the data) this would be useful. Of course you would need to submit the data to the function to get the residuals (not just their correlation matrix), but it should be possible
2007 May 31
1
Mac OS X crash bug?
Hi all, I want to check if this is a bug for which I should file a report. I am using R2.5.0 on OS X 10.4.9. When I invoke the data editor and when I change the values of individual cells, it seems to work as intended. However, when I try to delete/add a row/column, R.app crashes. I've attached the crash log. Best, -Nathan -------------- next part -------------- An embedded and
2007 Oct 08
1
special characters in linux using dev.print
Hi List, I want to print ? in a lattice graph label. This works in windows, but the linux version has problems - it cannot translate the character. Error is "invalid input in mbcsToLatin1". I use the standard encoding and also dev.print(file="filename",dev=pdf, encoding="PDFDoc.enc") I am afraid I don't know enough about the linux font encodings to figure out
2007 Apr 10
3
sas.get problem
I have 3 SAS files all in the directory F:/sas, two data files and a format file : form.ea1.sas7bdat form.ea2.sas7bdat sas.fmts.sas7bdat F is a USB. I am trying import them to R using "sas.get". I have not used SAS since I was downloading data from mainframe and having to write JCL. I had forgotten how bizarre SAS can be. I currently have not even figured out how to load the files
2007 Aug 11
1
Connecting to database on statup
Hello, Q/ Is it possible to create a DBMS connection automatically on startup of R? (Making sure of course that the db server has been started...) I am running MySQL on Mac OS X 10.4.2 with R2.4.1. I have tried to write a function using the RMySQL commands (below) and place them in .First of .RProfile: drv <- dbDriver("MySQL") dbcon <- dbConnect(drv, {other parameters present in
2007 Mar 13
1
Rattle() GGobi()-Plots- How to save?
I am using R2.4.1 and using Rattle() Rattle() --> Explore--> GGobi I need to save the Scatter plot matrix in any type of image format. But it save as *.xml file how can i reterive the *.xml into *.bmp or *.png? I have tried the Export button in Rattle() not much options. Need the group help JJ -- Lecturer J. Joshua Thomas KDU College Penang Campus Research Student, University Sains
2011 Aug 19
0
retain class after merge
Dear All, is there a simple way to retain the class attribute of a column, if merging two data.frames? When merging the example data.frames form help(merge) I am unable to keep the class attribute as set before merging (see below). Two columns are assigned new classes before merge (myclass1, myclass2), but after merge the resulting column has class "character". best regards, Heinz
2007 Jan 28
1
Problems terminating RGui on Windows
I am running R2.4.1 under Windows. > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 4.1 year 2006 month 12 day 18 svn rev 40228 language R version.string R version 2.4.1 (2006-12-18) > Sometimes when I exit R I do it by right
2007 Jun 27
2
Loading problem with XML_1.9
Hello all, I have loading problem with XML_1.9 under 64 bit R2.3.1, which I got from http://R.research.att.com/. XML_1.9 works fine under 32 bit R2.5.0. I thought that could be installation problem, and I tried install.packages or biocLite, every time the package installed fine, except some warning messages below: ld64 warning: in /usr/lib/libxml2.dylib, file does not contain requested
2007 Apr 18
1
Memory increase in R
Dear All: Pleas help me to increase the memory in R. I am trying to make euclidean distance matrix. The number of low in data is 500,000. Therefore, the dimension of euclidean distance matrix is 500,000*500,000. When I run the data in R. R could not make distance matrix because of memory allocation problem. In order increase memory, I read the FAQ and follow the instruction as below: