Displaying 20 results from an estimated 6000 matches similar to: "Simple bar plot question"
2004 Nov 05
3
Resources for optimizing code
I want to eliminate certain observations in a large dataframe (21000x100).
I have written code which does this using a binary vector (0=delete obs,
1=keep), but it uses for loops, and so it's slow and in the extreme it
causes R to hang for indefinite time periods.
I'm looking for one of two things:
1. A document which discusses how to avoid for loops and situations in
which it's
2003 Mar 14
2
numbers and decimal points
I have a question for our European readers: how common is it to use
commas as decimal points in spread-sheet and statistics applications?
Is it an inconvenience to require that all data use a period as decimal point?
(i.e., 3.14159 rather than 3,14159).
We're trying to make our program as foolproof as possible, and would
prefer not to give users a chance to have commas as both decimal
2003 Apr 08
2
use of variable labels
The R documentation for some of the foreign package's functions says
that the set of variable labels becomes attributes in the resulting
data frame.
Thus, e.g., 5="strongly agree", 4="agree", etc.
I'm happy that the labels are being passed, but unfortunately, when
R summarizes the data, it will list it only as categories, and
doesn't deal with the
2004 May 04
3
increasing memory
Hi. I want to use R with very large files, a couple hundred megabytes,
but R crashes every time that I try.
Reading help files seems to indicate that R ought to manage its memory
itself. I know I have enough memory since stata handles these files
perfectly well. I have a mac running OS 10.3 and am running RAqua 1.8.1.
Is there anything I can do to make it deal with these files successfully?
2009 Aug 18
1
Strange package installation error
Hi. I'm trying to install a new package. I'm a relatively long-time
(though not advanced) R user and have never seen this error before.
For the first example, I tried a few different CRAN mirrors. In the
second example, the file does exist; I downloaded it from the CRAN
website for the package and pasted in the name exactly a few different
times to make sure it was right.
>
2010 Jan 10
1
xmlToDataFrame#Help!!!#follow-up
Dieter Menne pointed out that the (small) xml attachment didn't make it.
Here is an in-line version (see end of message). Let's hope it works
this time.
I'm struggling with interpreting XML files created by ADODB as
data.frames and I'm looking for advice.
Note:
This xlm contains a result set which comes from a rectangular data
array. I've been trying to play with
2004 Mar 25
1
domain admins and Samba 3.0.2
Hi
I've been running Samba 2.x for years but decided to move up to 3.0.2. I've set
up a new samba server with a workgroup NEWBIOSS and netbios name PARETO.
Im having problems setting up my domain admins.
I used
'net groupmap modify "Domain Admins" unixgroup=domadmin'
my 'net groupmap list' shows :
System Operators (S-1-5-32-549) -> -1
Replicators
2017 Dec 12
5
problems with share permissions
Hi
I had a few test shares created and they were working fine. Users could
read or write depending on the windows group that was defined on the
share. I have since removed the test shares and created the file
structure needed and setup the smb.conf file with the share names. I
have also setup the groups and assigned them to the respective
directories. Problem is the users can connect to
2002 Jul 09
1
Windows 2k/XP and roaming profiles
Hi
I'm finding it takes ages to download a roaming profile from the server
when I log into Win2k or XP. A 4Mb profiles typically takes about 2
minutes (and 2 minutes to write back when I log out).
I did a test and copied the profile directory from the server to my PC.
Running under Win98 takes 1-2 minutes. Under 2K/XP it takes nearly 5
minutes. However, a single file of 4Mb only takes about
2008 Dec 06
2
How to calculate words in column?
Hi,
I have a table for an 1 week exam result for many classes in school, like
this:
Day Class_ID Test Result
1 Monday 1 Paper Passed
2 Tuesday 1 Oral Passed
3 Friday 1 Paper Passed
4 Monday 3 Paper Passed
5 Sunday 3 Oral Passed
6 Monday 3
2003 Apr 01
1
Windows GUI palimpsest
Windows (both XP and 98) seems to have a problem with our GUI, written
using R's tcl/tk package.
When we open another window, and then return to the GUI, the GUI has old
pieces of text left from the previous windows and/or places which are
cut off where a window had been.
Also, when it computes something, the window will often decide to move
itself over for no apparent reason, so it moves
2005 May 17
1
install.packages parameters
Hello.
R is having some trouble installing a package because it passed arguments to
gcc which were non-existent directories and files. It also didn't find
g77, although it's in a directory in my $PATH; I tricked it by making a
sym link in /usr/bin.
What file does R get these parameters from?
I've looked for the parameters in the package source, the install.packages
help
2005 May 30
1
Joining Sun NAS to samba domain
Hi
I have successfully joined my Sun NAS device to my Samba PDC (version 2.2.10,
security=user, encrypt passwords=yes)
However, when I try to map a drive to \\nas\home it wont accept my (correct)
password and the NAS log says :
NetrSamlogon[BIOSS\janet]: SAMBA_ACCESS_DENIED (Samba PDC)
Have I missed something ? Do I have to set up a trust account or is it to do
with encrypted passwords ?
--
2014 Apr 14
2
PXE booting UEFI
Good Afternoon,
As per the installation guide, section 30.2.2 I?ve created an efidefault file at /var/lib/tftpboot/pxelinux/pxelinux.cfg/efidefault
However, this file is never requested by the 64 bit PXE loader (bootx64.efi), as shown by tcpdump:
75 RRQ "/pxelinux/42272635-0011-5053-ACF2-82A100E615F2" octet tsize 0 blksize 512
59 RRQ "/pxelinux/01-00-50-56-A7-BA-BF"
2010 Feb 11
2
SAS and RODBC
I am using R-2.10.1 binary from CRAN on a WinXP Pro system. I also use SAS v9.2 on the same box. I just started using the SAS ODBC driver that comes with version 9 of SAS. I have been able to set up an ODBC source for SAS datasets using the driver, and then with RODBC I am able to read a sample SAS dataset.
> library(RODBC)
> ch <- odbcConnect('sasodbc', believeNRows=FALSE)
2011 Feb 17
3
summing 15 minute precip data to daily
Hi all,
i'm sure there is an easy way to do this, but i'm stumped, so any help would
be appreciated.
i have a single column of data for precipitation every 15 minutes over a
year. i want to sum the precip to daily data.
so the first 96 records = the first day, the second 96 records = the second
day, and so on....
is there a way to write a for loop that would sum the data to daily, and
2003 May 22
1
possible dovecot problem (fwd)
I'm just forwarding this verbatim from somebody who works here.
Comments ?
mm
----- Forwarded message from Dave Chamberlain <davec at mv.mv.com> -----
> Subject: possible dovecot problem
> From: "Dave Chamberlain" <davec at mv.mv.com>
> Date: Tue, 20 May 2003 21:29:48 -0400 (EDT)
> To: mem at mv.mv.com (Mark E. Mallett)
>
> Ok, I'm kind of
2003 Apr 08
2
quotes within quotes
How does one put quotes within quotes, if it's possible?
I've tried replacing one set of the quotes by single quotes.
If it's not possible, is there any way to do the following?
> cmd <- "read.dta"
> opt <- "convert.factors=FALSE"
> data.file <- " file="/full/path/name.dta" "
> eval(call(cmd,data.file,opt))
Prior to
2003 Mar 11
0
different file types
You might look at "eval" and "parse".
Reid Huntsinger
-----Original Message-----
From: Spencer Graves [mailto:spencer.graves at pdf.com]
Sent: Tuesday, March 11, 2003 4:03 PM
To: janet rosenbaum
Cc: r-help
Subject: Re: [R] different file types
The command "'source' causes R to accept its input from the named file".
I don't know what you mean by
2010 Jan 10
2
xmlToDataFrame#Help!!!
I'm struggling with interpreting XML files created by ADODB as
data.frames and I'm looking for advice (see attached example file).
Note:
This file contains a result set which comes from a rectangular data array.
I've been trying to play with parameters to the xmlToDataFrame function
in the XML package but I dont get it to extract the data frame.
This is what the result should look