Displaying 20 results from an estimated 100 matches similar to: "Random number generation"
2024 Jul 15
1
Minor inconsistencies in tools:::funAPI()
Hi all,
I've noticed some peculiarities in the tools:::funAPI output that
complicate its programmatic use a bit.
- Is it for remapped symbol names (with Rf_ or the Fortran
underscore), or for unmapped names (without Rf_ or the underscore)?
I see that the functions marked in WRE are almost all (except
Rf_installChar and Rf_installTrChar) unmapped. This makes a lot of
sense because some
2011 Aug 17
3
getNativeSymbolInfo("user_unif_rand") returns different results on windows and linux
Hi,
When loading a package that provides the user-supplied RNG hook
user_unif_rand, calling getNativeSymbolInfo("user_unif_rand") returns
informations about the loaded symbol.
I am using this to identify which package currently provides the RNG hook.
The results are the same on windows and linux if only one library
provides the hook.
If one loads a second package that provides this
2006 Aug 31
1
Interface for package supplied random number generator
Hi,
As you probably know, there is a problem with the interface for adding uniform
random number generators in R (see by article in R News 5/2, November 2005).
There exists a mechanism called "user-supplied" that allows users of R
to run their own generator in R. However, there is no such mechanism for
package writers. Those who want to add their own generators abuse
2024 Jul 29
1
Minor inconsistencies in tools:::funAPI()
Hi Ivan
Can you please clarify what input files should be used with your
proposed function? I tried a few files in r-svn/src/include and one of
them gave me an error.
> getdecl("~/R/r-svn/src/include/R.h")
[1] "R_FlushConsole" "R_ProcessEvents" "R_WaitEvent"
> getdecl("~/R/r-svn/src/include/Rdefines.h")
Error in regmatches(lines,
2003 Sep 24
5
splitting clusters
Hi All:
I am clustering 500 genes using hclust of R. Visualizing cluster
membership becomes difficult with so many genes in each cluster...Is there
a way of printing the dendrogram in multiple pages so that I can clearly
see what is in each cluster?
Thanks in advance.
Karthi.
2005 Jun 16
3
Excel files first row not being read
hi,
i am using the RODBC package to read excel files using
odbcConnectExcel and susequently sqlFetch to read the contents of the
file.
the file that i use is just a matrix of numbers thats all. no headers
and column names. what happens is that the sqlFetch is not reading my
first row of numbers.
i have tried different combinations of colnames and rownames logical
values but that first row is not
2009 Apr 21
4
plotting with R
Friends,
i) I am new to R. Kindly suggest some resources that has examples of
plotting with R.
ii) How to set number of tick marks and labels, i have a x axis ranging fro
1 to 21. By default R shows the tick marks at 5, 10,15,20. How can i change
this.
Thanks,
Bala
[[alternative HTML version deleted]]
2003 Oct 23
3
Writing and running a R program
Is there a way I can combine multiple lines of R commands (see below) into
a little code snippet or a program in a text file, and run it in R to do my
analysis?
sink("mysink.txt")
for (......) {
code for creating a dataframe from supplied data
code for doing anova from selected data
}
Thanks very much.
Karth.
2009 May 04
3
problem with ms office
Friends,
I installed MS office 2k7 with wine 1.1.15. I am able to open the
applications and work on it. However if i try to copy a figure from
powerpoint and paste is on the word, it is not working. The reverse is also
not working.
In addition, i am not able to move the figures in the work file to the
appropriate positions. I dnt understand what is going wrong. Any suggestion
on how to resolve
2009 Dec 28
3
apply loop - using/providing a data frame to loop over
Hi,
I want to extract individual names from a single string that contains all
names. My problem is not the extraction itself, but the looping over the
extraction start and end points, which I try to realize with apply.
#Say, I have a string with names.
authors=c("Schleyer T, Spallek H, Butler BS, Subramanian S, Weiss D,
Poythress ML, Rattanathikun P, Mueller G")
#Since I only want the
2009 Apr 22
2
Exporting objects plotted with plot3d() - rgl package
Dear all,
Can anybody tell me how to export a 3d figure made with the plot3d
function? I'm careless about whether it's still interactive or not in
another format, as long I can get it out of R.
Thanks!
Alejandro Gonz?lez
Departamento de Biodiversidad y Conservaci?n
Real Jard?n Bot?nico
Consejo Superior de Investigaciones Cient?ficas
Claudio Moyano, 1
28014 Madrid, Spain
Tel +0034
2011 Jun 06
2
re-installing a software (office 2007)
Dear Friends,
I am using wine version 1.1.37 in fedora 10. I have been using ms office
2007. Suddenly word behaves in a strange way that when i open word, the
system hangs. I would like to re-install the ms office application. So i
would like to know,
How to un-install the existing version and install the ms office once again
?.
Thanks in advance,
Bala
-------------- next part --------------
An
2005 Jun 15
2
Reading Excel files...Error
hi,
i am using the RODBC package to read .xls files. now after i installed
the package and loaded the library and tried to read a file this is
the error i got.
>channel<-odbcConnect("D:/rstuff/1.xls")
Warning messages:
1: [RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver
Manager] Data source name not found and no default driver specified
2: ODBC connection failed
2011 Jan 24
2
normality and equal variance testing
I currently have a program that automates 2-way ANOVA on a series of endpoints,
but before the ANOVA is carried out I want the code to test the assumptions of
normality and equal variance and report along with each anova result in the
output file. How can I do this?
I have pasted below the code that I currently use.
library(car)
numFiles = x #
2004 Mar 18
5
Shorewall 2.0.1 Beta 1
http://shorewall.net/pub/shorewall/Beta
ftp://shorewall.net/pub/shorewall/Beta
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net
2013 Sep 24
3
Re: Hivex - Trailing garbage at the end of hive file
Is there a reason why a previous version of hivex ignored this condition
while more recent ones throw an error?
I do have some hive files that are failing (I'm yet to validate if they
are good or were corrupted some other way). I will do so and share my
findings
Thanks
~ Hari
On 9/24/13 5:20 PM, "Richard W.M. Jones" <rjones@redhat.com> wrote:
>On Tue, Sep 24, 2013 at
2005 Jan 13
2
samba3+ADS
Hi ,
I'm using RH9, and I have compiled samba 3.0.1 compiled from sources,
with the following options:
./configure --with-winbind --with-winbind-auth-challenge --with-pam \
--with-acl-support --with-ldapsam --with-pam_smbpass \
--with-ads --with-ldap --with-dce-dfs --with-smbwrapper --enable-pam
net ads join -S server.domain.com -U support
worked fine.
I started winbindd.
2008 Jun 19
3
lvm with iscsi devices on boot
Hi All,
My CentOS 5.1 server is using iSCSI attached disks connecting
to a dual controller storage array. I have also configured multipathd
to manage the multiple paths. Everything works well, and on
boot the dev nodes are automatically created in /dev/mapper.
On these devices, I have created logical volumes using lvm2.
My problem is that lvm does not recognize these iscsi/multipath
volumes on
2013 Oct 04
2
Re: Hivex - Trailing garbage at the end of hive file
(Resending since my message from 2 days ago didn't make it to the list.
Perhaps because of the log file attachment)
Hi Rich,
Sorry about the delayed response. I understand that since hive formats are
not open, the current tack of warning about the hive file is a better one
To respond to you question about "whether it fails", hivexsh is unable to
open the hive file and it prints
2013 Oct 04
2
Re: Hivex - Trailing garbage at the end of hive file
Rich,
Our workflow is something like this:
0. Start with a fresh copy of windows server 2k8
1. We read the system hive and then write to it a bunch of times
2. Boot windows
3. Read from the system hive
Hivex reports the failure at step #3. I also noticed that the size of the
registry hive observed in step #3 is the same as step #0. Is it possible
that hivex issues write that cause a hive file