similar to: as.numeric with trailing spaces (PR#213)

Displaying 20 results from an estimated 4000 matches similar to: "as.numeric with trailing spaces (PR#213)"

2002 Sep 26
3
error with complex solve (PR#2068)
Full_Name: John Peters Version: 1.5.1 OS: Windows 2000 Submission from: (NULL) (130.155.2.3) solve(a,b) with two arguments gives an error if a is complex and b is a vector: > a_matrix(c(1,2+3i,3,2),ncol=2) > a [,1] [,2] [1,] 1+0i 3+0i [2,] 2+3i 2+0i > b_c(2,2+1i) > solve(a,b) Error in solve.default(a, b) : A must be a complex matrix > is.complex(a) [1] TRUE >
1999 May 10
1
format backslash behaviour
The following seems weird: > format("\pm2") [1] "pm2" > format("\\pm2") [1] "\\\\pm2" > i.e. it seems impossible to set up a x so that "format(x)" returns "\\pm2", and in turn "cat(format(x))" prints "\pm2". ("\pm" is latex for "plus/minus"). R is version 0.64 for win95. I want to
1999 Jul 21
4
reluctant to read win95 directory (PR#231)
Using rw0642 under win95, on executing from a directory on the c: drive: system("command.com /c dir", intern=T) there is a whirring from drive a: (empty), then the message appears in a dos box: General failure reading device aLP!!? Abort, Retry, Fail? Repeating the command a few times finally results in success with no whirring, after which there are no failures (even
1999 May 18
1
help pages not install lead to termination of R
I installed rw0641 from the binary rw0641b.zip but not the help files (not rw0641h, not rw0641w ). I do not like the MDI so I edited the ./etc/Rconsole to read MDI = no and I commented out #toolbar = yes #statusbar = yes and I even changed pagerstyle = singlewindows Now when I start Rgui, and do > ?ls causes R to crash, instead of reporting "help page not found". Is there
2007 Jul 14
3
Strange C programming problem
I've got this little program I wrote to test something, and it keeps giving the wrong result. I'm not inexperienced in C, but I can't believe strtof (et al) are broken, so I must be doing something wrong. However, I've spent hours looking at this and comparing it to the man pages and don't see what I'm doing wrong. strtod() and strtold() also give equally wrong results.
2010 Nov 19
3
File Offsets for SCP (patch)
I don't know if anyone would be interested in this but I'm including a patch to allow for offsets when transferring files with SCP. It's pretty simple and assumes the user knows what they are doing (for example, if transferring with a wild card the offset would apply to all files). -A is the number of bytes offset from the beginning of the files. -Z is the number of bytes inset
1999 Jun 08
1
Newbie with lme
Using Version 0.64.1 (May 8, 1999) Hi, Last time I used a stats package it was SAS so I have been struggling with the paradigm shift to R in particular the syntax for using lme (linear mixed effects model). My data relates to growth data and is set up with vectors for ID, several explanatory variables and the response variable. In contrast, the data object used in the lme examples, ie.
1999 May 11
5
matrix() can't handle NaN (PR#193)
Full_Name: Bill Simpson Version: 0.64.1 OS: linux Submission from: (NULL) (193.62.250.209) Here is the data file: x y z 1 1 1 1 2 2 2 1 NaN 2 2 4 >data<-read.table("~/junk.dat",header=TRUE) > data x y z 1 1 1 1 2 1 2 2 3 2 1 NaN 4 2 2 4 > matrix(data$z,length(y),length(x)) [,1] [,2] [1,] 1 4 [2,] 2 3 This is not the correct matrix. It seems
2006 Jun 01
2
Help: lme
Good day R-Users, I have a problem accessing some values in the output from the summary of an lme fit. The structure of my data is as shown below (I have attached a copy of the full data). id trials endp Z.sas ST 1 1 -1 -1 42.42884 1 1 1 -1 48.12007 2 1 -1 -1 43.42878 2 1 1 -1
1999 May 12
1
Memory crash. (PR#194)
I just had a memory crash with R-0.64.1. I am running under intel pentium 200mhz under slackware linux 2.0.30. 1/home/plindsey >gdb /usr/local/src/R/bin/R.binary core GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for
2006 May 30
1
Query: lme output
Dear R-Users I have a problem accessing some values in the output from the summary of an lme fit. I fit the model below: ggg <- lme (ST~ -1 + as.factor(endp):Z.sas + as.factor(endp), data=dat4a, random=~-1 + as.factor(endp) + as.factor(endp):Z.sas|as.factor(trials), correlation = corSymm(form=~1|as.factor(trials)/as.factor(id)), weights=varIdent(form=~1|endp)) hh
2006 May 15
20
[PATCH 0/3] xenoprof fixes
These patches address issues in the kernel part of xenoprof: * Ill-advised use of on_each_cpu() can lead to sleep with interrupts disabled. * Race conditions in active_domains code. * Cleanup of active_domains code. Comments welcome. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
1999 Jun 09
1
R correct g77 flags for Linux/Alpha (PR#208)
Hello, I was trying to compile R-base-0.64.1 on Linux/Alpha (RedHat 6.0). It compiled but it couldn't pass the make check (choked with tests/Examples/modreg-Ex.R). I used gdb, and it turned out that the src/library/modreg/src/sinerp.f was the problem. else if(j.eq.nk)then c1 = 0d0 c2 = 0d0 c3 = 0d0 endif > p1ip(1,j) = 0d0-
2016 Jan 07
2
Domain name search path use during PXE booting
Currently it appears that when PXE booting the domain search option is ignored and only the domain name option used for name resolution. The following patch adds support for domain search path usage when PXE booting: - adds parsing of the DHCP domain search option (119) - When resolving names via dns_resolv uses the search path if there's no dot in the name. - Reverts to the
2007 Aug 14
3
[Bridge] Re: BUG: when using 'brctl stp'
Bridge locking for /sys/class/net/br0/bridge/stp_enabled was wrong. Another bug in bridge utilities makes it such that this interface, meant it wasn't being used. The locking needs to be removed from set_stp_state(), the lock is already acquired down in br_stp_start()/br_stp_stop. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> --- a/net/bridge/br_sysfs_br.c
2019 Jan 11
2
strtoi output of empty string inconsistent across platforms
Identified as root cause of a bug in data.table: https://github.com/Rdatatable/data.table/issues/3267 On my machine, strtoi("", base = 2L) produces NA_integer_ (which seems consistent with ?strtoi: "Values which cannot be interpreted as integers or would overflow are returned as NA_integer_"). But on all the other machines I've seen, 0L is returned. This seems to be
2012 Feb 07
2
save method (create action) saves twice
Rails 3.1.3 I have changed a regular scaffold action a bit so that it can save using ajax. All I needed to do was adding ":remote => true" in <div id="script_new"> <%= form_for script, :remote => true do |f| %> <!-- HERE!!! --> <%= f.hidden_field :video_id %> <%= f.text_field :text %> <%= f.submit "save" %>
2019 Jan 11
2
strtoi output of empty string inconsistent across platforms
>>>>> Martin Maechler >>>>> on Fri, 11 Jan 2019 09:44:14 +0100 writes: >>>>> Michael Chirico >>>>> on Fri, 11 Jan 2019 14:36:17 +0800 writes: >> Identified as root cause of a bug in data.table: >> https://github.com/Rdatatable/data.table/issues/3267 >> On my machine, strtoi("", base =
2006 May 16
2
query: lme
Dear R Users I have difficulties accessing the variance components for an lme fit when the variance covariance matrix of the random effects is not positive definite. Can anyone inform me on how to get by this ? Thanks in advance Pryseley --------------------------------- [[alternative HTML version deleted]]
1999 Jun 09
4
packages with FORTRAN code
Recent sensible changes to the dynload mechanism have made an old problem resurface: how should we deal with packages which contain Fortran code and may need to be linked against additional libraries such as -lf2c? The current consensus is that extra Fortran libraries maybe needed are handled via the make variable FLIBS, and that `-lf2c' or `-lg2c' are added by default if g77 is used.