similar to: strange behaviour when converting from char to POSIX (PR#6423)

Displaying 20 results from an estimated 1200 matches similar to: "strange behaviour when converting from char to POSIX (PR#6423)"

2004 Jan 09
2
strange behaviour when converting from char to POSIX (PR#6422)
Full_Name: Christoph Schmutz, MeteoSchweiz, Switzerland Version: R1.7.1, R1.8.1 OS: windows2000, solaris sunOS 5.8 Submission from: (NULL) (141.249.133.6) I'm not sure if I don't get the clue, but please consider this: > strptime("19930870150","%Y%j%H%M") [1] "1993-03-28 01:50:00" > strptime("19930870250","%Y%j%H%M") [1]
2004 Jan 11
1
strange behaviour when converting from char to POSIX (PR#6427)
On Sun, 11 Jan 2004, Dirk Eddelbuettel wrote: > On Fri, Jan 09, 2004 at 06:01:27PM +0100, christoph.schmutz@meteoschweiz.ch wrote: > > Full_Name: Christoph Schmutz, MeteoSchweiz, Switzerland > > Version: R1.7.1, R1.8.1 > > OS: windows2000, solaris sunOS 5.8 > > Submission from: (NULL) (141.249.133.6) > > > > > > > > I'm not sure if I
2004 Oct 04
2
call step inside a function
I am wondering why my function works fine in R1.7.1 and R1.8.1 but not in R1.9.0. I thought it's an environment related problem but I can't solve it. >data weta jd 1 1 4 2 2 13 3 2 13 4 6 4 5 1 3 6 1 7 7 2 10 8 3 10 9 1 8 10 1 8 11 3 6 12 1 9 13 1 5 14 1 1 15 3 13 16 1 2 17 2 2 18 7 11 19 1 3 20 5 4
2007 Nov 09
1
fisher.test, chisq.test
Hi, I want to analyse a contigency table (3 x 12) with a fisher.test beacause there are cells that are less than 5. ?mmen Anken Baf Belchen H?chi Hof Porti R?m Schmutz Sch?n Sissa Tann class14 7 26 150 2 46 68 126 66 3 31 7 61 class24 7 6 55 5 49 71 93 90 1 18 16 79 class34 1 1 4 3 19 8 29 61
2002 Nov 08
1
Memory R and Windows2000
Hello, when using: rm(list=ls(all=TRUE)) and gc() command , and looking at the memory used by Rgui.exe in window2000 there is no change. this is strange . Actually I need to be sure that memory is given back to the system because the users of the application I wrote under R are opening and closing big files of data; can I rely on the gc() function under win2k? Vincent Demolombe
2008 Jul 28
1
Converting from char to POSIX:
Given char vector delme2: > str(delme2) chr [1:1065] "30-1-08 8:48:21" "30-1-08 8:55:17" "30-1-08 9:00:22" ... I do: > delme3 <- strptime(delme2,format="%d-%m-%y %H:%M:%S") But then: > str(delme3) POSIXlt[1:9], format: "2008-01-30 08:48:21" "2008-01-30 08:55:17" ... > length(delme3) [1] 9 whie >
2003 Aug 12
3
Sorting a dataframe
Undoubtedly a simple question: I've looked at order() and sort() in the help pages for R1.7.1. It doesn't appear that these functions are immediately suited to doing the same thing as PROC SORT DATA = BLAH; BY X Y Z; RUN; in SAS. I have also checked Frank Harrell's Hmisc library. Could someone point me in the right direction so I can sort by the levels of Z within the levels of
2004 Feb 09
2
data.frame to matrix
Hello all, I've had trouble converting a data.frame to a matrix (numeric) using either data.matrix() and as.matrix(). After executing one of those I end up with another data.frame with only the first column of the original data.frame. I use a window (tcltk) to let the user choose the columns he wants and then I retrieve them using the following: varstemp <-
2005 Feb 07
2
sys.on.exit not working (PR#7665)
Full_Name: Mark Bravington Version: 2.0.1 OS: Windows XP Submission from: (NULL) (140.79.22.104) 'sys.on.exit()' doesn't seem to be working, since R1.7.1 at least: soe.test <- function() { on.exit( cat( 'In exit code\n')) str( sys.on.exit()) # should display "language..." I think 12 } (A similar bug was apparently fixed for version 0.65!)
2003 Aug 06
1
System slow down (PR#3668)
Full_Name: Jeff Benjamin Version: 1.7.1 OS: XP Home Edition Submission from: (NULL) (131.202.163.72) Recently have been using R1.7.1 on a new laptop computer. System and software worked fine for at least two weeks. Now the entire OS slows down to the point where one would think it had frozen. I feel there must be a compatibility issue between R and XP Home (including auto updates / service
2003 Jul 17
1
Matrix Multiplication
R1.7.1/Win2k: Apologies if this posts twice - the first message was not in plain text. I have looked in help.start() and tried typing "crossprod" and "%*%" into the RGui to get an idea for what R is using as internal algorithms for its matrix computations/manipulations... to no avail. Could someone point me in the direction of some documentation? All I get for
2005 Feb 15
1
reading a 40kb csv file in R
I am trying to read a matrix of 5000*2000 from a csv file of real numbers in R using the scan function. I am getting an error saying that R can not read a vector > 32KB and it can't allocate a memory of 191 MB etc. What should I do. I am using R1.7.1. Thanks ===== Thanks Fairouz Makhlouf
2004 Apr 07
1
installing RMySQL
Hi, I have problems installing RMySQL under R1.8.1 and RHlinux (kernel2.4.7). During compilation I get: ** libs gcc -I/usr/lib/R/include -I/usr/include/mysql -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC -O2 -m486 -fno-strength-reduce -g -c RS-DBI.c -o RS-DBI.o gcc -I/usr/lib/R/include -I/usr/include/mysql -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC -O2 -m486
2004 Jun 03
1
catching the warnings
Hello, I'd like to catch the warnings in a variable in order to evaluate them, but... > tt<-warnings() Warning messages: 1: XML Parsing Error: test.xml:2: xmlParseStartTag: invalid element name 2: XML Parsing Error: test.xml:3: Extra content at the end of the document > tt NULL is there a way to achieve this (R1.8.1)? thanks, Marc
2004 Feb 04
5
nortest package
Hi, I'm a newbie and i am unable to use lillie.test in nortest I have a message: "Couldn't find function "lillie.test" I am under windows2000 with R1.8.1 nortest is listed with .packages(TRUE) How to do to use lillie.test function? Laurent Houdusse Analyste Programmeur
2004 Apr 04
1
Sporadic error in kalmanSmooth (PR#6738)
On Sat, 03 Apr 2004 21:34:25 -0400, you wrote: >Defining the following: > > set.seed(123) > > kalmanTorture <- function(iter) { > x <- arima.sim(model = list(ar=0.9, ma=0.5),n=150 ) > x[10:20] <- NA > mod <- arima(x, order=c(1,0,1) ) > for (i in 1:iter) { > smooth <- KalmanSmooth(x, mod=mod$model)$smooth > if (any(is.na(smooth)))
2004 Jan 29
1
setMethodReplace.. Help!
Hi! Trying to reproduce some examples from "Programming with Data" page 341. Can not reproduce it neither on R1.8.1. nor R1.9.0devel? library(methods) setClass("track",representation(x="numeric",y="numeric")) setMethod("[" ,"track" ,function(x,...,drop=T){ track(x at x[...],y at y[...]) }
2004 Feb 13
1
Problems loading dataset in Rcmdr
Hello all! I?ve been using Rcmdr for some time, as a quick way of producing graphics and basic statistics. I run R1.8.1, OS W2000. Two days ago the dataset loader stopped working. Normally, the button <No active dataset> is clickable to give you the opportunity to choose dataset to load in the Rcmdr context. Clicking on the button now produces this: Rcmdr Version 0.9-3 Error in parse(file,
2004 Mar 30
1
unexpected behavior in plot
I'm having difficulty getting plot to work with type="n", when either the x or y variables is a factor. For example, x <- 1:10 y <- 1:10 plot(x, as.factor(y), type="n") plot(as.factor(x),y, type="n") plot(y ~ as.factor(x), type="n") produce plots with data plotted, whereas plot(x,y, type="n") plot(y ~ x, type = "n")
2004 Mar 30
2
Sweave and graphic output locations
Hello, I'm using R1.8.1 on windows 2000 and version 1.8.1 of the tools package. I am attempting to have Sweave write files to a different directory via: testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "tools") ## create a LaTeX file Sweave( testfile, output = "C:/temp/Sweave-test-1.tex",