Displaying 20 results from an estimated 400 matches similar to: "Programming ...."
1999 Nov 27
1
Re: Programming ...
From: Wade Maxfield <maxfield@ctelcom.net>
> Many thanks to the moderator who pointed out errors and suggested the
> correct information on this post. Over half the ideas are due to him. ;)
> 1. Programs put data in local variables in functions. These variables
> are on the computer stack. Feeding data to those variables (usually
> string variables) causes the
2003 Mar 30
4
cant set up a no password login
hi
have problems to get an samba server up that offers shares for all
without a password
heres my smb.conf file located under /usr/local/samba/lib/smb.conf
[global]
netbios name = DEATHB
server string = Samba %v on (%L)
workgroup = LANSTRIKE
encrypt passwords = yes
security = share
[homes]
browseable = no
[mp3]
comment = lmh
path = /var/glftpd/site/mp3/lame.r3mix/
browseable = yes
read only =
2004 Sep 29
1
Ordering of values returned by unique
Hi,
Is the ordering of the values returned something on what I can rely on,
a form of a standard, that a function called unique in R (in futher
versions) will return the uniq elements in order of they first occurcence.
> x<-c(2,2,1,2)
> unique(x)
[1] 2 1
Its seems not to be the standard. E.g. matlab
>> x=[2,2,1,2]
x =
2 2 1 2
>> unique(x)
ans =
2020 Apr 13
2
stringsAsFactors and type.convert()
If read.table() is defaulting to "character" instead of "factor" data type, shouldn't type.convert() also default to "character" in R 4.0.0?
This would seem like a good time to change the default to type.convert(as.is=TRUE), to align it with the new default in read.table and data.frame. I think many R >=4.0.0 users would be happy with as.is=TRUE as the default
2020 Apr 20
1
stringsAsFactors and type.convert()
Dear Martin,
Thank you for the well-reasoned response. I realized I was rather late to make this suggestion for 4.0.0, changing a somewhat low-level function that can indeed affect packages.
I was just reviewing some R user scripts that were using type.convert(), mainly on data frames. In all cases, people were passing as.is=TRUE, so I was reminded that I would not be the only user who would
2010 Sep 08
2
Drop single-dimensional array
Hi Simon, thank you for the concise reply.
Do you mean the reported behavior of drop() is not a bug?
It looks like a borderline bug to me (see below), but I'm not the judge of
that. If this is the intended behavior and serves an actual purpose, then
that could be explicitly documented in a \note{} on the help page.
Such a note would slightly reduce the surprise of users running into this
2003 Dec 09
1
arni.colors
Dear r-devel,
I have implemented a function to create color palettes with improved
contrast and logical order, compared with the built-in ones:
source("arni.colors.R") # code is given below
barplot(rep(1,100), col=arni.colors(100), space=0, border=0, axes=F)
par(mfrow=c(2,1)) # rainbow() has too much green...
barplot(rep(1,50), col=rev(rainbow(50,end=0.7)), space=0, border=0,
2006 May 23
1
Status: Provisioned, Down, Active - Long
Hi list!
I'm trying to setup Digium TE205P E1 card to work with my provider (and Ericsson BP 250 - this comes later). When I execute "pri show span 1" this is what I get.
pbxzg1*CLI> zap show status
Description Alarms IRQ bpviol CRC4
T2XXP (PCI) Card 0 Span 1 OK 0 0 0
T2XXP (PCI) Card 0 Span 2 UNCONFIGUR 0 0 0
pbxzg1*CLI> pri show span 1
Primary D-channel: 16
Status:
2002 May 02
3
Building own packages on Windows 2000!
Hi!
I encountered some things trying to build own packages under Windows
2000 for which i found no answer in the documentation.
First.
1. I do not found the rcmd.exe in the bin directory of R_HOME.
I installed R using the setup.exe
2. I updated the R intatllation with one of the zip files. (rw1041sp.zip)
now i had the rcmd.exe in the bin.
3. I do not found any hint in the docu that perl is
2011 May 26
1
Statistical mode
One descriptive statistic that is conspicuously missing from core R is the
statistical mode - the most frequent value in a discrete distribution.
I would like to propose adding the attached 'statmode' (or a similar
function) to the 'stats' package.
Currently, it can be quite cumbersome to calculate the mode of a
distribution in R, both for experts and beginners. The lack of a
2003 Sep 18
1
Reverse axis in xyplot()
Creating a plot with reverse Y axis is easy enough with traditional
graphics:
> x <- 1:3
> y <- 1:3
> plot(y~x, ylim=c(3,1))
+-----------+
1 | o |
| |
2 | o |
| |
3 | o |
+-----------+
1 2 3
But xyplot doesn't grasp my idea:
> xyplot(y~x, ylim=c(3,1))
+-----------+
3 | o |
| |
2 | o |
2000 Jan 14
2
Re: Security problems in bind -- persisting?
Kyle Ferrio:
> Unfortunately, his last act was to rm -rf /var/log so I don't know
> exactly how he got root. Definitely a remote exploit, though.
> Does anyone have advice on mirorring syslog to "secret" locations,
> preferably encrypted? Losing logs makes it hard to do a risk assessment.
> For all I know, I'm still vulnerable after updating bind.
As for safe
2016 Jul 28
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
I needed to be able to update stub pointers for hot functions that get
recompiled in a lazy JIT that uses CompileOnDemandLayer. In order to do
this I added a method that allows pointers to be updated but does not
expose any of the other internals of the COD layer.
Does anyone have a cleaner way to do this? Has something to facilitate
this already been added? Would it be possible to merge this
2010 Feb 11
1
Rounding multinomial proportions
I present you with a function that solves a problem that has bugged me for
many years. I think the problem may be general enough to at least consider
adding this function, or a revamped version of it, to the 'stats' package,
with the other multinomial functions reside.
I'm using R to export data to text files, which are input data for an
external model written in C++. Parts of the
2014 Apr 15
1
ASCIIfy() - a proposal for package:tools
Hi all,
I would like to propose the attached function ASCIIfy() to be added to the
'tools' package.
Non-ASCII characters in character vectors can be problematic for R
packages, but sometimes they cannot be avoided. To make packages portable
and build without 'R CMD check' warnings, my solution has been to convert
problematic characters in functions and datasets to escaped
1999 Nov 18
2
md5,des etc..
Hoping that this is not OT..
Hi
I want to write a simple perl script to see if my system supports des or md5
as the password encryption scheme..what is the easiest way..
one of course is to look at the /etc/shadow file and then parsing the passwd
field, any better way..??
Thx,
Arni
2003 Aug 20
1
Five functions proposed for base
Dear r-devel,
Among the R functions I have written and later shared with colleagues,
there are five that I hope will become a part of the R base package. The
tasks are neither specific nor marginal, so rather than creating one more
'misc' package, I would be happy if the R Development Core Team would
adopt these functions and hammer them into shape.
The functions are available from
2003 Feb 21
1
POSIX problem in New Zealand (PR#2570)
Full_Name: Arni Magnusson
Version: 1.6.2
OS: Windows XP
Submission from: (NULL) (210.48.49.68)
Hi there. I'm experiencing unexpected behaviour from as.POSIXct:
> as.POSIXct("1969-12-24")
[1] "1969-12-23 23:00:00 New Zealand Standard Time"
> as.POSIXlt("1969-12-24")
[1] "1969-12-24"
> as.POSIXlt("1969-12-24")+1
[1] "1969-12-23
2016 Jul 29
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
Hi Sean,
This is great, but it couples LogicalDylib too tightly to
CompileOnDemandLayer. Does this alternative implementation of
getLogicalModuleResourcesForSymbol work for you (unfortunately I don't have
a local test case for this yet):
LogicalModuleResources*
getLogicalModuleResourcesForSymbol(const std::string &Name,
bool
2003 Jul 02
1
Minor error in area() documentation (PR#3378)
Dear r-bugs,
The 'see also' link in help(area,html=T) is broken, see line 91 in
library/MASS/html/area.html:
"../../integrate/html/integrate.html"
should be
"../../base/html/integrate.html"
Regards,
Arni
OS: Windows XP
R: 1.7.1
MASS: 7.1-8